:root {
  --ink: #4f4637;
  --ink-strong: #2c2821;
  --muted: #746a5d;
  --paper: #ffffff;
  --cream: #f7f6f3;
  --sand: #e4d8c7;
  --rose: #d9a69b;
  --rose-dark: #bd8175;
  --line: rgba(44, 40, 33, 0.14);
  --panel: #ffffff;
  --danger: #a33b31;
  --success: #2f7565;
  --green: #1f9d55;
  --shadow: 0 18px 48px rgba(44, 40, 33, 0.1);
}

.section.seo-content-section {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  margin-top: 0;
  margin-bottom: clamp(4px, 1vw, 10px);
  padding-right: clamp(18px, 5vw, 72px);
  padding-left: clamp(18px, 5vw, 72px);
  padding-top: clamp(4px, 0.8vw, 10px);
  padding-bottom: 0;
}

.section.seo-content-section h2 {
  max-width: none;
  margin-bottom: 6px;
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
  line-height: 1.28;
}

.section.seo-content-section p {
  max-width: none;
  color: var(--muted);
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.65;
}

.admin-subtitle {
  max-width: 760px;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.seo-admin-form {
  gap: 22px;
}

.seo-page-card {
  display: grid;
  gap: 18px;
}

.seo-page-card textarea {
  min-height: 110px;
  resize: vertical;
}

.seo-page-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  white-space: nowrap;
}

.inline-check input {
  width: 18px;
  height: 18px;
}

.inline-check span {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  padding: 16px 0 0;
  background: linear-gradient(180deg, rgba(248, 247, 244, 0), var(--page-bg) 38%);
}

* {
  box-sizing: border-box;
}

[hidden],
.admin-form .is-price-field-hidden {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Noto Sans Thai", system-ui, sans-serif;
  line-height: 1.65;
}

body.gallery-open {
  overflow: hidden;
}

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

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(44, 40, 33, 0.04);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo {
  display: grid;
  width: 46px;
  height: 42px;
  place-items: center;
  background: var(--rose);
  clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%);
}

.brand-image {
  width: 78px;
  height: 70px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
}

.brand-image.large {
  width: 104px;
  height: 96px;
}

.site-header .brand-image,
.admin-brand .brand-image,
.footer-brand-row .brand-image {
  background: transparent;
}

.site-header .brand-image {
  width: 78px;
  height: 70px;
}

.brand-logo span {
  width: 19px;
  height: 26px;
  border: 5px solid #fff;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  transform: rotate(36deg);
}

.brand-logo.large {
  width: 82px;
  height: 76px;
}

.brand-logo.large span {
  width: 33px;
  height: 43px;
  border-width: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: #171717;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  margin-left: clamp(24px, 3vw, 48px);
  margin-right: auto;
  color: var(--muted);
  font-family: inherit;
  font-weight: 800;
}

.site-header nav a:hover {
  color: var(--ink-strong);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-social {
  display: inline-flex !important;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(44, 40, 33, 0.13);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(44, 40, 33, 0.18);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-facebook {
  background: #1877f2;
}

.social-line {
  background: #06c755;
}

.language-switch {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  overflow: visible;
  z-index: 25;
}

.language-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 74px;
  min-height: 40px;
  padding: 7px 13px;
  color: var(--ink-strong);
  background: oklch(0.96 0.018 72);
  border: 1px solid oklch(0.86 0.032 58);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(114, 92, 62, 0.1);
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.language-current i {
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.72;
  transform: translateY(1px);
}

.language-switch:hover .language-current,
.language-switch:focus-within .language-current {
  background: #fff;
  border-color: oklch(0.78 0.038 55);
  box-shadow: 0 14px 28px rgba(114, 92, 62, 0.14);
  transform: translateY(-1px);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 96px;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  background: #fff;
  border: 1px solid oklch(0.88 0.018 65);
  border-radius: 12px;
  box-shadow: 0 18px 34px rgba(44, 40, 33, 0.16);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.language-switch:hover .language-menu,
.language-switch:focus-within .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.language-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--muted);
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.language-menu a:hover,
.language-menu a.is-active {
  color: var(--ink-strong);
  background: oklch(0.96 0.018 72);
}
.button,
.header-action,
.search-panel button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 900;
}

.primary,
.header-action,
.search-panel button {
  color: #fff;
  background: var(--ink-strong);
  box-shadow: 0 12px 24px rgba(44, 40, 33, 0.18);
}
.site-header .header-action {
  min-height: 42px;
  gap: 9px;
  padding: 8px 15px 8px 10px;
  color: var(--ink-strong);
  background: #fff;
  border: 1px solid oklch(0.88 0.018 65);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(44, 40, 33, 0.1);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-header .header-action::before {
  content: "\260E";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--ink-strong);
  background: var(--sand);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.site-header .header-action:hover {
  color: var(--ink-strong);
  transform: translateY(-1px);
  border-color: oklch(0.78 0.038 55);
  box-shadow: 0 14px 28px rgba(44, 40, 33, 0.14);
}

.secondary {
  color: var(--ink-strong);
  background: var(--sand);
}

.ghost {
  color: var(--ink-strong);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  padding: clamp(18px, 3vw, 34px) clamp(18px, 5vw, 72px) 46px;
  background: linear-gradient(180deg, #fff 0%, #faf9f6 100%);
}

.hero-cover {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 2.68 / 1;
  background: #f1f0ec;
  box-shadow: var(--shadow);
}

.hero-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(360px, 1.38fr);
  gap: 22px;
  align-items: end;
  max-width: 1280px;
  margin: 22px auto 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.hero-panel h2 {
  max-width: 560px;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.28;
}

.hero-panel p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--ink-strong);
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  color: var(--ink-strong);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  color: var(--ink-strong);
  font-size: 21px;
  line-height: 1.35;
}

.search-panel,
.filter-card form,
.contact-box form,
.admin-form {
  display: grid;
  gap: 12px;
}

.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.search-panel {
  grid-template-columns: 1fr 1.35fr 1fr auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(44, 40, 33, 0.06);
}

.category-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 265px));
  justify-content: center;
  gap: 11px 24px;
  max-width: 1180px;
  margin: 14px auto 0;
  padding: clamp(8px, 1.6vw, 14px) 0 0;
}

.category-menu-item {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 48px;
  padding: 8px 44px;
  border: 1px solid rgba(44, 40, 33, 0.08);
  border-radius: 999px;
  color: #333044;
  background: #fff;
  box-shadow: 0 12px 28px rgba(44, 40, 33, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.category-menu-item:hover {
  border-color: color-mix(in srgb, var(--category-color), #fff 30%);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(44, 40, 33, 0.12);
}

.category-menu-item strong {
  display: block;
  width: 100%;
  font-size: clamp(15px, 1.05vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.category-menu-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: color-mix(in srgb, var(--category-color), #14765f 18%);
  background: color-mix(in srgb, var(--category-color), #fff 78%);
  transform: translateY(-50%);
}

.category-menu-icon svg {
  width: 16px;
  height: 16px;
}

label {
  display: grid;
  gap: 6px;
}

label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  padding: 9px 12px;
}

input[type="color"] {
  padding: 4px;
}

.location-autocomplete {
  position: relative;
}

.location-autocomplete input[type="text"] {
  padding-right: 42px;
}

.location-autocomplete::after {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  content: "";
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.location-popup {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.location-autocomplete.is-open .location-popup {
  display: block;
}

.location-popup button {
  display: grid;
  width: 100%;
  gap: 4px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
}

.location-popup button:hover,
.location-popup button.is-active {
  background: var(--cream);
}

.location-popup button[hidden] {
  display: none;
}

.location-popup strong {
  color: var(--ink-strong);
  font-size: 16px;
}

.location-popup span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

textarea {
  resize: vertical;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-strip div {
  padding: 24px clamp(16px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  color: var(--ink-strong);
  font-size: clamp(26px, 3vw, 42px);
}

.trust-strip span,
.property-meta,
.property-facts li,
.service-grid p,
.page-hero p,
.detail-summary p,
.contact-info p {
  color: var(--muted);
}

.section,
.page-hero,
.detail-hero,
.thumb-grid {
  padding: clamp(54px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.page-hero {
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.contact-hero,
.listing-hero {
  padding-top: clamp(10px, 1.4vw, 18px);
  padding-bottom: clamp(10px, 1.4vw, 18px);
}

.contact-hero .eyebrow,
.listing-hero .eyebrow {
  margin-bottom: 4px;
}

.contact-hero h1,
.listing-hero h1 {
  max-width: 980px;
  margin: 0 0 8px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1;
}

.contact-hero p:last-child,
.listing-hero p:last-child {
  margin-bottom: 0;
}

.contact-form-section {
  padding-top: clamp(6px, 1vw, 12px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.row-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.text-link {
  align-self: end;
  color: var(--rose-dark);
  font-weight: 900;
}

.text-link:hover {
  color: var(--ink-strong);
}

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

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

.category-showcase + .category-showcase {
  padding-top: 0;
}

.home-recommended-section + .category-showcase {
  padding-top: clamp(14px, 2vw, 26px);
}

.section-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-title-row span {
  padding: 6px 12px;
  border-radius: 999px;
  color: #136d42;
  background: #dcf8e9;
  font-weight: 900;
}

.property-card,
.service-grid article,
.filter-card,
.contact-box,
.contact-info,
.admin-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(44, 40, 33, 0.07);
}

.property-card {
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.property-card:hover {
  border-color: rgba(189, 129, 117, 0.38);
  box-shadow: 0 18px 42px rgba(44, 40, 33, 0.11);
  transform: translateY(-2px);
}

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

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-category-badge,
.status-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(90, 74, 48, 0.82);
  font-size: 12px;
  font-weight: 900;
}


.property-closed-badge {
  position: absolute;
  top: auto;
  left: auto;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: #2c2821;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 34px rgba(44, 40, 33, 0.26);
}

.property-closed-badge.is-sold {
  background: #a33b31;
}

.property-closed-badge.is-rented {
  background: #1f7565;
}

.is-closed-property .property-image img {
  filter: saturate(0.8) brightness(0.82);
}

.property-published-date {
  margin-bottom: 6px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 800;
}

.detail-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-status-row .status-chip {
  margin: 0;
}

.detail-published-date {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.property-card-status.is-closed {
  color: #a33b31;
  font-weight: 900;
}
.property-body {
  padding: 22px;
}

.property-price,
.detail-price {
  margin: 12px 0;
  color: var(--rose-dark);
  font-size: 22px;
  font-weight: 900;
}

.admin-price {
  color: var(--rose-dark);
  font-weight: 900;
}

.property-price-line {
  display: block;
  line-height: 1.25;
}

.property-price-line.is-original {
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.78;
}

.property-price-line.is-discount {
  color: #9a2d25;
}

.property-price-line.is-rent {
  margin-top: 3px;
  font-size: 0.78em;
  color: var(--muted);
}

.detail-price .property-price-line.is-rent {
  font-size: 0.72em;
}

.admin-price .property-price-line.is-rent {
  font-size: 0.82em;
}

.admin-price .property-price-line.is-original {
  font-size: 0.78em;
}

.property-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.property-facts li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.card-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  font-size: 13px;
  font-weight: 900;
}

.warm-band {
  background: #f6f2ec;
}

.service-grid article,
.contact-box,
.contact-info,
.filter-card,
.admin-card {
  padding: 24px;
}

.service-grid article > span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
}

.cta-section {
  padding-top: 40px;
  background: linear-gradient(180deg, #f6f2ec 0%, #fff 100%);
}

.cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(44, 40, 33, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cta-card::before {
  position: absolute;
  top: 0;
  left: clamp(24px, 4vw, 42px);
  display: block;
  width: 52px;
  height: 4px;
  content: "";
  border-radius: 999px;
  background: var(--rose-dark);
}

.cta-copy {
  max-width: 760px;
}

.cta-copy h2 {
  margin: 6px 0 10px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.16;
}

.cta-copy p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cta-actions .cta-social-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  box-shadow: 0 14px 28px rgba(44, 40, 33, 0.14);
}

.cta-actions .cta-social-icon svg {
  width: 27px;
  height: 27px;
}

.recommended-section {
  padding-top: 18px;
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}

.recommended-heading {
  align-items: flex-end;
  margin-bottom: 20px;
}

.recommended-heading h2 {
  margin-bottom: 6px;
}

.recommended-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.section-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.carousel-actions {
  display: inline-flex;
  gap: 8px;
}

.carousel-actions button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-strong);
  background: #fff;
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(44, 40, 33, 0.08);
}

.carousel-actions button:hover {
  border-color: rgba(189, 129, 117, 0.5);
  color: var(--rose-dark);
}

.related-carousel {
  overflow: hidden;
}

.related-track {
  display: grid;
  grid-auto-columns: calc((100% - 54px) / 4);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.related-track::-webkit-scrollbar {
  display: none;
}

.related-track .property-card {
  min-width: 0;
  scroll-snap-align: start;
}

.line-button {
  color: #fff;
  background: #1f9d55;
}

.facebook-button {
  color: #fff;
  background: #1877f2;
}

.line-button:hover,
.facebook-button:hover {
  color: #fff;
}

.listing-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  align-items: start;
}

.property-listing-section {
  padding-top: clamp(6px, 1vw, 12px);
}

.section.seo-content-section + .property-listing-section,
.section.seo-content-section + .contact-form-section {
  padding-top: clamp(4px, 0.8vw, 10px);
}

.filter-card {
  position: sticky;
  top: 96px;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-bar {
  margin-bottom: 18px;
  color: var(--muted);
  font-weight: 900;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: center;
}

.gallery-main img,
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.gallery-main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: var(--cream);
  border: 0;
  border-radius: 8px;
  cursor: zoom-in;
}

.gallery-main img {
  transition: transform 360ms ease;
}

.gallery-main:hover img {
  transform: scale(1.025);
}

.gallery-view-all {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 18px;
  color: var(--ink-strong);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(44, 40, 33, 0.16);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(44, 40, 33, 0.18);
}

.detail-summary {
  position: relative;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-summary h1 {
  max-width: 20ch;
  font-size: 42px;
  line-height: 1.14;
}

.status-chip {
  position: static;
  display: inline-flex;
  margin-bottom: 12px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.detail-actions .detail-social-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  box-shadow: 0 14px 28px rgba(44, 40, 33, 0.14);
}

.detail-actions .detail-social-icon svg {
  width: 27px;
  height: 27px;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 160px));
  gap: 10px;
  justify-content: start;
  padding-top: 10px;
  padding-bottom: 18px;
}

.gallery-thumb {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  border: 0;
  border-radius: 8px;
  cursor: zoom-in;
}

.gallery-thumb img {
  transition: transform 320ms ease, filter 320ms ease;
}

.gallery-thumb:hover img {
  transform: scale(1.04);
}

.gallery-thumb span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 11px;
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(44, 40, 33, 0.18);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(44, 40, 33, 0.16);
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 22px clamp(16px, 3vw, 38px);
  color: #fbfaf7;
  background: rgba(20, 18, 15, 0.96);
}

.gallery-lightbox-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.gallery-lightbox-top strong,
.gallery-lightbox-top span {
  display: block;
}

.gallery-lightbox-top strong {
  max-width: min(760px, 68vw);
  overflow: hidden;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-lightbox-top span {
  color: rgba(251, 250, 247, 0.68);
  font-weight: 800;
}

.gallery-lightbox-top button,
.gallery-lightbox-nav {
  color: #fbfaf7;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.gallery-lightbox-top button {
  min-width: 78px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 900;
}

.gallery-lightbox-frame {
  display: grid;
  min-height: 0;
  margin: 0;
  place-items: center;
}

.gallery-lightbox-frame img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  border-radius: 8px;
}

.gallery-lightbox-nav {
  position: fixed;
  top: 50%;
  z-index: 101;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  font-size: 44px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-lightbox-nav.prev {
  left: clamp(14px, 2vw, 28px);
}

.gallery-lightbox-nav.next {
  right: clamp(14px, 2vw, 28px);
}

.gallery-lightbox-thumbs {
  display: flex;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  padding-bottom: 3px;
}

.gallery-lightbox-thumbs button {
  flex: 0 0 92px;
  height: 68px;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.66;
}

.gallery-lightbox-thumbs button.is-active {
  border-color: #fbfaf7;
  opacity: 1;
}

.gallery-lightbox-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.detail-layout {
  padding-top: clamp(22px, 3vw, 36px);
}

.detail-content {
  font-size: 18px;
}

.property-map-block,
.property-description-block {
  margin-top: 34px;
}

.property-map-block h2,
.property-description-block h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 3vw, 34px);
  text-align: center;
}

.property-description-block h2 {
  color: var(--muted);
  text-align: left;
}

.map-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  aspect-ratio: 16 / 5;
  background: var(--cream);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-frame a {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(44, 40, 33, 0.16);
  font-weight: 900;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  background: #111;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.tiktok-frame {
  overflow: hidden;
  width: min(100%, 430px);
  min-height: 620px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111;
}

.tiktok-frame iframe {
  width: 100%;
  height: 620px;
  border: 0;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.fact-grid div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.fact-grid strong,
.fact-grid span {
  display: block;
}

.fact-grid strong {
  color: var(--ink-strong);
  font-size: 24px;
}

.property-detail-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px 0 34px;
}

.property-detail-facts div {
  min-height: 108px;
  display: grid;
  align-content: center;
  box-shadow: 0 12px 28px rgba(44, 40, 33, 0.06);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-header {
  display: block;
}

.contact-info-header .eyebrow {
  margin-bottom: 4px;
}

.contact-info-header h2 {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.15;
  white-space: nowrap;
}



.contact-address {
  margin: 0;
  line-height: 1.75;
}

.contact-contact-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.contact-links {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.contact-phone-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 16px 8px 10px;
  border: 1px solid oklch(0.84 0.025 62);
  border-radius: 999px;
  color: var(--ink-strong);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(44, 40, 33, 0.1);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-phone-link::before {
  content: "\260E";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--ink-strong);
  background: #e5dccd;
  font-size: 15px;
  line-height: 1;
}

.contact-phone-link:hover {
  color: var(--ink-strong);
  transform: translateY(-1px);
  border-color: oklch(0.78 0.038 55);
  box-shadow: 0 14px 28px rgba(44, 40, 33, 0.14);
}

.contact-phone-trigger {
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  white-space: nowrap;
}

.contact-phone-trigger > i {
  width: 7px;
  height: 7px;
  margin: 0 2px 4px 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease, margin 0.18s ease;
}

.contact-phone-choice.is-open .contact-phone-trigger > i {
  margin-top: 5px;
  margin-bottom: 0;
  transform: rotate(225deg);
}

.contact-phone-choice .contact-phone-menu {
  right: auto;
  left: 0;
  min-width: 220px;
}

.contact-phone-menu small {
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 680px) {
  body:not(.admin-body) .contact-phone-choice .contact-phone-menu {
    right: auto;
    left: 0;
    transform: translateY(-4px);
  }

  body:not(.admin-body) .contact-phone-choice.is-open .contact-phone-menu {
    transform: translateY(0);
  }
}

.contact-socials {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.contact-socials .contact-social-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  box-shadow: 0 14px 28px rgba(44, 40, 33, 0.14);
}

.contact-socials .contact-social-icon svg {
  width: 23px;
  height: 23px;
}

.notice {
  padding: 12px 14px;
  border-radius: 6px;
  font-weight: 800;
}

.success {
  color: #fff;
  background: var(--success);
}

.error {
  color: #fff;
  background: var(--danger);
}

.site-footer {
  padding: 42px clamp(18px, 5vw, 72px) 26px;
  color: var(--muted);
  background: #f8f7f4;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 1fr));
  gap: 28px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 0;
}

.footer-brand-row .brand-image {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(242, 165, 30, 0.34);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  object-fit: contain;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--ink-strong);
  font-size: 17px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-weight: 800;
}

.site-footer a.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.site-footer a:hover {
  color: var(--rose-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.login-card {
  width: min(480px, 100%);
  display: grid;
  gap: 16px;
  justify-items: stretch;
  padding: 34px 38px 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

body.login-page .login-card .brand-image.large {
  justify-self: center;
  width: 150px;
  height: 118px;
  margin: 0 auto 2px;
  object-fit: contain;
}

body.login-page .login-card h1 {
  width: 100%;
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(24px, 5vw, 32px);
  line-height: 1.15;
  letter-spacing: 0.025em;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.login-page .login-card > p {
  width: 100%;
  margin: 8px 0 10px;
  text-align: center;
}

body.login-page .login-card > label,
body.login-page .login-card > label input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.login-page .login-card > label input {
  min-height: 50px;
}

body.login-page .login-card > button {
  justify-self: center;
  min-width: 170px;
  margin-top: 4px;
}

@media (max-width: 520px) {
  .login-page {
    padding: 14px;
  }

  .login-card {
    padding: 26px 20px 30px;
  }

  body.login-page .login-card .brand-image.large {
    width: 132px;
    height: 104px;
  }

  body.login-page .login-card h1 {
    font-size: clamp(21px, 7vw, 27px);
  }
}

.admin-body {
  display: grid;
  grid-template-columns: 286px 1fr;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, oklch(0.96 0.018 55) 0, transparent 34vw),
    linear-gradient(180deg, oklch(0.985 0.006 74), oklch(0.955 0.008 74));
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 24px 18px;
  color: var(--ink);
  background: oklch(0.99 0.004 74 / 0.92);
  border-right: 1px solid oklch(0.87 0.014 74);
  box-shadow: 18px 0 44px rgba(44, 40, 33, 0.06);
  backdrop-filter: blur(10px);
}

.admin-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  margin-top: 32px;
  flex: 1;
}

.admin-sidebar a,
.admin-nav a {
  text-decoration: none;
}

.admin-nav a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.admin-nav a:hover {
  color: var(--ink-strong);
  background: oklch(0.965 0.01 74);
  border-color: oklch(0.88 0.014 74);
}

.admin-nav a.is-active {
  color: var(--ink-strong);
  background: oklch(0.93 0.028 52);
  border-color: oklch(0.84 0.04 45);
  box-shadow: 0 10px 24px rgba(114, 92, 62, 0.12);
}

.admin-nav a:nth-last-child(1) {
  margin-top: 16px;
}

.admin-nav-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  color: var(--muted);
  background: oklch(0.965 0.008 74);
}

.admin-nav a:hover .admin-nav-icon,
.admin-nav a.is-active .admin-nav-icon {
  color: var(--ink-strong);
  background: oklch(0.99 0.004 74);
}

.admin-nav-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-brand strong {
  color: var(--ink-strong);
  font-size: 17px;
  line-height: 1.1;
}

.admin-brand small {
  color: var(--muted);
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-brand .brand-image {
  background: transparent;
}

.admin-user-panel {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid oklch(0.87 0.014 74);
  border-radius: 8px;
  background: linear-gradient(180deg, oklch(0.995 0.003 74), oklch(0.965 0.01 74));
  box-shadow: 0 12px 28px rgba(44, 40, 33, 0.08);
}

.admin-user-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--ink-strong);
  background: oklch(0.91 0.035 45);
  font-weight: 900;
  text-transform: uppercase;
}

.admin-user-meta {
  min-width: 0;
}

.admin-user-meta span,
.admin-user-meta small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.admin-user-meta span {
  margin-bottom: 2px;
}

.admin-user-meta strong {
  display: block;
  overflow: hidden;
  color: var(--ink-strong);
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-main {
  padding: 34px 38px 52px;
}

.admin-card {
  border-color: oklch(0.87 0.014 74);
  background: oklch(0.995 0.003 74);
  box-shadow: 0 16px 42px rgba(44, 40, 33, 0.07);
}

.admin-main label > span {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

.admin-main label small {
  display: block;
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.45;
}

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

.admin-topbar .eyebrow {
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.admin-topbar h1 {
  max-width: 20ch;
  margin: 0;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.admin-stats div {
  padding: 22px;
  border: 1px solid oklch(0.87 0.014 74);
  border-radius: 8px;
  background: oklch(0.995 0.003 74);
  box-shadow: 0 14px 34px rgba(44, 40, 33, 0.06);
}

.admin-stats strong,
.admin-stats span {
  display: block;
}

.admin-stats strong {
  color: var(--rose-dark);
  font-size: 34px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: oklch(0.995 0.003 74);
}

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

th {
  color: var(--muted);
  background: oklch(0.975 0.006 74);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
}

tbody tr {
  transition: background 160ms ease;
}

tbody tr:hover {
  background: oklch(0.975 0.009 74);
}

.admin-thumb {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-category-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: color-mix(in srgb, var(--category-color), #14765f 18%);
  background: color-mix(in srgb, var(--category-color), #fff 78%);
}

.admin-category-icon svg {
  width: 22px;
  height: 22px;
}

.actions-column,
.actions-cell {
  width: 1%;
  min-width: 136px;
  text-align: right;
  white-space: nowrap;
}

.deal-type-column {
  min-width: 96px;
  white-space: nowrap;
}

.status-text {
  font-weight: 400;
}

.status-text.is-closed {
  color: var(--green);
}

.actions-cell {
  vertical-align: middle;
}

.table-actions,
.quick-status-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.table-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.quick-status-actions {
  flex-wrap: wrap;
  margin-top: 6px;
  justify-content: flex-end;
}

.mini-action,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.mini-action {
  padding: 6px 10px;
  border: 1px solid transparent;
  color: var(--rose-dark);
  background: #fff;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
  font-weight: 900;
  text-decoration: none;
}

.mini-action:hover {
  border-color: var(--rose-dark);
  background: #fff7f5;
}

.mini-action.danger {
  color: var(--danger);
}

.related-property-link {
  color: var(--rose-dark);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.related-property-link:hover {
  color: var(--danger);
}

.table-text-clamp {
  display: -webkit-box;
  max-width: 420px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}

.property-title-clamp {
  max-width: 220px;
  -webkit-line-clamp: 3;
}

.message-clamp {
  min-width: 0;
}

.leads-table {
  table-layout: fixed;
  min-width: 960px;
}

.leads-table th:nth-child(1),
.leads-table td:nth-child(1) {
  width: 150px;
}

.leads-table th:nth-child(2),
.leads-table td:nth-child(2),
.leads-table th:nth-child(3),
.leads-table td:nth-child(3) {
  width: 96px;
}

.leads-table th:nth-child(4),
.leads-table td:nth-child(4) {
  display: none;
}

.leads-table th:nth-child(5),
.leads-table td:nth-child(5) {
  width: 240px;
}

.leads-table th:nth-child(6),
.leads-table td:nth-child(6) {
  width: 92px;
}

.leads-table th:nth-child(7),
.leads-table td:nth-child(7) {
  width: 132px;
}

.leads-table th:nth-child(8),
.leads-table td:nth-child(8) {
  width: 78px;
}

.leads-table .table-text-clamp {
  max-width: 100%;
}


.table-actions form,
.quick-status-actions form {
  margin: 0;
}

.status-pill {
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.status-pill:hover {
  border-color: var(--rose-dark);
  color: var(--rose-dark);
}

.status-pill.sold {
  border-color: var(--line);
  background: #fff;
}

.status-pill.rented {
  border-color: var(--line);
  background: #fff;
}

.status-pill.available {
  border-color: #d8d3c8;
  background: #f8f6f1;
}

.status-pill.is-active {
  border-color: #9bd8b6;
  color: var(--green);
  background: #f2fbf6;
  box-shadow: 0 6px 14px rgba(31, 157, 85, 0.12);
}

.status-pill:disabled {
  border-color: var(--line);
  color: #aaa199;
  background: #f3f1ee;
  cursor: not-allowed;
  opacity: 0.65;
}

.inline-form {
  margin: 0;
}

.inline-form select {
  min-height: 38px;
  padding: 6px 10px;
}

.admin-search-card {
  margin-bottom: 18px;
}

.admin-search-form {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

.admin-search-actions {
  display: flex;
  gap: 10px;
}

.leads-search-form {
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
}

.admin-table-heading {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
}

.latest-leads-table th:nth-last-child(2),
.latest-leads-table td:nth-last-child(2) {
  width: 172px;
  white-space: nowrap;
}

.latest-leads-table .table-property-cell {
  max-width: 280px;
}

.latest-leads-table .property-title-clamp {
  max-width: 280px;
}

.latest-leads-table .actions-column,
.latest-leads-table .actions-cell {
  width: 64px;
  min-width: 64px;
  padding-left: 4px;
  text-align: left;
}

.latest-leads-table .table-actions {
  justify-content: flex-start;
}

.empty-cell {
  padding: 30px 12px;
  color: var(--muted);
  text-align: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  font-weight: 900;
}

.pagination span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--muted);
  font-weight: 900;
}

.pagination a:hover {
  border-color: var(--rose-dark);
  color: var(--rose-dark);
}

.pagination .is-active {
  border-color: var(--ink);
  color: #fff;
  background: var(--ink);
}

.pagination .is-disabled {
  color: #aaa199;
  background: #f4f2ee;
  pointer-events: none;
}

.lead-detail-card {
  max-width: 980px;
}

.lead-detail-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
  min-width: 0;
}

.lead-detail-header h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.lead-status-panel {
  display: grid;
  gap: 10px;
  justify-items: end;
  min-width: 230px;
}

.lead-status-panel .status-chip {
  margin-bottom: 0;
}

.lead-status-form {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
}

.lead-status-form label {
  display: grid;
  gap: 6px;
}

.lead-status-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lead-status-form select {
  min-width: 150px;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

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

.lead-detail-grid > div {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.lead-detail-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.lead-detail-grid strong {
  display: block;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.lead-detail-grid p {
  margin: 0;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

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

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

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.checkbox input {
  width: auto;
  min-height: auto;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}

.field-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.price-field-help {
  margin-top: -2px;
  margin-bottom: 4px;
}

.admin-form [data-sale-price-field],
.admin-form [data-original-price-field],
.admin-form [data-rent-price-field] {
  align-self: start;
}

.password-fieldset {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.password-help-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: 22px;
}

.password-help-row small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.password-match-message {
  text-align: right;
}

.password-match-message.is-error {
  color: var(--danger);
}

.password-match-message.is-success {
  color: #15803d;
}

.password-fieldset input.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(200, 64, 49, 0.12);
}

.password-fieldset input.is-success {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.upload-field-row {
  display: grid;
  gap: 8px;
}

.admin-form label:has(> span:only-child) {
  display: none;
}

.admin-preview-image {
  width: 128px;
  height: 128px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.admin-preview-image.qr-preview {
  object-fit: cover;
}

.admin-preview-image.hero-preview {
  width: min(100%, 720px);
  height: auto;
  aspect-ratio: 2048 / 760;
  object-fit: cover;
  padding: 0;
}

.footer-qr {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px;
}

.contact-qr {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.upload-dropzone {
  position: relative;
  display: grid;
  min-height: 150px;
  place-items: center;
  gap: 8px;
  padding: 26px;
  border: 2px dashed rgba(44, 40, 33, 0.18);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfaf8;
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragging {
  border-color: var(--rose-dark);
  background: #fff7f5;
  box-shadow: 0 14px 32px rgba(44, 40, 33, 0.08);
}

.upload-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-dropzone span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.upload-dropzone strong {
  color: var(--ink-strong);
  font-size: 24px;
  line-height: 1.25;
}

.upload-dropzone small {
  color: var(--muted);
}

.upload-file-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.upload-file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.upload-file-chips span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  background: #f4f1ec;
  font-size: 13px;
}

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

.admin-card-heading h2 {
  margin: 0;
}

.admin-card-heading span {
  color: var(--muted);
  font-weight: 900;
}

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

.image-admin-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.image-admin-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-admin-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 900;
}

.cover-badge,
.cover-action {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
}

.home-image-section {
  padding-top: clamp(22px, 3vw, 36px);
  background: linear-gradient(180deg, #f6f2ec 0%, #fff 100%);
}

.home-image-slider {
  position: relative;
  overflow: hidden;
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid rgba(44, 40, 33, 0.12);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(44, 40, 33, 0.1);
}

.home-image-track {
  display: flex;
  transition: transform 420ms ease;
  will-change: transform;
}

.home-image-slide {
  flex: 0 0 100%;
  margin: 0;
}

.home-image-slide img {
  display: block;
  width: 100%;
  height: clamp(200px, 24vw, 340px);
  object-fit: cover;
}

.home-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(44, 40, 33, 0.14);
  border-radius: 999px;
  color: var(--ink-strong);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(44, 40, 33, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
}

.home-slider-arrow.is-prev {
  left: 18px;
}

.home-slider-arrow.is-next {
  right: 18px;
}

.home-slider-dots {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.home-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
}

.home-slider-dots button.is-active {
  width: 26px;
  background: var(--rose-dark);
}

.home-services-section {
  padding-top: clamp(10px, 1.4vw, 16px);
  padding-bottom: clamp(26px, 4vw, 44px);
  background: #fff;
}

.home-services-heading {
  max-width: 1280px;
  margin-right: auto;
  margin-bottom: 14px;
  margin-left: auto;
}

.home-services-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.18;
}

.home-services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.home-service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: 124px;
  align-items: flex-end;
  padding: 14px;
  border: 1px solid rgba(44, 40, 33, 0.12);
  border-radius: 8px;
  background: var(--ink-strong);
  box-shadow: 0 12px 28px rgba(44, 40, 33, 0.1);
}

.home-service-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(22, 18, 13, 0.06) 0%, rgba(22, 18, 13, 0.7) 100%),
    linear-gradient(90deg, rgba(22, 18, 13, 0.32) 0%, rgba(22, 18, 13, 0) 58%);
}

.home-service-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.home-service-card span {
  color: #fff;
  font-size: clamp(15px, 1.25vw, 20px);
  font-weight: 900;
  line-height: 1.24;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.home-service-card:hover img {
  transform: scale(1.05);
}

.cover-badge {
  color: #fff;
  background: var(--green);
}

.cover-action {
  color: var(--rose-dark);
  background: #fff1ec;
}

.image-admin-grid a {
  color: var(--danger);
  font-weight: 900;
}

.homepage-image-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.homepage-image-admin-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.homepage-image-admin-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.homepage-image-controls {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.homepage-image-controls label:not(.inline-check) span {
  margin-bottom: 5px;
  font-size: 13px;
}

.homepage-image-controls input[type="number"] {
  min-height: 42px;
}

.homepage-image-controls .mini-action {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: #fff5f3;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .header-tools {
    gap: 8px;
  }

  .header-action {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .language-current {
    min-width: 36px;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .header-social {
    gap: 7px;
  }

  .header-social .social-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .header-social .social-icon svg {
    width: 18px;
    height: 18px;
  }

  .search-panel,
  .admin-search-form,
  .hero-panel,
  .category-menu,
  .listing-layout,
  .detail-layout,
  .contact-layout,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .filter-card {
    position: static;
  }

  .property-grid,
  .home-card-grid,
  .service-grid,
  .home-services-grid,
  .admin-stats,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .category-menu {
    gap: 12px;
  }

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

  .cta-actions {
    justify-content: flex-start;
  }

  .recommended-heading {
    align-items: flex-start;
  }

  .section-heading-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px 16px;
  }

  .site-header .brand {
    display: inline-flex;
    grid-column: 1;
    grid-row: 1;
    align-items: center;
    gap: 8px;
    min-width: 0;
    width: auto;
  }

  .site-header .brand-image {
    flex: 0 0 auto;
    width: 50px;
    height: 45px;
  }

  .site-header .brand span {
    min-width: 0;
  }

  .site-header .brand strong {
    font-size: 20px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .site-header .brand small {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.15;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 18px;
  }

  .header-action {
    display: none;
  }

  .header-tools {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
    gap: 8px;
  }

  .header-social {
    gap: 7px;
  }

  .social-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .social-icon svg {
    width: 19px;
    height: 19px;
  }
  .hero {
    padding: 14px 14px 34px;
  }

  .hero-cover {
    aspect-ratio: 2.2 / 1;
  }

  .hero-panel {
    margin: 14px 0 0;
  }

  h1 {
    font-size: 38px;
  }

  .admin-topbar h1 {
    max-width: none;
    font-size: 32px;
    line-height: 1.12;
  }

  .detail-summary h1 {
    max-width: none;
    font-size: 30px;
    line-height: 1.18;
  }

  .lead-detail-header,
  .lead-status-form {
    align-items: stretch;
    flex-direction: column;
  }

  .lead-status-panel {
    justify-items: start;
    min-width: 0;
    width: 100%;
  }

  .lead-status-form {
    width: 100%;
  }

  .lead-status-form label,
  .lead-status-form select,
  .lead-status-form button {
    width: 100%;
  }

  .hero-panel h2 {
    font-size: 22px;
  }

  .trust-strip,
  .property-grid,
  .home-card-grid,
  .service-grid,
  .footer-grid,
  .fact-grid,
  .thumb-grid,
  .admin-stats,
  .form-grid,
  .lead-detail-grid,
  .image-admin-grid,
  .homepage-image-admin-grid,
  .category-menu {
    grid-template-columns: 1fr;
  }

  .related-track {
    grid-auto-columns: minmax(260px, 86%);
  }

  .home-slider-arrow {
    width: 36px;
    height: 36px;
  }

  .home-slider-arrow.is-prev {
    left: 10px;
  }

  .home-slider-arrow.is-next {
    right: 10px;
  }

  .home-image-slide img {
    height: clamp(160px, 42vw, 220px);
  }

  .home-services-section {
    overflow: hidden;
  }

  .home-services-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    max-width: none;
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px 6px;
    scroll-snap-type: x mandatory;
  }

  .home-service-card {
    flex: 0 0 72%;
    min-height: 132px;
    scroll-snap-align: start;
  }

  .carousel-actions button {
    width: 40px;
    height: 40px;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .span-2 {
    grid-column: auto;
  }

  .password-field-grid {
    grid-template-columns: 1fr;
  }

  .password-help-row {
    flex-direction: column;
  }

  .password-match-message {
    text-align: left;
  }

  .pagination {
    justify-content: flex-start;
  }

  .button,
  .search-panel button {
    width: 100%;
  }

  .cta-actions {
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .cta-actions .button.primary {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 46px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .cta-actions .cta-social-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .cta-actions .cta-social-icon svg {
    width: 21px;
    height: 21px;
  }

  .cta-actions .button.ghost {
    flex: 0 0 100%;
    width: 100%;
  }

  .footer-bottom {
    display: grid;
  }

  .map-frame {
    aspect-ratio: 4 / 3;
  }

  .gallery-view-all {
    right: 12px;
    bottom: 12px;
    min-height: 42px;
    padding: 8px 13px;
    font-size: 14px;
  }

  .thumb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 14px;
  }

  .detail-actions .detail-social-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .detail-actions .detail-social-icon svg {
    width: 23px;
    height: 23px;
  }



  .contact-socials .contact-social-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .contact-socials .contact-social-icon svg {
    width: 23px;
    height: 23px;
  }

  .gallery-thumb span {
    right: 8px;
    bottom: 8px;
    padding: 5px 9px;
    font-size: 13px;
  }

  .gallery-lightbox {
    gap: 12px;
    padding: 14px;
  }

  .gallery-lightbox-top {
    align-items: flex-start;
  }

  .gallery-lightbox-top strong {
    max-width: 58vw;
    font-size: 18px;
  }

  .gallery-lightbox-frame img {
    max-height: calc(100vh - 170px);
  }

  .gallery-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }

  .gallery-lightbox-thumbs button {
    flex-basis: 74px;
    height: 54px;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid oklch(0.87 0.014 74);
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    flex: none;
  }

  .admin-nav a {
    min-height: 42px;
  }

  .admin-nav a:nth-last-child(1) {
    margin-top: 0;
  }

  .admin-user-panel {
    margin-top: 14px;
  }

  .admin-main {
    padding: 22px 16px 34px;
  }

  .admin-topbar,
  .row-heading,
  .form-actions,
  .admin-search-actions {
    display: grid;
  }
}

.property-action-menu {
  position: relative;
  display: inline-block;
  min-width: 116px;
  text-align: left;
}

.property-action-menu[open] {
  z-index: 40;
}

.property-action-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 104px;
  min-height: 40px;
  padding: 8px 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  list-style: none;
  cursor: pointer;
  border: 1px solid #eadbd2;
  border-radius: 10px;
  background: #f8ede7;
  box-shadow: 0 10px 22px rgba(68, 55, 43, 0.08);
}

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

.property-action-menu summary span {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.property-action-menu[open] summary span {
  transform: translateY(2px) rotate(225deg);
}

.property-action-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 45;
  display: grid;
  gap: 2px;
  width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(44, 40, 33, 0.14);
}

.property-action-panel form {
  margin: 0;
}

.lead-action-panel {
  width: 160px;
}

.property-action-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  text-decoration: none;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.property-action-item:hover {
  color: var(--rose-dark);
  background: #fff7f5;
}

.property-action-item.danger {
  color: var(--danger);
}

.property-action-item.danger:hover {
  color: #b3261e;
  background: #fff4f2;
}

.property-action-separator {
  height: 1px;
  margin: 6px 2px;
  background: var(--line);
}

.property-list-table-wrap {
  overflow: visible;
}

.property-list-table-wrap table {
  min-width: 980px;
}

.property-list-table-wrap .actions-cell {
  position: relative;
  overflow: visible;
  z-index: 2;
}

.property-list-table-wrap tr:has(.property-action-menu[open]) {
  position: relative;
  z-index: 30;
}

.property-list-table-wrap .property-action-menu[open],
.property-list-table-wrap .property-action-panel {
  z-index: 100;
}

@media (max-width: 980px) {
  .property-list-table-wrap {
    overflow-x: auto;
    overflow-y: clip;
    padding-bottom: 8px;
  }

  .property-list-table-wrap:has(.property-action-menu[open]) {
    padding-bottom: 260px;
  }
}
@media (max-width: 430px) {
  .site-header {
    gap: 10px 12px;
    padding: 10px 14px;
  }

  .site-header .brand {
    gap: 8px;
  }

  .site-header .brand-image {
    width: 50px;
    height: 45px;
  }

  .site-header .brand strong {
    font-size: 18px;
  }

  .site-header .brand small {
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .header-tools {
    width: 100%;
    justify-content: flex-end;
    gap: 6px;
  }

  .language-current {
    min-width: 58px;
    min-height: 32px;
    padding: 5px 9px;
    font-size: 11px;
  }

  .language-menu {
    min-width: 86px;
  }

  .header-social .social-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .header-social .social-icon svg {
    width: 17px;
    height: 17px;
  }

  .cta-actions {
    gap: 7px;
  }

  .cta-actions .button.primary {
    width: auto;
    min-height: 42px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .cta-actions .cta-social-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .cta-actions .cta-social-icon svg {
    width: 19px;
    height: 19px;
  }
}

.lead-attachments-card {
  margin-top: 18px;
}

.lead-attachment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}

.lead-attachment-item {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lead-attachment-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.lead-attachment-item strong,
.lead-attachment-item small {
  display: block;
  overflow-wrap: anywhere;
}

.lead-attachment-item form {
  margin: 0;
}
.lead-upload-field .upload-dropzone {
  min-height: 130px;
  margin-top: 4px;
}

.lead-upload-field .upload-dropzone strong {
  font-size: 22px;
}
.social-choice {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.social-choice > .social-icon {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.social-choice-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 210px;
  max-width: min(280px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid rgba(126, 95, 62, 0.18);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(44, 40, 33, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.social-choice.is-open .social-choice-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.social-choice-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink-strong);
  text-decoration: none;
  white-space: nowrap;
}

.social-choice-menu a:hover {
  background: rgba(229, 216, 198, 0.42);
}

.social-choice-menu span {
  font-weight: 800;
}

.social-choice-menu small {
  max-width: 230px;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.header-social .social-choice-menu {
  right: 0;
}

.detail-actions .social-choice,
.contact-socials .social-choice {
  flex: 0 0 auto;
}

.social-link-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.social-link-admin-row {
  display: grid;
  grid-template-columns: 150px 180px minmax(240px, 1fr) 90px 110px auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  border: 1px solid rgba(126, 95, 62, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.social-link-admin-row label {
  margin: 0;
}

.social-link-admin-row .social-active-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(126, 95, 62, 0.16);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.social-link-admin-row .social-active-check input {
  width: 18px;
  height: 18px;
}

.social-link-add-row {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(126, 95, 62, 0.14);
}

.social-link-add-row h3 {
  margin: 0 0 12px;
}

@media (max-width: 1180px) {
  .social-link-admin-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .social-choice-menu {
    right: auto;
    left: 50%;
    transform: translate(-50%, -4px);
  }

  .social-choice.is-open .social-choice-menu {
    transform: translate(-50%, 0);
  }

  .social-link-admin-row {
    grid-template-columns: 1fr;
  }
}

.footer-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-list h3 {
  margin-bottom: 12px;
}

.footer-list a,
.footer-choice > button {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
  line-height: 1.35;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

body:not(.admin-body) .site-footer .footer-list a,
body:not(.admin-body) .site-footer .footer-choice > button {
  color: rgba(255, 255, 255, 0.86);
}

body:not(.admin-body) .site-footer .footer-choice > button {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid rgba(242, 165, 30, 0.42);
  border-radius: 999px;
  color: #f2a51e;
  background: rgba(242, 165, 30, 0.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

body:not(.admin-body) .site-footer .footer-choice > button:hover,
body:not(.admin-body) .site-footer .footer-choice.is-open > button {
  color: #082f59;
  background: #f2a51e;
  border-color: #f2a51e;
}

.footer-list p {
  line-height: 1.7;
}

.footer-choice {
  position: relative;
  display: inline-flex;
  width: fit-content;
}

.footer-choice > button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: 0.52em 0 0 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.65;
}

.footer-choice-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  z-index: 65;
  display: grid;
  min-width: 210px;
  max-width: min(280px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid rgba(242, 165, 30, 0.28);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.footer-choice.is-open .footer-choice-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.footer-choice-menu a {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  color: #0a315d !important;
  background: transparent;
  font-weight: 900;
  white-space: normal;
  overflow-wrap: anywhere;
}

.footer-choice-menu a:hover {
  color: #082f59 !important;
  background: rgba(242, 165, 30, 0.16);
}

@media (max-width: 760px) {
  .footer-choice-menu {
    bottom: auto;
    top: calc(100% + 8px);
  }
}
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: stretch;
  padding-top: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(24px, 4vw, 58px);
  background: linear-gradient(180deg, #fff 0%, #f8f7f4 100%);
}

.about-hero-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

.about-hero h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.05;
}

.about-hero-copy > p:last-of-type {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.7;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.about-actions .about-phone {
  min-height: 46px;
}

.about-actions .about-social-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.about-hero-panel {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 320px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(126, 95, 62, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(44, 40, 33, 0.78) 100%),
    url("../services/loan-consulting.png") center / cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.about-hero-panel strong {
  max-width: 360px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.about-hero-panel span {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.6;
}

.about-section {
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(34px, 5vw, 72px);
}

.about-two-column {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.about-two-column h2,
.about-heading h2,
.about-location-band h2 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.16;
}

.about-service-list {
  display: grid;
  gap: 10px;
}

.about-service-list div {
  padding: 16px 18px;
  border: 1px solid rgba(126, 95, 62, 0.14);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-strong);
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(44, 40, 33, 0.06);
}

.about-heading {
  margin-bottom: 20px;
}

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

.about-step-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(126, 95, 62, 0.14);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(44, 40, 33, 0.07);
}

.about-step-grid span {
  color: var(--rose-dark);
  font-weight: 900;
  letter-spacing: 0.06em;
}

.about-step-grid h3 {
  margin: 22px 0 10px;
  color: var(--ink-strong);
  font-size: 23px;
  line-height: 1.25;
}

.about-step-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-location-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  background: #f8f7f4;
}

.about-location-band p:last-child {
  max-width: 780px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .about-hero,
  .about-two-column {
    grid-template-columns: 1fr;
  }

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

  .about-location-band {
    display: grid;
  }
}

@media (max-width: 620px) {
  .about-hero h1 {
    font-size: 38px;
  }

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

  .about-actions .button.secondary {
    width: 100%;
  }
}
/* About page profile layout */
.about-page {
  background: #fff;
  padding: clamp(18px, 3vw, 38px) 0 clamp(44px, 6vw, 80px);
}

.about-profile-hero,
.about-panel,
.about-area-band,
.about-trust-grid {
  width: min(1280px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.about-profile-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(126, 95, 62, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8ef 0%, #ffffff 58%, #f8efe4 100%);
  box-shadow: 0 22px 60px rgba(55, 43, 34, 0.08);
  overflow: hidden;
}

.about-profile-copy {
  position: relative;
  z-index: 1;
}

.about-profile-copy h1 {
  margin: 0 0 16px;
  color: var(--ink-strong);
  font-size: clamp(42px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

.about-profile-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.78;
}

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

.about-profile-actions .button {
  min-height: 52px;
  padding-inline: 22px;
}

.about-profile-media {
  position: relative;
  min-height: clamp(330px, 31vw, 450px);
  padding-bottom: 58px;
}

.about-main-photo {
  display: block;
  width: 100%;
  height: clamp(320px, 30vw, 430px);
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(55, 43, 34, 0.16);
}

.about-thumb-row {
  position: absolute;
  left: clamp(18px, 3vw, 44px);
  right: clamp(18px, 3vw, 44px);
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.about-thumb-row img {
  width: 100%;
  height: clamp(74px, 8vw, 110px);
  object-fit: cover;
  border: 5px solid #fff;
  border-radius: 12px;
  box-shadow: 0 14px 28px rgba(55, 43, 34, 0.14);
}

.about-panel {
  padding: clamp(34px, 4vw, 58px) 0 0;
}

.about-center-heading {
  text-align: center;
  margin-bottom: 22px;
}

.about-center-heading h2 {
  margin: 4px auto 0;
  max-width: 900px;
  color: var(--ink-strong);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.about-service-cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.about-service-card {
  display: block;
  min-height: 190px;
  border: 1px solid rgba(126, 95, 62, 0.18);
  border-radius: 12px;
  color: inherit;
  background: #fff;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(55, 43, 34, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.about-service-card img {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  filter: saturate(0.95);
  transition: transform 260ms ease;
}

.about-service-card div {
  padding: 14px 14px 16px;
}

.about-service-card h3 {
  margin: 0 0 7px;
  color: var(--ink-strong);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.25;
  letter-spacing: 0;
}

.about-service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.about-service-card:hover,
.about-service-card:focus-visible {
  border-color: rgba(216, 137, 22, 0.32);
  box-shadow: 0 18px 38px rgba(55, 43, 34, 0.12);
  transform: translateY(-2px);
}

.about-service-card:hover img,
.about-service-card:focus-visible img {
  transform: scale(1.04);
}

.about-service-card:focus-visible {
  outline: 3px solid rgba(216, 137, 22, 0.28);
  outline-offset: 3px;
}

.about-service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  color: #d88916;
  font-size: 13px;
  font-weight: 900;
}

.about-work-block {
  padding-top: clamp(38px, 5vw, 68px);
}

.about-timeline-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.about-timeline-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(190, 133, 78, 0), rgba(190, 133, 78, 0.65), rgba(190, 133, 78, 0));
}

.about-timeline-item {
  position: relative;
  padding: 0 8px;
  text-align: center;
}

.about-timeline-item span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #18304f;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(24, 48, 79, 0.18);
}

.about-timeline-item h3 {
  margin: 0 0 8px;
  color: var(--ink-strong);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.25;
  letter-spacing: 0;
}

.about-timeline-item p {
  margin: 0 auto;
  max-width: 280px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.about-area-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  margin-top: clamp(38px, 5vw, 68px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(126, 95, 62, 0.16);
  border-radius: 18px;
  background: #fff8ec;
  box-shadow: 0 16px 42px rgba(55, 43, 34, 0.08);
}

.about-map-art {
  position: relative;
  min-height: 190px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(188, 144, 91, 0.18), rgba(255, 255, 255, 0.1)),
    repeating-linear-gradient(28deg, rgba(126, 95, 62, 0.12) 0 1px, transparent 1px 28px),
    #fffdf8;
  overflow: hidden;
}

.about-map-art::before,
.about-map-art::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(190, 133, 78, 0.35);
  border-radius: 50%;
}

.about-map-art::before {
  width: 240px;
  height: 130px;
  left: 10%;
  top: 24%;
  transform: rotate(-12deg);
}

.about-map-art::after {
  width: 160px;
  height: 90px;
  right: 10%;
  bottom: 16%;
  transform: rotate(10deg);
}

.about-map-art span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c08a52;
  box-shadow: 0 0 0 8px rgba(192, 138, 82, 0.14);
}

.about-map-art span:nth-child(1) { left: 20%; top: 38%; }
.about-map-art span:nth-child(2) { left: 43%; top: 24%; }
.about-map-art span:nth-child(3) { right: 28%; top: 48%; }
.about-map-art span:nth-child(4) { right: 16%; bottom: 24%; }

.about-area-copy h2 {
  margin: 4px 0 12px;
  color: #b57b47;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: 0;
}

.about-area-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

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

.about-trust-grid article {
  display: grid;
  grid-template-columns: 54px 1fr;
  column-gap: 14px;
  align-items: start;
  min-height: 118px;
  padding: 20px;
  border: 1px solid rgba(126, 95, 62, 0.16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(55, 43, 34, 0.07);
}

.about-trust-grid article span {
  grid-row: span 2;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #fff2dd;
  border: 1px solid rgba(190, 133, 78, 0.22);
}

.about-trust-grid h3 {
  margin: 0 0 6px;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.about-trust-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .about-profile-hero,
  .about-area-band {
    grid-template-columns: 1fr;
  }

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

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

  .about-timeline-grid::before {
    display: none;
  }
}

@media (max-width: 700px) {
  .about-profile-hero,
  .about-panel,
  .about-area-band,
  .about-trust-grid {
    width: min(100% - 20px, 1280px);
  }

  .about-profile-hero {
    padding: 22px;
    border-radius: 14px;
  }

  .about-profile-actions,
  .about-profile-actions .button {
    width: 100%;
  }

  .about-profile-actions .button {
    justify-content: center;
  }

  .about-profile-media {
    min-height: 0;
    padding-bottom: 0;
  }

  .about-main-photo {
    height: 260px;
  }

  .about-thumb-row {
    position: static;
    margin-top: 10px;
    gap: 8px;
  }

  .about-thumb-row img {
    height: 72px;
    border-width: 3px;
  }

  .about-service-cards,
  .about-timeline-grid,
  .about-trust-grid {
    grid-template-columns: 1fr;
  }

  .about-service-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    min-height: 0;
  }

  .about-service-card img {
    height: 100%;
    min-height: 124px;
  }

  .about-area-band {
    padding: 18px;
  }

  .about-map-art {
    min-height: 150px;
  }
}
/* About page service-area banner refinement */
.about-area-band {
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.45fr);
  min-height: 235px;
  margin-top: clamp(34px, 4.5vw, 58px);
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-color: rgba(186, 139, 82, 0.22);
  border-radius: 18px 18px 12px 12px;
  background: linear-gradient(90deg, #fbf3e6 0%, #fffaf2 42%, #fff8ec 100%);
  box-shadow: 0 18px 48px rgba(126, 95, 62, 0.12);
}

.about-map-art {
  min-height: 235px;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 236, 0.18), rgba(255, 248, 236, 0.78)),
    radial-gradient(circle at 28% 45%, rgba(190, 133, 78, 0.16), transparent 0 16%, transparent 17%),
    repeating-linear-gradient(18deg, rgba(151, 127, 95, 0.08) 0 1px, transparent 1px 34px),
    #fbf4e7;
}

.about-map-art::before,
.about-map-art::after {
  border-color: rgba(196, 140, 70, 0.46);
  border-style: dashed;
  border-width: 2px;
  box-shadow: none;
}

.about-map-art::before {
  width: 330px;
  height: 128px;
  left: 12%;
  top: 34%;
  transform: rotate(4deg);
}

.about-map-art::after {
  width: 250px;
  height: 96px;
  left: 28%;
  top: 20%;
  right: auto;
  bottom: auto;
  transform: rotate(-14deg);
}

.about-map-art span {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: #d19036;
  box-shadow: 0 8px 18px rgba(141, 95, 44, 0.2);
  transform: rotate(-45deg);
}

.about-map-art span::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff9ef;
}

.about-map-art span:nth-child(1) { left: 18%; top: 22%; }
.about-map-art span:nth-child(2) { left: 36%; top: 48%; }
.about-map-art span:nth-child(3) { right: 30%; top: 32%; }
.about-map-art span:nth-child(4) { right: 18%; bottom: 30%; }

.about-area-copy {
  position: relative;
  min-height: 235px;
  padding: clamp(30px, 4vw, 48px) clamp(230px, 17vw, 330px) clamp(26px, 3vw, 38px) clamp(34px, 4vw, 58px);
  border-left: 1px solid rgba(190, 133, 78, 0.2);
}

.about-area-copy::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  right: clamp(170px, 13vw, 250px);
  width: 1px;
  background: rgba(190, 133, 78, 0.28);
}

.about-area-copy::after {
  content: "";
  position: absolute;
  right: 28px;
  bottom: 0;
  width: clamp(150px, 14vw, 230px);
  height: 172px;
  opacity: 0.42;
  background:
    linear-gradient(#d19036, #d19036) 7% 100% / 2px 78px no-repeat,
    linear-gradient(#d19036, #d19036) 17% 100% / 2px 104px no-repeat,
    linear-gradient(#d19036, #d19036) 82% 100% / 2px 138px no-repeat,
    linear-gradient(#d19036, #d19036) 92% 100% / 2px 92px no-repeat,
    linear-gradient(#d19036, #d19036) 0 100% / 100% 2px no-repeat,
    linear-gradient(#d19036, #d19036) 42% 100% / 76px 2px no-repeat,
    linear-gradient(#d19036, #d19036) 42% 72% / 76px 2px no-repeat,
    linear-gradient(#d19036, #d19036) 42% 44% / 76px 2px no-repeat,
    linear-gradient(#d19036, #d19036) 42% 100% / 2px 96px no-repeat,
    linear-gradient(#d19036, #d19036) 74% 100% / 2px 96px no-repeat;
}

.about-area-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: #18304f;
  font-size: 18px;
}

.about-area-copy .eyebrow::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 0;
  background: #d19036;
  transform: rotate(-45deg);
  box-shadow: 0 8px 18px rgba(141, 95, 44, 0.18);
}

.about-area-copy h2 {
  max-width: 650px;
  color: #c88532;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.22;
}

.about-area-copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(55, 43, 34, 0.78);
  font-size: clamp(17px, 1.25vw, 21px);
}

.about-trust-grid {
  gap: 0;
  margin-top: 18px;
  padding: 24px 28px;
  border: 1px solid rgba(186, 139, 82, 0.18);
  border-radius: 12px 12px 18px 18px;
  background: linear-gradient(90deg, #fff9f0 0%, #fffdf7 50%, #fff7eb 100%);
  box-shadow: 0 14px 42px rgba(126, 95, 62, 0.1);
}

.about-trust-grid article {
  grid-template-columns: 74px 1fr;
  min-height: 118px;
  padding: 10px clamp(18px, 2vw, 34px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-trust-grid article + article {
  border-left: 1px solid rgba(190, 133, 78, 0.24);
}

.about-trust-grid article span {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: transparent;
  border: 0;
}

.about-trust-grid article span::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 3px solid #d19036;
  border-radius: 18px;
  color: #d19036;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.about-trust-grid article:nth-child(1) span::before { content: "✓"; }
.about-trust-grid article:nth-child(2) span::before { content: "⚙"; }
.about-trust-grid article:nth-child(3) span::before { content: "♡"; }

.about-trust-grid h3 {
  color: #2f2a23;
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.2;
}

.about-trust-grid p {
  max-width: 320px;
  color: rgba(55, 43, 34, 0.72);
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .about-area-band {
    grid-template-columns: 1fr;
  }

  .about-area-copy {
    min-height: 0;
    padding-right: clamp(180px, 22vw, 260px);
    border-left: 0;
    border-top: 1px solid rgba(190, 133, 78, 0.2);
  }

  .about-area-copy::before {
    right: clamp(140px, 18vw, 210px);
  }
}

@media (max-width: 700px) {
  .about-area-band {
    border-radius: 14px;
  }

  .about-map-art {
    min-height: 170px;
  }

  .about-area-copy {
    padding: 22px;
  }

  .about-area-copy::before,
  .about-area-copy::after {
    display: none;
  }

  .about-area-copy .eyebrow {
    font-size: 16px;
  }

  .about-area-copy h2 {
    font-size: 30px;
  }

  .about-trust-grid {
    padding: 8px 18px;
    border-radius: 14px;
  }

  .about-trust-grid article {
    grid-template-columns: 58px 1fr;
    padding: 18px 0;
  }

  .about-trust-grid article + article {
    border-left: 0;
    border-top: 1px solid rgba(190, 133, 78, 0.2);
  }

  .about-trust-grid article span,
  .about-trust-grid article span::before {
    width: 48px;
    height: 48px;
  }

  .about-trust-grid article span::before {
    border-radius: 14px;
    font-size: 28px;
  }
}
/* About page service area image */
.about-service-area-image {
  width: min(1280px, calc(100% - 32px));
  margin: clamp(34px, 4.5vw, 58px) auto 0;
}

.about-service-area-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(126, 95, 62, 0.14);
}

@media (max-width: 700px) {
  .about-service-area-image {
    width: min(100% - 20px, 1280px);
    margin-top: 30px;
    overflow-x: auto;
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
  }

  .about-service-area-image img {
    min-width: 720px;
    border-radius: 14px;
  }
}
/* About hero title and house image tuning */
.about-profile-copy h1 {
  max-width: none;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.08;
  white-space: nowrap;
}

.about-main-photo {
  object-position: center center;
}

@media (max-width: 900px) {
  .about-profile-copy h1 {
    white-space: normal;
    font-size: clamp(34px, 7vw, 48px);
  }
}
/* Keep about work heading on one desktop line */
.about-work-block .about-center-heading h2 {
  max-width: none;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .about-work-block .about-center-heading h2 {
    white-space: normal;
    font-size: clamp(30px, 6vw, 42px);
  }
}
/* Homepage banner slider should sit outside property sections and show full artwork */
.home-image-section {
  padding-top: clamp(20px, 3vw, 34px);
  padding-bottom: clamp(26px, 4vw, 46px);
  background: #fff;
  overflow: visible;
}

.home-image-section + .home-recommended-section {
  padding-top: clamp(30px, 4vw, 54px);
}

.home-image-slider {
  overflow: visible;
  border-radius: 14px;
  background: transparent;
}

.home-image-track {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.home-image-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 700px) {
  .home-image-section {
    padding-bottom: 28px;
  }

  .home-image-slide img {
    height: auto;
    min-height: 0;
  }
}
/* Homepage slider: keep section block layout, but show full banner art */
.section.home-image-section {
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(28px, 4vw, 54px);
  background: #fff;
  overflow: visible;
}

.section.home-image-section + .home-recommended-section {
  padding-top: clamp(22px, 3vw, 36px);
}

.section.home-image-section .home-image-slider {
  max-width: 1280px;
  margin: 0 auto;
  overflow: visible;
  border: 1px solid rgba(44, 40, 33, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(44, 40, 33, 0.1);
}

.section.home-image-section .home-image-track {
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
}

.section.home-image-section .home-image-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 700px) {
  .section.home-image-section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section.home-image-section .home-image-slide img {
    height: auto;
    min-height: 0;
  }
}
/* Final homepage slider fix: section block, fixed banner height, working slides */
.section.home-image-section {
  padding-top: clamp(22px, 3vw, 38px);
  padding-bottom: clamp(18px, 2.4vw, 30px);
  background: #fff;
}

.section.home-image-section .home-image-slider {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(44, 40, 33, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(44, 40, 33, 0.1);
}

.section.home-image-section .home-image-track {
  display: flex;
  height: clamp(190px, 24vw, 340px);
  overflow: visible;
  border-radius: 0;
  background: #fff;
  transition: transform 420ms ease;
  will-change: transform;
}

.section.home-image-section .home-image-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
  background: #fff;
}

.section.home-image-section .home-image-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #fff;
}

.section.home-image-section .home-slider-arrow {
  z-index: 5;
  display: grid;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.section.home-image-section .home-slider-dots {
  z-index: 5;
  display: flex;
  pointer-events: auto;
}

@media (max-width: 700px) {
  .section.home-image-section {
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .section.home-image-section .home-image-track {
    height: clamp(160px, 43vw, 210px);
  }
}
/* Align homepage property sections with the banner slider width */
main > .home-recommended-section,
main > .category-showcase {
  box-sizing: border-box;
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

main > .home-recommended-section .related-carousel,
main > .category-showcase .related-carousel {
  width: 100%;
}

@media (max-width: 700px) {
  main > .home-recommended-section,
  main > .category-showcase {
    width: min(100% - 20px, 1280px);
  }
}
/* Services page */
.services-page {
  background: #fff;
  color: var(--ink-strong);
}

.services-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(460px, 1.12fr);
  height: clamp(360px, 36vw, 520px);
  min-height: 0;
  overflow: hidden;
  background: #fff;
  border-top: 1px solid rgba(44, 40, 33, 0.08);
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.9) 31%, rgba(255,255,255,0.16) 51%, rgba(255,255,255,0) 72%);
  pointer-events: none;
}

.services-hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(30px, 5vw, 62px) clamp(24px, 5vw, 76px);
}

.services-hero-copy h1 {
  max-width: 660px;
  margin: 0 0 18px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.16;
  letter-spacing: 0;
}

.services-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(55, 43, 34, 0.76);
  font-size: clamp(17px, 1.25vw, 21px);
  line-height: 1.82;
}

.services-hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 0;
  color: #fff;
  background: #9c6840;
  box-shadow: 0 14px 30px rgba(70, 43, 27, 0.18);
  font-weight: 900;
  text-decoration: none;
}

.services-hero-button::after {
  content: "\203A";
  margin-left: 12px;
  font-size: 24px;
  line-height: 1;
}

.services-hero-media {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
}

.services-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 420ms ease;
  will-change: transform;
}

.services-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.services-hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.services-hero-slide.is-service-1 img {
  object-position: 52% 52%;
}

.services-hero-slide.is-service-2 img {
  object-position: 50% 40%;
}

.services-hero-slide.is-service-3 img {
  object-position: 55% 50%;
}

.services-hero-slide.is-service-4 img {
  object-position: 54% 48%;
}

.services-hero-slide.is-service-5 img {
  object-position: 56% 48%;
}

.services-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.28), rgba(255,255,255,0.03) 44%, rgba(20,18,15,0.28) 100%);
}

.services-hero-slide-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.services-hero-slide-caption strong {
  max-width: 360px;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,0.34);
}

.services-hero-slide-caption a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(20,18,15,0.78);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.services-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #2c2821;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.services-slider-arrow.is-prev {
  left: 18px;
}

.services-slider-arrow.is-next {
  right: 18px;
}

.services-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  gap: 9px;
  transform: translateX(-50%);
}

.services-slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.86);
  cursor: pointer;
}

.services-slider-dots button.is-active {
  width: 30px;
  background: #b9875e;
}

.services-cards-section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(54px, 7vw, 96px) 0;
}

.services-section-heading {
  max-width: 860px;
  margin: 0 auto 38px;
  text-align: center;
}

.services-section-heading h2 {
  margin: 6px 0 14px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.18;
  letter-spacing: 0;
}

.services-section-heading > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.7;
}

.services-card-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1px 1px 18px;
}

.services-card {
  position: relative;
  display: block;
  flex: 0 0 min(248px, 78vw);
  min-height: 470px;
  overflow: hidden;
  border-radius: 0;
  background: #171512;
  box-shadow: 0 18px 42px rgba(44, 40, 33, 0.14);
  scroll-snap-align: start;
  cursor: pointer;
  text-decoration: none;
}

.services-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.72;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.services-card.is-service-1 img {
  object-position: 54% 50%;
}

.services-card.is-service-2 img {
  object-position: 50% 40%;
}

.services-card.is-service-3 img {
  object-position: 56% 50%;
}

.services-card.is-service-4 img {
  object-position: 55% 48%;
}

.services-card.is-service-5 img {
  object-position: 56% 47%;
}

.services-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.28) 42%, rgba(0,0,0,0.84) 100%);
}

.services-card:hover img {
  transform: scale(1.04);
  opacity: 0.84;
}

.services-card:focus-visible {
  outline: 3px solid #e6c6a4;
  outline-offset: 4px;
}

.services-card-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 470px;
  padding: 24px;
  color: #fff;
}

.services-card-overlay > span:first-child {
  position: absolute;
  top: 22px;
  left: 20px;
  color: rgba(255,255,255,0.84);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}

.services-card-overlay h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.25;
  letter-spacing: 0;
}

.services-card-overlay p {
  margin: 0 0 18px;
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.62;
}

.services-card-link {
  color: #e6c6a4;
  font-weight: 900;
  text-decoration: none;
}

.services-consult-section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto clamp(52px, 7vw, 92px);
}

.services-consult-panel {
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(44, 40, 33, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(44, 40, 33, 0.08);
}

.services-consult-copy h2 {
  margin: 4px 0 18px;
  color: var(--ink-strong);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.services-consult-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 700;
  line-height: 1.72;
}

.services-benefit-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.services-benefit-list div {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(156, 104, 64, 0.16);
  border-radius: 7px;
  background: #fffaf5;
}

.services-benefit-list span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b9875e;
  font-size: 14px;
  font-weight: 900;
}

.services-benefit-list strong {
  color: var(--ink-strong);
  font-size: 16px;
  font-weight: 900;
}

.services-lead-card {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(156, 104, 64, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff8ef, #fff);
  box-shadow: 0 14px 34px rgba(70, 43, 27, 0.07);
}

.services-lead-card h2 {
  margin: 0 0 6px;
  color: var(--ink-strong);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.15;
}

.services-selected-service {
  margin: 0 0 8px;
  color: #9c6840;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.services-lead-card > p:not(.eyebrow) {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.services-lead-card form {
  display: grid;
  gap: 12px;
}

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

.services-lead-card label {
  min-width: 0;
}

.services-form-grid .span-2 {
  grid-column: 1 / -1;
}

.services-lead-card label > span {
  color: var(--ink-strong);
}

.services-lead-card input,
.services-lead-card select,
.services-lead-card textarea {
  min-height: 48px;
  border-color: rgba(156, 104, 64, 0.18);
  font-weight: 800;
}

.services-lead-card button[type="submit"] {
  min-height: 52px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: var(--ink-strong);
  cursor: pointer;
  font-weight: 900;
}

.services-why-section {
  padding: clamp(58px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(4, 17, 34, 0.96), rgba(7, 22, 43, 0.93)),
    url('../services/renovation-built-in.png') center/cover no-repeat;
  color: #fff;
}

.services-dark-heading h2,
.services-dark-heading .eyebrow {
  color: #fff;
}

.services-dark-heading h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 20px auto 0;
  background: #d89628;
}

.services-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  width: min(1280px, 100%);
  margin: 0 auto;
}

.services-why-grid article {
  min-height: 190px;
  padding: 18px 24px;
  text-align: center;
  border-left: 1px solid rgba(190, 208, 230, 0.18);
}

.services-why-grid article:first-child {
  border-left: 0;
}

.services-why-grid span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border: 1px solid rgba(216, 150, 40, 0.82);
  border-radius: 50%;
  background: rgba(7, 25, 49, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.services-why-grid span svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #f2b44b;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-why-grid h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.28;
  letter-spacing: 0;
}

.services-why-grid p {
  margin: 0 auto;
  max-width: 210px;
  color: rgba(221, 230, 241, 0.74);
  line-height: 1.58;
}

.services-cta-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  width: min(1280px, calc(100% - 32px));
  margin: clamp(52px, 7vw, 92px) auto;
  overflow: hidden;
  background: #fbf6ef;
}

.services-cta-copy {
  padding: clamp(34px, 5vw, 70px);
}

.services-cta-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.5vw, 52px);
  line-height: 1.2;
  letter-spacing: 0;
}

.services-cta-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.74;
}

.services-cta-section img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

/* Public heading scale: keep Thai display type strong without overwhelming the page */
body:not(.admin-body) h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

body:not(.admin-body) h2 {
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1.18;
}

body:not(.admin-body) .contact-hero h1,
body:not(.admin-body) .listing-hero h1,
body:not(.admin-body) .about-hero h1,
body:not(.admin-body) .about-profile-copy h1,
body:not(.admin-body) .services-hero-copy h1,
body:not(.admin-body) .ph-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.12;
}

body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .services-section-heading h2,
body:not(.admin-body) .ph-section-heading h2,
body:not(.admin-body) .services-consult-copy h2,
body:not(.admin-body) .services-cta-copy h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.2;
}

body:not(.admin-body) .services-hero-copy p:not(.eyebrow),
body:not(.admin-body) .about-hero p,
body:not(.admin-body) .about-profile-copy p,
body:not(.admin-body) .ph-hero-copy p {
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.72;
}

body:not(.admin-body) .contact-hero h1 {
  max-width: 760px;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.12;
}

@media (max-width: 700px) {
  body:not(.admin-body) h1,
  body:not(.admin-body) .contact-hero h1,
  body:not(.admin-body) .listing-hero h1,
  body:not(.admin-body) .about-hero h1,
  body:not(.admin-body) .about-profile-copy h1,
  body:not(.admin-body) .services-hero-copy h1,
  body:not(.admin-body) .ph-hero-copy h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.14;
  }

  body:not(.admin-body) h2,
  body:not(.admin-body) .section-heading h2,
  body:not(.admin-body) .services-section-heading h2,
  body:not(.admin-body) .ph-section-heading h2,
  body:not(.admin-body) .services-consult-copy h2,
  body:not(.admin-body) .services-cta-copy h2 {
    font-size: clamp(26px, 7vw, 36px);
  }
}

/* Contact page final sizing */
body:not(.admin-body) .contact-hero h1 {
  max-width: 720px;
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.14;
}

body:not(.admin-body) .contact-info h2 {
  max-width: 100%;
  font-size: clamp(24px, 2.35vw, 32px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

/* Mobile header phone selector */
@media (max-width: 760px) {
  body:not(.admin-body) .header-tools .phone-choice {
    display: inline-flex !important;
  }

  body:not(.admin-body) .header-tools > .header-action,
  body:not(.admin-body) .phone-choice > .header-action {
    display: inline-flex !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border-color: rgba(229, 139, 19, 0.34);
    border-radius: 50% !important;
    font-size: 0 !important;
    box-shadow: none;
  }

  body:not(.admin-body) .header-tools .header-action::before {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    background: #f4e3cc;
    font-size: 15px !important;
  }

  body:not(.admin-body) .phone-choice-trigger > span,
  body:not(.admin-body) .phone-choice-trigger > i {
    display: none !important;
  }

  body:not(.admin-body) .header-tools .phone-choice-menu {
    right: -42px;
    left: auto;
    width: min(286px, calc(100vw - 20px));
    min-width: 0;
    transform: translateY(-4px);
  }

  body:not(.admin-body) .header-tools .phone-choice.is-open .phone-choice-menu {
    transform: translateY(0);
  }

  body:not(.admin-body) .header-tools .phone-choice-menu a {
    align-items: flex-start;
    padding: 13px 16px;
    font-size: 15px;
  }

  body:not(.admin-body) .header-tools .phone-choice-menu small {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  body:not(.admin-body) .header-tools > .header-action,
  body:not(.admin-body) .phone-choice > .header-action {
    flex-basis: 30px !important;
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
  }

  body:not(.admin-body) .header-tools .header-action::before {
    flex-basis: 28px !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 13px !important;
  }
}

/* Final public mobile layout: keep the brand and category labels readable. */
@media (max-width: 760px) {
  body:not(.admin-body) .site-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center;
    gap: 10px 8px;
    min-height: 0 !important;
    padding: 10px 14px !important;
  }

  body:not(.admin-body) .site-header .brand {
    display: flex;
    min-width: 0;
    max-width: 100%;
    gap: 8px;
    overflow: hidden;
  }

  body:not(.admin-body) .site-header .brand-image {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 46px !important;
  }

  body:not(.admin-body) .site-header .brand > span {
    min-width: 0;
    overflow: hidden;
  }

  body:not(.admin-body) .site-header .brand strong,
  body:not(.admin-body) .site-header .brand small {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:not(.admin-body) .site-header .brand strong {
    font-size: 14px;
    letter-spacing: 0.045em;
  }

  body:not(.admin-body) .site-header .brand small {
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  body:not(.admin-body) .header-tools {
    width: auto !important;
    min-width: 0;
    gap: 6px !important;
    justify-content: flex-end !important;
  }

  body:not(.admin-body) .language-current {
    min-width: 52px !important;
    min-height: 34px !important;
    padding: 5px 9px !important;
    font-size: 11px !important;
  }

  body:not(.admin-body) .header-social {
    gap: 6px !important;
  }

  body:not(.admin-body) .header-social .social-icon {
    flex-basis: 34px !important;
    width: 34px !important;
    height: 34px !important;
  }

  body:not(.admin-body) .header-social .social-icon svg {
    width: 17px !important;
    height: 17px !important;
  }

  body:not(.admin-body) .site-header nav {
    grid-column: 1 / -1 !important;
    gap: 18px !important;
    padding-bottom: 3px !important;
    overflow-x: auto !important;
    scrollbar-width: none;
  }

  body:not(.admin-body) .site-header nav::-webkit-scrollbar {
    display: none;
  }

  body:not(.admin-body) .site-header nav a {
    flex: 0 0 auto;
    padding: 8px 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .ph-home-category-menu {
    width: min(100% - 28px, 1120px) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .ph-home-category-menu .category-menu-item {
    min-width: 0 !important;
    min-height: 56px !important;
    padding: 8px 12px 8px 44px !important;
    border-radius: 12px !important;
  }

  .ph-home-category-menu .category-menu-icon {
    left: 12px !important;
  }

  .ph-home-category-menu .category-menu-item strong {
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.28 !important;
    text-align: left !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }
}

@media (max-width: 430px) {
  body:not(.admin-body) .site-header .brand-image {
    flex-basis: 44px !important;
    width: 44px !important;
    height: 40px !important;
  }

  body:not(.admin-body) .site-header .brand strong {
    font-size: 12px;
  }

  body:not(.admin-body) .site-header .brand small {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  body:not(.admin-body) .language-current {
    min-width: 46px !important;
    min-height: 32px !important;
    padding-inline: 7px !important;
  }

  body:not(.admin-body) .header-social .social-icon {
    flex-basis: 30px !important;
    width: 30px !important;
    height: 30px !important;
  }

  body:not(.admin-body) .header-social .social-icon svg {
    width: 15px !important;
    height: 15px !important;
  }
}

/* Contact page final sizing */
body:not(.admin-body) .contact-hero h1 {
  max-width: 720px;
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.14;
}

body:not(.admin-body) .contact-info h2 {
  max-width: 100%;
  font-size: clamp(24px, 2.35vw, 32px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

/* Contact page final sizing */
body:not(.admin-body) .contact-hero h1 {
  max-width: 720px;
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.14;
}

body:not(.admin-body) .contact-info h2 {
  max-width: 100%;
  font-size: clamp(24px, 2.35vw, 32px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px) {
  .services-hero,
  .services-consult-panel,
  .services-cta-section {
    grid-template-columns: 1fr;
  }

  .services-hero {
    height: auto;
  }

  .services-hero-media {
    min-height: 320px;
  }

  .services-card-grid {
    overflow-x: auto;
  }

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

  .services-why-grid article:nth-child(odd) {
    border-left: 0;
  }

  .services-cta-section img {
    clip-path: none;
  }
}

@media (max-width: 700px) {
  .services-hero-copy {
    padding: 34px 20px;
  }

  .services-hero-copy h1 {
    font-size: 34px;
  }

  .services-cards-section,
  .services-consult-section,
  .services-cta-section {
    width: min(100% - 20px, 1280px);
  }

  .services-why-grid {
    grid-template-columns: 1fr;
  }

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

  .services-card,
  .services-card-overlay {
    min-height: 390px;
  }

  .services-why-grid article {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.18);
  }

  .services-why-grid article:first-child {
    border-top: 0;
  }

  .services-cta-section img {
    height: 260px;
  }
}
/* Modern admin dashboard refresh */
.admin-body.admin-modern {
  grid-template-columns: 286px minmax(0, 1fr);
  background:
    radial-gradient(circle at 88% 2%, rgba(196, 132, 82, 0.13), transparent 34vw),
    linear-gradient(135deg, #fffaf4 0%, #fbf7f0 42%, #fffdf9 100%);
  color: #2f2a24;
}

.admin-modern .admin-sidebar {
  background:
    linear-gradient(180deg, rgba(60, 49, 40, 0.96), rgba(38, 32, 27, 0.98)),
    linear-gradient(135deg, #5b4739, #2b2520);
  border-right: 0;
  box-shadow: 18px 0 48px rgba(63, 48, 36, 0.16);
  color: #fffaf4;
}

.admin-modern .admin-brand {
  color: #fffaf4;
}

.admin-modern .admin-brand .brand-image {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.admin-modern .admin-brand strong,
.admin-modern .admin-brand small {
  color: #fffaf4;
}

.admin-modern .admin-nav {
  gap: 9px;
  margin-top: 18px;
}

.admin-modern .admin-nav a {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(255, 250, 244, 0.82);
  font-size: 15px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-modern .admin-nav a:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  transform: translateX(2px);
}

.admin-modern .admin-nav a.is-active {
  background: linear-gradient(135deg, #fff7ee, #f5e6d7);
  border-color: rgba(196, 132, 82, 0.34);
  color: #3a2c22;
  box-shadow: 0 16px 34px rgba(31, 23, 18, 0.24);
}

.admin-modern .admin-nav-icon {
  background: rgba(255, 255, 255, 0.11);
  color: currentColor;
}

.admin-modern .admin-nav a.is-active .admin-nav-icon {
  background: #fff;
  color: #aa6d43;
}

.admin-modern .admin-user-panel {
  margin-top: auto;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: #372b23;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.14);
}

.admin-modern .admin-user-avatar {
  background: linear-gradient(135deg, #f0d9c4, #fff5ea);
  color: #5a3827;
}

.admin-modern .admin-main {
  padding: 34px 40px 56px;
}

.admin-dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-dashboard-header .eyebrow {
  margin: 0 0 5px;
  color: #b37b63;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-dashboard-header h1 {
  margin: 0;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.admin-dashboard-subtitle {
  margin: 9px 0 0;
  color: #756b61;
  font-size: 16px;
  font-weight: 600;
}

.admin-dashboard-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: min(100%, 560px);
}

.admin-quick-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(100%, 340px);
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #e5d8ca;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(66, 50, 36, 0.06);
}

.admin-quick-search svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #8b7d70;
  stroke-width: 2;
}

.admin-quick-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #312a24;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.admin-add-property {
  min-height: 48px;
  white-space: nowrap;
  box-shadow: 0 16px 30px rgba(51, 37, 29, 0.2);
}

.admin-modern-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.admin-stat-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid #eadfd3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #302923;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(65, 50, 38, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(188, 121, 70, 0.42);
  box-shadow: 0 22px 46px rgba(65, 50, 38, 0.13);
}

.admin-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #f6e4d2;
  color: #b87342;
}

.admin-stat-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-stat-key { background: #f3dfcc; color: #9f5c32; }
.admin-stat-user { background: #f4e1d7; color: #a86448; }
.admin-stat-headset { background: #f6e6d6; color: #b87548; }
.admin-stat-calendar { background: #f2dcc7; color: #9e5e35; }

.admin-stat-meta small,
.admin-stat-meta strong,
.admin-stat-meta em {
  display: block;
}

.admin-stat-meta small {
  color: #5f534a;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.admin-stat-meta strong {
  margin-top: 4px;
  color: #2d2722;
  font-size: 40px;
  line-height: 1;
}

.admin-stat-meta em {
  margin-top: 8px;
  color: #a4673c;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.admin-dashboard-grid-bottom {
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
}

.admin-panel {
  border: 1px solid #eadfd3;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 44px rgba(65, 50, 38, 0.08);
  padding: 22px;
}

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

.admin-panel-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.admin-status-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 26px;
}

.admin-donut {
  display: grid;
  place-items: center;
  align-content: center;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background:
    radial-gradient(circle closest-side, #fff 0 62%, transparent 63%),
    conic-gradient(
      #17365f 0 var(--available-end),
      #e8ad42 var(--available-end) var(--reserved-end),
      #d88916 var(--reserved-end) var(--sold-end),
      #efd1a6 var(--sold-end) var(--rented-end),
      #b8bcc1 var(--rented-end) var(--hidden-end),
      #e5e7eb var(--hidden-end) 100%
    );
  box-shadow: inset 0 0 0 1px rgba(78, 56, 43, 0.08), 0 16px 34px rgba(65, 50, 38, 0.08);
}

.admin-donut span {
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.admin-donut small {
  color: #74695f;
  font-weight: 800;
}

.admin-status-list {
  display: grid;
  gap: 13px;
}

.admin-status-list div {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #efe5dc;
}

.admin-status-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-status-list strong,
.admin-status-list em {
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.admin-status-list em {
  color: #7d7167;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #baa28d;
}

.dot.is-available { background: #493d35; }
.dot.is-reserved { background: #e8ad42; }
.dot.is-sold { background: #c77949; }
.dot.is-rented { background: #e5b78c; }
.dot.is-hidden { background: #b8bcc1; }

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

.admin-task-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 12px 14px;
  border: 1px solid #efe4da;
  border-radius: 8px;
  background: #fffbf7;
  color: #3b3028;
  font-weight: 800;
  text-decoration: none;
}

.admin-task-list a:hover {
  border-color: #d7bda5;
  background: #fff6ee;
}

.admin-task-list strong {
  padding: 5px 10px;
  border-radius: 999px;
  background: #f7eadc;
  color: #a26037;
  font-size: 13px;
}

.admin-dashboard-table {
  min-width: 820px;
}

.admin-dashboard-table th {
  font-size: 14px;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff0e2;
  color: #ad643b;
  font-size: 13px;
  font-weight: 900;
}

.admin-latest-properties {
  display: grid;
  gap: 14px;
}

.admin-latest-property {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid #efe5dc;
  border-radius: 8px;
  background: #fffdf9;
  color: #322b25;
  text-decoration: none;
}

.admin-latest-property:hover {
  border-color: #d8bfa6;
  background: #fff8f1;
}

.admin-latest-property img {
  width: 122px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  background: #f2ebe4;
}

.admin-latest-property span,
.admin-latest-property strong,
.admin-latest-property small {
  display: block;
}

.admin-latest-property strong {
  font-size: 15px;
  line-height: 1.35;
}

.admin-latest-property small {
  margin-top: 5px;
  color: #756b61;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.admin-latest-property b {
  align-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #c87942;
  color: #fff;
  font-size: 12px;
}

.admin-dashboard-price {
  margin-top: 8px;
  color: #bd7554;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.admin-dashboard-price .admin-price-original {
  display: block;
  color: #9b8b7d;
  font-size: 13px;
  text-decoration: line-through;
}

.admin-dashboard-price .admin-price-sale,
.admin-dashboard-price .admin-price-rent {
  display: block;
}

@media (max-width: 1280px) {
  .admin-modern-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-dashboard-header,
  .admin-dashboard-actions {
    align-items: stretch;
  }

  .admin-dashboard-header {
    flex-direction: column;
  }

  .admin-dashboard-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 1100px) {
  .admin-dashboard-grid,
  .admin-dashboard-grid-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-modern {
    grid-template-columns: 1fr;
  }

  .admin-modern .admin-sidebar {
    background: linear-gradient(180deg, #3b3028, #2d2722);
  }

  .admin-modern .admin-main {
    padding: 22px 14px 36px;
  }

  .admin-dashboard-actions,
  .admin-status-layout {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-quick-search,
  .admin-add-property {
    width: 100%;
  }

  .admin-modern-stats {
    grid-template-columns: 1fr;
  }

  .admin-panel {
    padding: 16px;
  }

  .admin-donut {
    width: 156px;
    height: 156px;
  }

  .admin-latest-property {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .admin-latest-property img {
    width: 92px;
  }

  .admin-latest-property b {
    grid-column: 2;
    justify-self: start;
  }
}

/* Admin sidebar menu panel style */
.admin-modern .admin-sidebar {
  padding: 24px 16px 18px;
  background:
    linear-gradient(180deg, rgba(64, 53, 44, 0.97), rgba(43, 36, 31, 0.99)),
    linear-gradient(135deg, #5b4739, #2b2520);
}

.admin-modern .admin-sidebar::after {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 82px;
  height: 190px;
  opacity: 0.24;
  background:
    linear-gradient(180deg, transparent, rgba(255, 247, 238, 0.65)),
    radial-gradient(circle at 22% 100%, rgba(210, 147, 95, 0.22), transparent 45%);
}

.admin-modern .admin-nav {
  position: relative;
  z-index: 1;
  margin: 22px -4px 0;
  padding: 12px;
  border: 1px solid rgba(236, 222, 209, 0.8);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98), rgba(255, 249, 242, 0.96));
  box-shadow: 0 22px 46px rgba(26, 20, 16, 0.2);
}

.admin-modern .admin-nav a {
  min-height: 50px;
  grid-template-columns: 38px minmax(0, 1fr);
  padding: 8px 12px;
  border-radius: 8px;
  color: #5d5147;
  font-size: 15px;
  font-weight: 800;
}

.admin-modern .admin-nav a:hover {
  background: #fff6ee;
  color: #3b2f27;
  transform: none;
}

.admin-modern .admin-nav a.is-active {
  background: linear-gradient(135deg, #fff1e6, #f9e6d5);
  border-color: #eed0b7;
  color: #4b3022;
  box-shadow: 0 12px 28px rgba(184, 116, 72, 0.16);
}

.admin-modern .admin-nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff7ef;
  color: #9d6748;
}

.admin-modern .admin-nav a.is-active .admin-nav-icon {
  background: #fffaf6;
  color: #b16639;
}

.admin-modern .admin-user-panel {
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .admin-modern .admin-sidebar::after {
    display: none;
  }

  .admin-modern .admin-nav {
    margin: 16px 0 0;
    overflow-x: auto;
  }
}

/* Admin top user and polished stat icons */
.admin-header-user {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 7px 12px 7px 7px;
  border: 1px solid #eadbcf;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 30px rgba(76, 56, 42, 0.08);
  white-space: nowrap;
}

.admin-header-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1dac7, #fff7ef);
  color: #5a3827;
  font-size: 17px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(166, 105, 66, 0.12);
}

.admin-header-user-text strong,
.admin-header-user-text span {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-header-user-text strong {
  color: #302923;
  font-size: 15px;
  line-height: 1.2;
}

.admin-header-user-text span {
  margin-top: 2px;
  color: #7a6d61;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.admin-modern .admin-stat-icon {
  background: linear-gradient(135deg, #faeadb, #efd6bf);
  color: #a6633d;
  box-shadow: inset 0 0 0 1px rgba(178, 111, 66, 0.1), 0 10px 22px rgba(169, 103, 64, 0.09);
}

.admin-modern .admin-stat-icon svg {
  width: 33px;
  height: 33px;
  stroke-width: 2.25;
}

.admin-modern .admin-stat-card:hover .admin-stat-icon {
  background: linear-gradient(135deg, #f7dfc9, #eecba9);
  color: #95542f;
}

@media (max-width: 1280px) {
  .admin-header-user {
    order: 3;
  }
}

@media (max-width: 760px) {
  .admin-dashboard-actions {
    gap: 10px;
  }

  .admin-header-user {
    width: 100%;
    border-radius: 8px;
  }

  .admin-header-user-text strong,
  .admin-header-user-text span {
    max-width: none;
  }
}

/* Dashboard header stacked user/tools layout */
.admin-dashboard-actions {
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: min(100%, 560px);
}

.admin-dashboard-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  width: 100%;
}

.admin-dashboard-tools .admin-quick-search {
  flex: 1 1 360px;
  width: auto;
  max-width: 420px;
}

.admin-dashboard-tools .admin-add-property {
  flex: 0 0 auto;
}

.admin-dashboard-actions .admin-header-user {
  min-width: 230px;
  max-width: 360px;
  justify-self: end;
}

.admin-dashboard-actions .admin-header-user-text strong,
.admin-dashboard-actions .admin-header-user-text span {
  max-width: 250px;
}

@media (max-width: 1280px) {
  .admin-header-user {
    order: initial;
  }
}

@media (max-width: 760px) {
  .admin-dashboard-actions {
    align-items: stretch;
    width: 100%;
  }

  .admin-dashboard-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-dashboard-tools .admin-quick-search,
  .admin-dashboard-tools .admin-add-property,
  .admin-dashboard-actions .admin-header-user {
    width: 100%;
    max-width: none;
  }
}

/* Sidebar brand logged-in name */
.admin-brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-brand-copy em {
  display: block;
  max-width: 160px;
  margin-top: 2px;
  overflow: hidden;
  color: rgba(255, 244, 232, 0.72);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-dashboard-actions:has(.admin-dashboard-tools:first-child) {
  justify-content: flex-end;
}

.admin-dashboard-actions > .admin-dashboard-tools:first-child {
  margin-top: 2px;
}

@supports not selector(:has(*)) {
  .admin-dashboard-actions {
    justify-content: flex-end;
  }
}

/* Refined admin stat icon set */
.admin-modern .admin-stat-icon {
  position: relative;
  width: 60px;
  height: 60px;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, #faeadb, #efd3b8);
  color: #a3623c;
  box-shadow:
    inset 0 0 0 1px rgba(167, 96, 55, 0.13),
    0 12px 26px rgba(169, 103, 64, 0.12);
}

.admin-modern .admin-stat-icon::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 1px solid rgba(164, 98, 60, 0.08);
}

.admin-modern .admin-stat-icon svg {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-modern .admin-stat-card:hover .admin-stat-icon {
  color: #8f4f2e;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(135deg, #f7dfc9, #ecc69f);
}

.admin-modern .admin-stat-house { color: #a96742; }
.admin-modern .admin-stat-key { color: #a15f39; }
.admin-modern .admin-stat-user { color: #a86b4d; }
.admin-modern .admin-stat-headset { color: #a66744; }
.admin-modern .admin-stat-calendar { color: #a16038; }

/* Leads table without image-count column */
.leads-table {
  min-width: 900px;
}

.leads-table th:nth-child(5),
.leads-table td:nth-child(5) {
  width: 260px;
}

.leads-table th:nth-child(6),
.leads-table td:nth-child(6) {
  width: 120px;
}

.leads-table th:nth-child(7),
.leads-table td:nth-child(7) {
  width: 150px;
}

.leads-table th:nth-child(8),
.leads-table td:nth-child(8) {
  width: 92px;
}

/* Keep lead action column inside the card */
.leads-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.leads-table th:nth-child(1),
.leads-table td:nth-child(1) {
  width: 18%;
}

.leads-table th:nth-child(2),
.leads-table td:nth-child(2),
.leads-table th:nth-child(3),
.leads-table td:nth-child(3) {
  width: 10%;
}

.leads-table th:nth-child(4),
.leads-table td:nth-child(4) {
  display: none;
}

.leads-table th:nth-child(5),
.leads-table td:nth-child(5) {
  width: 27%;
}

.leads-table th:nth-child(6),
.leads-table td:nth-child(6) {
  width: 11%;
}

.leads-table th:nth-child(7),
.leads-table td:nth-child(7) {
  width: 12%;
}

.leads-table th:nth-child(8),
.leads-table td:nth-child(8) {
  width: 12%;
  min-width: 132px;
  padding-right: 18px;
  text-align: right;
}

.leads-table .actions-cell {
  position: relative;
  overflow: visible;
}

.leads-table .lead-action-menu {
  min-width: 112px;
  max-width: 100%;
}

.leads-table .lead-action-menu summary {
  min-width: 104px;
  max-width: 100%;
}

.leads-table .lead-action-panel {
  right: 18px;
  left: auto;
  width: min(160px, calc(100vw - 48px));
}

@media (max-width: 900px) {
  .leads-table {
    min-width: 860px;
  }
}

/* Language selector opens by click, matching social dropdown behavior */
.language-dropdown .language-current {
  cursor: pointer;
}

.language-dropdown:not(.is-open) .language-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-4px) !important;
  pointer-events: none !important;
}

.language-dropdown.is-open .language-current {
  background: #082f59;
  border-color: #082f59;
  box-shadow: 0 14px 28px rgba(8, 47, 89, 0.18);
  transform: translateY(-1px);
}

.language-dropdown.is-open .language-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Phatara homepage redesign */
body:not(.admin-body) {
  background: #fff;
}

body:not(.admin-body) .site-header {
  min-height: 90px;
  padding: 12px clamp(20px, 5vw, 64px);
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid rgba(13, 50, 86, 0.08);
  box-shadow: 0 14px 34px rgba(13, 50, 86, 0.08);
}

body:not(.admin-body) .site-header .brand-image {
  width: 88px;
  height: 72px;
}

body:not(.admin-body) .brand strong {
  color: #0a315d;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body:not(.admin-body) .brand small {
  color: #d88916;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.32em;
}

body:not(.admin-body) .site-header nav {
  gap: clamp(16px, 2.1vw, 34px);
  margin-left: clamp(24px, 5vw, 76px);
  color: #0d3158;
  font-size: 14px;
}

body:not(.admin-body) .site-header nav a {
  position: relative;
  padding: 12px 0;
}

body:not(.admin-body) .site-header nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: #e59017;
  opacity: 0;
  transform: scaleX(0.5);
  transition: 0.2s ease;
}

body:not(.admin-body) .site-header nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

body:not(.admin-body) .header-action {
  min-height: 40px;
  gap: 8px;
  padding: 5px 15px 5px 7px;
  border: 1px solid rgba(229, 139, 19, 0.4);
  border-radius: 999px;
  color: #0a315d;
  background: #fffaf2;
  box-shadow: 0 10px 22px rgba(229, 139, 19, 0.1);
  font-size: 16px;
  font-weight: 900;
}

body:not(.admin-body) .header-action::before {
  flex-basis: 28px;
  width: 28px;
  height: 28px;
  background: #f4e3cc;
  font-size: 14px;
}

body:not(.admin-body) .header-action:hover {
  border-color: rgba(229, 139, 19, 0.62);
  box-shadow: 0 14px 26px rgba(229, 139, 19, 0.15);
}

body:not(.admin-body) .phone-choice-trigger {
  cursor: pointer;
}

body:not(.admin-body) .phone-choice-trigger > span {
  line-height: 1;
}

body:not(.admin-body) .phone-choice-trigger > i {
  width: 7px;
  height: 7px;
  margin: 0 1px 4px 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease, margin 0.18s ease;
}

body:not(.admin-body) .phone-choice.is-open .phone-choice-trigger > i {
  margin-top: 5px;
  margin-bottom: 0;
  transform: rotate(225deg);
}

body:not(.admin-body) .phone-choice-menu {
  min-width: 220px;
}

body:not(.admin-body) .phone-choice-menu a {
  padding: 10px 12px;
}

body:not(.admin-body) .phone-choice-menu small {
  color: #0a315d;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 760px) {
  body:not(.admin-body) .phone-choice {
    display: none;
  }
}

body:not(.admin-body) .language-current {
  min-width: 74px;
  min-height: 40px;
  padding: 7px 13px;
  color: var(--ink-strong);
  background: oklch(0.96 0.018 72);
  border-color: oklch(0.86 0.032 58);
  box-shadow: 0 10px 22px rgba(114, 92, 62, 0.1);
  font-size: 13px;
}

body:not(.admin-body) .language-current:hover,
body:not(.admin-body) .language-switch:focus-within .language-current,
body:not(.admin-body) .language-dropdown.is-open .language-current {
  color: var(--ink-strong);
  background: #fff;
  border-color: oklch(0.78 0.038 55);
  box-shadow: 0 14px 28px rgba(114, 92, 62, 0.14);
}

body:not(.admin-body) .header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, #f2a11e, #d97a0d);
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(220, 127, 15, 0.25);
}

.phatara-home {
  --ph-blue: #082f59;
  --ph-blue-2: #0d3f73;
  --ph-orange: #e58b13;
  --ph-orange-2: #f2a51e;
  --ph-cream: #fff;
  --ph-line: rgba(13, 50, 86, 0.12);
  color: var(--ph-blue);
  background: #fff;
}

.ph-home-hero {
  position: relative;
  min-height: clamp(560px, 63vw, 720px);
  overflow: hidden;
  isolation: isolate;
}

.ph-home-hero.ph-home-hero-banner {
  min-height: 0;
  background: #fff;
  line-height: 0;
}

.ph-home-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.ph-hero-bg,
.ph-hero-overlay {
  position: absolute;
  inset: 0;
}

.ph-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.02);
}

.ph-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.9) 34%, rgba(251, 247, 239, 0.42) 61%, rgba(251, 247, 239, 0.1) 100%),
    linear-gradient(180deg, rgba(251, 247, 239, 0.12), rgba(251, 247, 239, 0.84));
}

.ph-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  min-height: inherit;
  padding: clamp(62px, 9vw, 116px) clamp(22px, 6vw, 88px) 140px;
}

.ph-hero-copy {
  width: min(650px, 100%);
}

.ph-hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 0 24px;
  padding: 6px 18px;
  border: 1px solid rgba(229, 139, 19, 0.52);
  border-radius: 8px;
  color: #b36b0e;
  background: rgba(255, 253, 248, 0.72);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 900;
}

.ph-hero-copy h1 {
  margin: 0;
  color: var(--ph-blue);
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.ph-hero-copy h1 span {
  color: var(--ph-orange);
}

.ph-hero-lead {
  max-width: 620px;
  margin: 22px 0 24px;
  color: #102f4f;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.65;
}

.ph-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(760px, 100%);
  overflow: hidden;
  border: 1px solid rgba(13, 50, 86, 0.12);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 20px 42px rgba(13, 50, 86, 0.1);
  backdrop-filter: blur(10px);
}

.ph-trust-strip div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 2px 10px;
  align-items: center;
  min-height: 82px;
  padding: 14px 16px;
  border-right: 1px solid rgba(13, 50, 86, 0.08);
}

.ph-trust-strip div:last-child {
  border-right: 0;
}

.ph-trust-icon {
  grid-row: span 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid rgba(229, 139, 19, 0.55);
  border-radius: 50%;
  color: var(--ph-orange);
  font-size: 18px;
  font-weight: 900;
}

.ph-trust-strip strong {
  color: var(--ph-blue);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.ph-trust-strip small {
  color: #63758a;
  font-size: 12px;
  font-weight: 800;
}

.ph-search-shell {
  position: relative;
  z-index: 4;
  width: min(1120px, calc(100% - 44px));
  margin: -82px auto 0;
}

.ph-home-hero-banner + .ph-search-shell {
  margin-top: clamp(18px, 2.4vw, 34px);
}

.ph-search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr 1fr auto;
  gap: 18px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(13, 50, 86, 0.1);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 12px 30px rgba(13, 50, 86, 0.08);
}

.ph-search-panel label,
.ph-search-panel .location-autocomplete {
  min-width: 0;
}

.ph-search-panel label > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ph-blue);
  font-size: 13px;
  font-weight: 900;
}

.ph-search-panel input,
.ph-search-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(13, 50, 86, 0.12);
  border-radius: 7px;
  color: #24384d;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: none;
}

.ph-search-panel button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 174px;
  height: 48px;
  min-height: 48px;
  padding: 9px 18px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--ph-orange-2), #dc7e0d);
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(220, 127, 15, 0.24);
  cursor: pointer;
}

.ph-search-panel button[type="submit"] span[aria-hidden="true"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: #fff;
  line-height: 1;
}

.ph-search-panel button[type="submit"] span[aria-hidden="true"] svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-section {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(44px, 6vw, 70px) 0;
}

.ph-section-heading.centered {
  margin-bottom: 26px;
  text-align: center;
}

.ph-section-heading h2 {
  margin: 0;
  color: var(--ph-blue);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.2;
}

.ph-category-grid,
.ph-property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.ph-category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border: 1px solid rgba(13, 50, 86, 0.1);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(13, 50, 86, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ph-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(13, 50, 86, 0.12);
}

.ph-category-card img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.ph-category-icon {
  position: absolute;
  left: 18px;
  top: 108px;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--ph-blue);
  box-shadow: 0 12px 24px rgba(13, 50, 86, 0.22);
}

.ph-category-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.ph-category-card strong {
  display: block;
  margin: 34px 18px 4px 88px;
  color: var(--ph-blue);
  font-size: 16px;
  font-weight: 900;
}

.ph-category-card small {
  display: block;
  margin: 0 18px 16px 88px;
  color: #6b7a88;
  font-size: 12px;
  font-weight: 800;
}

.ph-featured-section {
  padding-top: 18px;
}

.ph-property-grid .property-card {
  border-radius: 9px;
  box-shadow: 0 18px 34px rgba(13, 50, 86, 0.08);
}

.ph-property-grid .property-image {
  aspect-ratio: 1.42;
}

.ph-property-grid .property-image img {
  height: 100%;
}

.ph-property-grid .property-body {
  padding: 16px 16px 14px;
}

.ph-property-grid .property-body h3 {
  min-height: 48px;
  color: var(--ph-blue);
  font-size: 15px;
  line-height: 1.45;
}

.ph-property-grid .property-price,
.ph-property-grid .property-price-line {
  color: var(--ph-orange) !important;
  font-size: 22px;
  font-weight: 900;
}

.ph-property-grid .property-category-badge {
  background: linear-gradient(135deg, var(--ph-orange-2), #df8110);
  color: #fff;
}

.ph-property-grid .card-actions {
  display: none;
}

.ph-section-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.ph-primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 46px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--ph-orange-2), #db7d0d);
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(220, 127, 15, 0.24);
}

.ph-about-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  gap: 42px;
  align-items: center;
  padding-top: 26px;
}

.ph-about-copy h2 {
  margin: 0 0 12px;
  color: var(--ph-blue);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.15;
}

.ph-about-copy p:not(.eyebrow) {
  color: #32485d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.ph-about-copy ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.ph-about-copy li {
  position: relative;
  padding-left: 30px;
  color: #223c55;
  font-size: 15px;
  font-weight: 800;
}

.ph-about-copy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ph-orange);
  font-size: 12px;
}

.ph-about-side {
  display: grid;
  gap: 18px;
}

.ph-stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(218, 150, 45, 0.2);
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(135deg, #05182e 0%, #082f59 58%, #061f3d 100%);
  box-shadow: 0 26px 52px rgba(8, 47, 89, 0.24);
}

.ph-stats-panel div {
  display: grid;
  gap: 7px;
  justify-items: center;
  align-content: center;
  min-width: 0;
  min-height: 130px;
  padding: 16px 14px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  text-align: center;
}

.ph-stats-panel div:last-child {
  border-right: 0;
}

.ph-stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1.5px solid #d89628;
  border-radius: 999px;
  color: #f2a51e;
  background: rgba(242, 165, 30, 0.08);
  box-shadow: none;
}

.ph-stat-icon svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-stats-panel strong {
  color: #fffdf8;
  max-width: 100%;
  font-size: clamp(21px, 1.95vw, 30px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.ph-stats-panel small {
  color: rgba(255, 255, 255, 0.78);
  max-width: 10em;
  font-size: clamp(11px, 0.82vw, 13px);
  font-weight: 900;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.ph-consult-card {
  display: grid;
  grid-template-columns: 1fr minmax(230px, 0.62fr);
  gap: 20px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(229, 139, 19, 0.2);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 18px 34px rgba(13, 50, 86, 0.08);
}

.ph-consult-card h3 {
  margin: 0 0 6px;
  color: var(--ph-blue);
  font-size: 22px;
  font-weight: 900;
}

.ph-consult-card p {
  margin: 0 0 14px;
  color: #52687c;
  font-weight: 800;
}

.ph-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  color: #42586d;
  font-size: 13px;
  font-weight: 800;
}

.ph-call-card {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding-left: 20px;
  border-left: 1px solid rgba(229, 139, 19, 0.24);
  text-align: center;
}

.ph-call-card span {
  color: var(--ph-orange);
  font-size: 34px;
}

.ph-call-card strong {
  color: var(--ph-blue);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.ph-call-card small {
  color: #52687c;
  font-size: 13px;
  font-weight: 800;
}

.ph-call-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  border-radius: 7px;
  color: #fff;
  background: linear-gradient(135deg, var(--ph-orange-2), #db7d0d);
  font-weight: 900;
}

body:not(.admin-body) .site-footer {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.82);
  background: #082f59;
  border-top: 0;
}

body:not(.admin-body) .site-footer h3,
body:not(.admin-body) .site-footer .brand strong {
  color: #fff;
}

body:not(.admin-body) .site-footer a,
body:not(.admin-body) .site-footer p,
body:not(.admin-body) .footer-bottom {
  color: rgba(255, 255, 255, 0.76);
}

body:not(.admin-body) .site-footer a:hover {
  color: #f2a51e;
}

@media (max-width: 1100px) {
  body:not(.admin-body) .site-header {
    flex-wrap: wrap;
  }

  body:not(.admin-body) .site-header nav {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: center;
  }

  .ph-trust-strip,
  .ph-search-panel,
  .ph-about-band,
  .ph-consult-card {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  body:not(.admin-body) .site-header {
    position: relative;
    min-height: 0;
  }

  body:not(.admin-body) .site-header nav {
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  body:not(.admin-body) .header-tools {
    width: 100%;
    justify-content: space-between;
  }

  body:not(.admin-body) .header-cta {
    min-height: 38px;
    padding: 0 16px;
  }

  .ph-home-hero {
    min-height: 640px;
  }

  .ph-hero-inner {
    padding: 44px 20px 150px;
  }

  .ph-hero-overlay {
    background: linear-gradient(180deg, rgba(251, 247, 239, 0.96), rgba(251, 247, 239, 0.72));
  }

  .ph-trust-strip,
  .ph-search-panel,
  .ph-about-band,
  .ph-consult-card,
  .ph-stats-panel,
  .ph-check-grid {
    grid-template-columns: 1fr;
  }

  .ph-trust-strip div,
  .ph-stats-panel div {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 50, 86, 0.08);
  }

  .ph-stats-panel div {
    min-height: 118px;
    border-bottom-color: rgba(255, 255, 255, 0.13);
  }

  .ph-search-shell,
  .ph-section {
    width: min(100% - 28px, 1120px);
  }

  .ph-search-panel {
    padding: 16px;
  }

  .ph-search-panel button[type="submit"] {
    width: 100%;
  }

  .ph-category-grid,
  .ph-property-grid {
    grid-template-columns: 1fr;
  }

  .ph-call-card {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid rgba(229, 139, 19, 0.24);
    border-left: 0;
  }
}

/* Phatara admin dashboard refresh */
.admin-body.admin-modern {
  --admin-navy: #082f59;
  --admin-navy-2: #0c3d70;
  --admin-orange: #e58b13;
  --admin-orange-2: #f2a11d;
  --admin-cream: #fff;
  --admin-card: #fffdf9;
  --admin-line: rgba(8, 47, 89, 0.1);
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 100vh;
  color: #0a315d;
  background: #fff;
  font-family: "Noto Sans Thai", system-ui, sans-serif;
}

.admin-modern .admin-sidebar {
  position: sticky;
  top: 0;
  width: 300px;
  min-height: 100vh;
  padding: 18px 14px 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 47, 89, 0.98), rgba(5, 34, 65, 0.98)),
    radial-gradient(circle at 20% 0%, rgba(229, 139, 19, 0.12), transparent 28%);
  box-shadow: 24px 0 60px rgba(8, 47, 89, 0.13);
}

.admin-modern .admin-sidebar::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -8px;
  left: 24px;
  height: 240px;
  opacity: 0.42;
  background:
    linear-gradient(135deg, transparent 44%, rgba(229, 139, 19, 0.32) 45% 46%, transparent 47%),
    radial-gradient(ellipse at bottom, rgba(229, 139, 19, 0.2), transparent 68%);
  border-bottom-left-radius: 42px;
  pointer-events: none;
}

.admin-modern .admin-brand {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  align-items: center;
  margin: 0 0 28px;
  padding: 0 0 0 2px;
}

.admin-modern .admin-brand .brand-image {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.18);
}

.admin-modern .admin-brand strong {
  color: #fff;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

.admin-modern .admin-brand small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}

.admin-brand-copy em {
  max-width: none;
  color: rgba(255, 255, 255, 0.58);
}

.admin-modern .admin-nav {
  position: relative;
  z-index: 1;
  gap: 10px;
}

.admin-modern .admin-nav a {
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font-size: 16px;
  font-weight: 800;
}

.admin-modern .admin-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.admin-modern .admin-nav a.is-active {
  color: var(--admin-orange);
  background: #fffdf9;
  border-color: rgba(229, 139, 19, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.admin-modern .admin-nav-icon {
  width: 30px;
  height: 30px;
  color: currentColor;
}

.admin-modern .admin-nav-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.admin-modern .admin-user-panel {
  display: none;
}

.admin-modern .admin-main {
  width: min(100%, 1540px);
  padding: 30px 36px 44px;
  background: transparent;
}

.admin-dashboard-header {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(620px, auto);
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}

.admin-dashboard-header .eyebrow {
  margin-bottom: 4px;
  color: var(--admin-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.admin-dashboard-header h1 {
  margin: 0;
  color: var(--admin-navy);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.1;
}

.admin-dashboard-subtitle {
  display: none;
}

.admin-dashboard-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  min-width: 0;
}

.admin-dashboard-tools {
  display: grid;
  grid-template-columns: minmax(250px, 330px) 48px minmax(190px, auto) auto;
  gap: 18px;
  align-items: center;
  justify-content: end;
  width: 100%;
}

.admin-dashboard-tools .admin-quick-search {
  position: relative;
  width: 100%;
  max-width: none;
}

.admin-quick-search svg {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  fill: none;
  stroke: #7b8a99;
  stroke-width: 2;
}

.admin-quick-search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px 0 52px;
  border: 1px solid rgba(8, 47, 89, 0.12);
  border-radius: 11px;
  color: var(--admin-navy);
  background: rgba(255, 253, 249, 0.92);
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(8, 47, 89, 0.06);
}

.admin-notification-button {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: var(--admin-navy);
  background: transparent;
}

.admin-notification-button svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.admin-notification-button span {
  position: absolute;
  top: 1px;
  right: 3px;
  display: grid;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--admin-orange);
  font-size: 11px;
  font-weight: 900;
}

.admin-header-user {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  align-items: center;
}

.admin-header-avatar {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #e58b13, #0a315d);
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 14px 26px rgba(8, 47, 89, 0.14);
}

.admin-header-user-text {
  display: grid;
  min-width: 0;
}

.admin-header-user-text strong {
  color: var(--admin-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.admin-header-user-text span {
  color: #6d7f91;
  font-size: 13px;
  font-weight: 800;
}

.admin-dashboard-tools .admin-add-property {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, var(--admin-orange-2), #df7e0d);
  box-shadow: 0 10px 22px rgba(229, 139, 19, 0.2);
  font-size: 14px;
  line-height: 1;
}

.admin-dashboard-tools .admin-add-property::before {
  content: "+";
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 7px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}

.admin-modern-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.admin-stat-card,
.admin-panel {
  border: 1px solid rgba(8, 47, 89, 0.08);
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 16px 42px rgba(8, 47, 89, 0.08);
}

.admin-stat-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 22px 24px;
}

.admin-modern .admin-stat-icon {
  width: 54px;
  height: 54px;
  color: var(--admin-orange);
  background: #fff1df;
  border: 1px solid rgba(229, 139, 19, 0.16);
  box-shadow: none;
}

.admin-modern .admin-stat-icon::after {
  display: none;
}

.admin-modern .admin-stat-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.25;
}

.admin-modern .admin-stat-card:hover .admin-stat-icon {
  color: #d98412;
  background: #ffe9cf;
  border-color: rgba(229, 139, 19, 0.28);
  box-shadow: none;
}

.admin-stat-meta {
  display: grid;
}

.admin-stat-meta strong {
  order: -1;
  color: var(--admin-navy);
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
}

.admin-stat-meta small {
  margin-top: 8px;
  color: #213a53;
  font-size: 15px;
  font-weight: 900;
}

.admin-stat-meta em {
  margin-top: 10px;
  color: #2f9a62;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.35fr) minmax(360px, 1.25fr) minmax(280px, 0.85fr);
  gap: 16px;
  margin-bottom: 16px;
}

.admin-dashboard-grid-bottom {
  display: grid;
  grid-template-columns: minmax(560px, 1.35fr) minmax(430px, 0.95fr);
}

.admin-panel {
  padding: 20px;
}

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

.admin-panel-heading h2 {
  margin: 0;
  color: var(--admin-navy);
  font-size: 20px;
  font-weight: 900;
}

.admin-panel-heading a,
.admin-panel-heading button {
  border: 1px solid rgba(8, 47, 89, 0.1);
  border-radius: 8px;
  color: #9b6218;
  background: rgba(255, 253, 249, 0.92);
  font-size: 13px;
  font-weight: 900;
}

.admin-panel-heading button {
  min-height: 34px;
  padding: 0 12px;
}

.admin-status-layout {
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
}

.admin-donut {
  width: 188px;
  height: 188px;
  background:
    radial-gradient(circle, #fffdf9 0 44%, transparent 45%),
    conic-gradient(
      var(--admin-navy) 0 var(--available-end),
      #e8ad42 var(--available-end) var(--reserved-end),
      var(--admin-orange) var(--reserved-end) var(--sold-end),
      #efd1a6 var(--sold-end) var(--rented-end),
      #b8bcc1 var(--rented-end) var(--hidden-end),
      #e5e7eb var(--hidden-end) 100%
    );
}

.admin-donut span {
  color: var(--admin-navy);
  font-size: 30px;
  font-weight: 900;
}

.admin-donut small {
  color: #526579;
  font-weight: 900;
}

.admin-status-list {
  gap: 13px;
}

.admin-status-list div {
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  padding: 0;
  border: 0;
}

.admin-status-list strong {
  color: #203953;
  font-weight: 900;
}

.admin-status-list em {
  color: #233b54;
  font-weight: 800;
}

.dot.is-available { background: var(--admin-navy); }
.dot.is-reserved { background: #e8ad42; }
.dot.is-sold { background: var(--admin-orange); }
.dot.is-rented { background: #efd1a6; }
.dot.is-hidden { background: #b8bcc1; }

.admin-trend-chart {
  min-height: 234px;
}

.admin-trend-chart svg {
  display: block;
  width: 100%;
  height: 250px;
}

.admin-chart-grid path {
  fill: none;
  stroke: rgba(8, 47, 89, 0.08);
  stroke-width: 1;
}

.admin-chart-area {
  fill: url(#leadTrendFill);
}

.admin-chart-line {
  fill: none;
  stroke: var(--admin-orange);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-chart-points circle {
  fill: var(--admin-orange);
  stroke: #fff;
  stroke-width: 4;
}

.admin-chart-values text,
.admin-chart-labels text {
  fill: #526579;
  font-size: 17px;
  font-weight: 800;
  text-anchor: middle;
}

.admin-chart-values text {
  fill: #203953;
  font-size: 15px;
}

.admin-task-list {
  gap: 12px;
}

.admin-task-list a {
  min-height: 58px;
  padding: 0 14px;
  border: 1px solid rgba(8, 47, 89, 0.08);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.72);
}

.admin-task-list span {
  color: #203953;
  font-weight: 900;
}

.admin-task-list strong {
  color: var(--admin-orange);
  font-weight: 900;
}

.admin-dashboard-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-dashboard-table th {
  padding: 14px 12px;
  color: #657789;
  background: rgba(8, 47, 89, 0.04);
  font-size: 13px;
  font-weight: 900;
}

.admin-dashboard-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(8, 47, 89, 0.07);
  color: #263d55;
  font-size: 13px;
  font-weight: 700;
}

.admin-status-chip,
.mini-action {
  border-radius: 8px;
  color: #9b6218;
  background: #fff2dc;
  font-weight: 900;
}

.admin-latest-properties {
  gap: 14px;
}

.admin-latest-property {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(8, 47, 89, 0.08);
  border-radius: 10px;
  background: rgba(255, 253, 249, 0.78);
}

.admin-latest-property img {
  width: 150px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}

.admin-latest-property strong {
  color: var(--admin-navy);
  font-size: 17px;
  font-weight: 900;
}

.admin-latest-property small {
  color: #607387;
  font-size: 13px;
  font-weight: 800;
}

.admin-latest-property b {
  align-self: start;
  min-width: 48px;
  padding: 5px 10px;
  border-radius: 6px;
  color: #fff;
  background: var(--admin-orange);
  text-align: center;
}

.admin-dashboard-price .admin-price-sale,
.admin-dashboard-price .admin-price-rent,
.admin-latest-property-price {
  color: var(--admin-orange);
  font-size: 18px;
  font-weight: 900;
}

@media (max-width: 1280px) {
  .admin-body.admin-modern {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .admin-modern .admin-sidebar {
    width: 260px;
  }

  .admin-dashboard-header,
  .admin-dashboard-grid,
  .admin-dashboard-grid-bottom {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .admin-body.admin-modern {
    display: block;
  }

  .admin-modern .admin-sidebar {
    position: relative;
    width: 100%;
    min-height: auto;
  }

  .admin-modern .admin-main {
    padding: 20px 14px 32px;
  }

  .admin-dashboard-tools,
  .admin-modern-stats,
  .admin-status-layout,
  .admin-latest-property {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-tools {
    justify-content: stretch;
  }

  .admin-notification-button {
    justify-self: start;
  }

  .admin-latest-property img {
    width: 100%;
    height: 180px;
  }
}

/* Homepage property carousels inspired by the original Wara layout */
body:not(.admin-body) .header-social {
  gap: 10px;
}

body:not(.admin-body) .header-social .social-icon {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
  box-shadow: none;
}

body:not(.admin-body) .header-social .social-icon svg {
  width: 21px;
  height: 21px;
}

body:not(.admin-body) .header-social .social-facebook {
  background: #3478f6;
}

body:not(.admin-body) .header-social .social-line {
  background: #4fc35b;
}

.ph-home-category-menu {
  position: relative;
  z-index: 5;
  width: min(1120px, calc(100% - 44px));
  max-width: 1120px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 18px;
  margin: clamp(22px, 2.8vw, 32px) auto clamp(16px, 2.4vw, 24px);
  padding: 0;
}

.ph-home-category-menu .category-menu-item {
  min-height: 42px;
  padding: 6px 34px 6px 38px;
  border-color: rgba(8, 47, 89, 0.13);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(8, 47, 89, 0.045);
}

.ph-home-category-menu .category-menu-icon {
  left: 14px;
  width: 24px;
  height: 24px;
}

.ph-home-category-menu .category-menu-icon svg {
  width: 14px;
  height: 14px;
}

.ph-home-category-menu .category-menu-item strong {
  color: var(--ph-blue, #082f59);
  font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 800;
  text-align: center;
}

.ph-home-property-section {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 54px) 0;
  background: transparent;
}

.ph-home-property-section + .ph-home-property-section,
.ph-home-property-section + .category-showcase,
.category-showcase + .category-showcase {
  padding-top: clamp(12px, 2vw, 26px);
}

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

.ph-home-section-head .eyebrow {
  margin: 0 0 4px;
  color: #c46f0e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.ph-home-section-head h2 {
  margin: 0;
  color: var(--ph-blue, #082f59);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.1;
}

.ph-home-section-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.ph-home-section-actions > a {
  color: #c46f0e;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.ph-home-section-actions > a:hover {
  color: var(--ph-blue, #082f59);
}

.ph-property-carousel {
  width: 100%;
  overflow: hidden;
}

.ph-property-carousel .related-track {
  grid-auto-columns: calc((100% - 54px) / 4);
  gap: 18px;
  padding: 1px 1px 18px;
}

.ph-property-carousel .property-card {
  min-width: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.ph-property-carousel .property-image {
  aspect-ratio: 1.32;
}

.ph-property-carousel .property-body {
  padding: 16px;
}

.ph-property-carousel .property-published-date,
.ph-property-carousel .property-meta {
  font-size: 11px;
}

.ph-property-carousel .property-body h3 {
  min-height: 3.15em;
  font-size: 17px;
  line-height: 1.05;
}

.ph-property-carousel .property-price {
  font-size: 18px;
}

.ph-property-carousel .property-facts {
  gap: 6px;
}

.ph-property-carousel .property-facts li {
  padding: 5px 8px;
  font-size: 10px;
}

.ph-services-strip {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px) 0;
}

.ph-service-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ph-service-mini-grid a {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 96px;
  overflow: hidden;
  padding: 13px;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(8, 47, 89, 0.12), rgba(8, 47, 89, 0.8)),
    var(--service-bg) center/cover;
  box-shadow: 0 16px 30px rgba(8, 47, 89, 0.12);
}

.ph-service-mini-grid a:hover {
  transform: translateY(-2px);
}

.ph-service-mini-grid span {
  position: relative;
  z-index: 1;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 950;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

@media (max-width: 1020px) {
  .ph-property-carousel .related-track {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

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

@media (max-width: 700px) {
  .ph-home-property-section,
  .ph-services-strip {
    width: min(100% - 20px, 1280px);
  }

  .ph-home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ph-property-carousel .related-track {
    grid-auto-columns: minmax(260px, 86%);
  }

  .ph-service-mini-grid {
    grid-template-columns: 1fr;
  }
}

/* Final sidebar match to the Phatara Admin reference */
.admin-body.admin-modern .admin-sidebar {
  position: sticky;
  top: 0;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: 300px;
  min-height: 100vh;
  padding: 18px 14px 22px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 43, 82, 0.98), rgba(5, 36, 70, 0.99)),
    #082f59;
  border: 0;
  box-shadow: 24px 0 54px rgba(8, 47, 89, 0.16);
  backdrop-filter: none;
}

.admin-body.admin-modern .admin-sidebar::before {
  content: "";
  position: absolute;
  inset: auto -40px -28px 18px;
  z-index: 0;
  height: 230px;
  opacity: 0.34;
  background:
    linear-gradient(135deg, transparent 44%, rgba(229, 139, 19, 0.38) 45% 46%, transparent 47%),
    radial-gradient(ellipse at bottom, rgba(229, 139, 19, 0.16), transparent 66%);
  pointer-events: none;
}

.admin-body.admin-modern .admin-sidebar::after {
  display: none !important;
}

.admin-body.admin-modern .admin-brand,
.admin-body.admin-modern .admin-nav {
  position: relative;
  z-index: 2;
}

.admin-body.admin-modern .admin-brand {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 0 0 28px;
  padding: 0;
  color: #fff;
}

.admin-body.admin-modern .admin-brand .brand-image {
  width: 78px;
  height: 78px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.admin-body.admin-modern .admin-brand strong {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
}

.admin-body.admin-modern .admin-brand small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.admin-body.admin-modern .admin-brand-copy em {
  display: none;
}

.admin-body.admin-modern .admin-nav {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 12px;
  margin-top: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.admin-body.admin-modern .admin-nav a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.96);
  background: transparent;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  transform: none;
}

.admin-body.admin-modern .admin-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
  transform: none;
}

.admin-body.admin-modern .admin-nav a.is-active {
  color: #d58416;
  background: #fffdf8;
  border-color: rgba(229, 139, 19, 0.26);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.admin-body.admin-modern .admin-nav-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  color: currentColor;
  background: rgba(255, 255, 255, 0.06);
}

.admin-body.admin-modern .admin-nav a.is-active .admin-nav-icon {
  color: #c77a18;
  background: rgba(229, 139, 19, 0.08);
}

.admin-body.admin-modern .admin-nav-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-body.admin-modern .admin-nav a[href="logout.php"] {
  margin-top: 0;
}

/* Compact flat admin sidebar */
.admin-body.admin-modern .admin-sidebar {
  width: 268px;
  padding: 16px 12px 18px;
  background: #082f59;
  box-shadow: none;
}

.admin-body.admin-modern .admin-sidebar::before {
  display: none;
}

.admin-body.admin-modern .admin-brand {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 22px;
  padding: 4px 4px 8px;
}

.admin-body.admin-modern .admin-brand .brand-image {
  width: 64px;
  height: 64px;
  border-radius: 10px;
}

.admin-body.admin-modern .admin-brand-copy {
  min-width: 0;
}

.admin-body.admin-modern .admin-brand strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-body.admin-modern .admin-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 750;
}

.admin-body.admin-modern .admin-nav {
  flex: 1;
  gap: 7px;
}

.admin-body.admin-modern .admin-nav a {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
}

.admin-body.admin-modern .admin-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border-color: transparent;
}

.admin-body.admin-modern .admin-nav a.is-active {
  color: #d88916;
  background: #fff8ed;
  border-color: rgba(216, 137, 22, 0.18);
  box-shadow: none;
}

.admin-body.admin-modern .admin-nav-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.admin-body.admin-modern .admin-nav a.is-active .admin-nav-icon {
  color: #d88916;
  background: rgba(216, 137, 22, 0.1);
}

.admin-body.admin-modern .admin-nav-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.admin-body.admin-modern .admin-dashboard-actions .admin-header-user,
.admin-body.admin-modern .admin-brand-copy em {
  display: none;
}

.admin-body.admin-modern .admin-user-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
  color: #fff;
}

.admin-body.admin-modern .admin-user-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(216, 137, 22, 0.35);
  border-radius: 10px;
  background: #d88916;
  color: #fff;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  text-transform: uppercase;
}

.admin-body.admin-modern .admin-user-meta {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.admin-body.admin-modern .admin-user-meta span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
}

.admin-body.admin-modern .admin-user-meta strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-body.admin-modern .admin-user-meta small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.22;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-body.admin-modern .admin-dashboard-tools {
  grid-template-columns: minmax(360px, 520px) 52px minmax(210px, max-content);
  gap: 18px;
  align-items: center;
  justify-content: end;
}

.admin-body.admin-modern .admin-dashboard-tools .admin-quick-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 56px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(8, 47, 89, 0.14);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 14px 28px rgba(8, 47, 89, 0.05);
}

.admin-body.admin-modern .admin-dashboard-tools .admin-quick-search svg {
  position: static;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: 18px;
  transform: none;
  color: #708192;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  pointer-events: none;
}

.admin-body.admin-modern .admin-dashboard-tools .admin-quick-search input {
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0 18px 0 12px;
  border: 0;
  outline: 0;
  color: #082f59;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  font-weight: 750;
}

.admin-body.admin-modern .admin-dashboard-tools .admin-quick-search input::placeholder {
  color: rgba(8, 47, 89, 0.45);
}

.admin-body.admin-modern .admin-dashboard-tools .admin-quick-search:focus-within {
  border-color: rgba(216, 137, 22, 0.42);
  box-shadow: 0 0 0 4px rgba(216, 137, 22, 0.1);
}

.admin-body.admin-modern .admin-dashboard-tools .admin-notification-button {
  width: 52px;
  height: 52px;
  justify-self: center;
}

.admin-body.admin-modern .admin-dashboard-tools .admin-add-property {
  width: auto;
  min-height: 46px;
  padding: 0 16px;
  justify-self: end;
}

@media (max-width: 1180px) {
  .admin-body.admin-modern .admin-dashboard-tools {
    grid-template-columns: minmax(260px, 1fr) 52px;
    justify-content: stretch;
  }

  .admin-body.admin-modern .admin-dashboard-tools .admin-add-property {
    grid-column: 1 / -1;
    width: auto;
    justify-content: center;
    justify-self: end;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-modern .admin-dashboard-tools {
    grid-template-columns: 1fr;
  }

  .admin-body.admin-modern .admin-dashboard-tools .admin-notification-button {
    justify-self: start;
  }

  .admin-body.admin-modern .admin-dashboard-tools .admin-add-property {
    width: 100%;
    justify-self: stretch;
  }
}

/* Dashboard layout after removing mock trend chart */
.admin-body.admin-modern .admin-dashboard-grid {
  grid-template-columns: minmax(420px, 1.35fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
}

.admin-body.admin-modern .admin-dashboard-grid-bottom {
  grid-template-columns: minmax(560px, 1.35fr) minmax(420px, 0.9fr);
  gap: 18px;
}

.admin-body.admin-modern .admin-panel {
  min-width: 0;
}

.admin-body.admin-modern .admin-panel-heading {
  align-items: center;
  gap: 12px;
}

.admin-body.admin-modern .admin-panel-heading h2 {
  min-width: 0;
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.25;
}

.admin-body.admin-modern .admin-panel-heading a,
.admin-body.admin-modern .admin-panel-heading button,
.admin-body.admin-modern .text-link,
.admin-body.admin-modern .admin-status-chip,
.admin-body.admin-modern .mini-action,
.admin-body.admin-modern .admin-latest-property b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: max-content;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: visible;
  text-align: center;
}

.admin-body.admin-modern .admin-panel-heading a,
.admin-body.admin-modern .admin-panel-heading button,
.admin-body.admin-modern .text-link {
  align-self: center;
  color: #9b6218;
  background: #fffdf8;
  border: 1px solid rgba(154, 98, 24, 0.16);
  box-shadow: 0 8px 18px rgba(8, 47, 89, 0.04);
}

.admin-body.admin-modern .admin-status-chip {
  min-height: 30px;
  padding: 6px 12px;
  color: #9b6218;
  background: #fff2dc;
  border: 1px solid rgba(229, 139, 19, 0.16);
  font-size: 12px;
}

.admin-body.admin-modern .mini-action {
  min-height: 32px;
  padding: 6px 12px;
  color: #9b6218;
  background: #fff7e8;
  border: 1px solid rgba(229, 139, 19, 0.18);
  font-size: 12px;
}

.admin-body.admin-modern .admin-task-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 12px;
  min-height: 60px;
  padding: 10px 14px;
}

.admin-body.admin-modern .admin-task-list span,
.admin-body.admin-modern .admin-task-list strong,
.admin-body.admin-modern .admin-status-list strong,
.admin-body.admin-modern .admin-status-list em {
  min-width: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.admin-body.admin-modern .admin-task-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(229, 139, 19, 0.1);
  white-space: nowrap;
}

.admin-body.admin-modern .admin-status-layout {
  grid-template-columns: minmax(160px, 210px) minmax(0, 1fr);
}

.admin-body.admin-modern .admin-status-list div {
  grid-template-columns: 14px minmax(0, 1fr) max-content;
  align-items: center;
  min-height: 38px;
}

.admin-body.admin-modern .admin-dashboard-table th,
.admin-body.admin-modern .admin-dashboard-table td {
  vertical-align: middle;
  overflow: visible;
}

@media (max-width: 1280px) {
  .admin-body.admin-modern .admin-dashboard-grid,
  .admin-body.admin-modern .admin-dashboard-grid-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-body.admin-modern .admin-panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-body.admin-modern .admin-panel-heading a,
  .admin-body.admin-modern .admin-panel-heading button,
  .admin-body.admin-modern .text-link {
    align-self: flex-start;
  }

  .admin-body.admin-modern .admin-status-layout,
  .admin-body.admin-modern .admin-task-list a {
    grid-template-columns: 1fr;
  }

  .admin-body.admin-modern .admin-task-list strong {
    justify-self: start;
  }
}

/* Dashboard stat cards: compact reference layout */
.admin-body.admin-modern .admin-modern-stats {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: 8px;
  margin-bottom: 22px;
}

.admin-body.admin-modern .admin-stat-card {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-items: center;
  gap: 0 14px;
  min-height: 228px;
  padding: 24px 24px 22px;
  border: 1px solid rgba(8, 47, 89, 0.09);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 249, 0.95)),
    #fffdf9;
  box-shadow: 0 22px 54px rgba(8, 47, 89, 0.09);
}

.admin-body.admin-modern .admin-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 126, 17, 0.18);
  box-shadow: 0 26px 58px rgba(8, 47, 89, 0.12);
}

.admin-body.admin-modern .admin-stat-icon {
  grid-column: 1;
  grid-row: 1;
  width: 54px;
  height: 54px;
  color: #c67a09;
  background: #fff4e6;
  border: 1px solid rgba(198, 122, 9, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82);
}

.admin-body.admin-modern .admin-stat-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
}

.admin-body.admin-modern .admin-stat-house,
.admin-body.admin-modern .admin-stat-key {
  overflow: hidden;
}

.admin-body.admin-modern .admin-stat-user,
.admin-body.admin-modern .admin-stat-headset,
.admin-body.admin-modern .admin-stat-calendar {
  overflow: hidden;
}

.admin-body.admin-modern .admin-stat-icon .admin-reference-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform-origin: center;
}

.admin-body.admin-modern .admin-stat-house .admin-house-reference-image {
  transform: scale(0.9);
}

.admin-body.admin-modern .admin-stat-key .admin-key-reference-image,
.admin-body.admin-modern .admin-stat-user .admin-user-reference-image,
.admin-body.admin-modern .admin-stat-headset .admin-headset-reference-image,
.admin-body.admin-modern .admin-stat-calendar .admin-calendar-reference-image {
  transform: scale(1.65);
}

.admin-body.admin-modern .admin-stat-value {
  grid-column: 2;
  grid-row: 1;
  color: #082f59;
  font-size: clamp(30px, 2.45vw, 38px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 8px 18px rgba(8, 47, 89, 0.08);
}

.admin-body.admin-modern .admin-stat-title {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  margin-top: 18px;
  color: #082f59;
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.admin-body.admin-modern .admin-stat-foot {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(198, 122, 9, 0.2);
}

.admin-body.admin-modern .admin-stat-foot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #2d8742;
  border: 1px solid rgba(45, 135, 66, 0.18);
  border-radius: 50%;
  background: #eff8ef;
}

.admin-body.admin-modern .admin-stat-foot-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-body.admin-modern .admin-stat-foot em {
  color: #2d8742;
  font-size: clamp(13px, 0.95vw, 16px);
  font-style: normal;
  font-weight: 900;
  line-height: 1.55;
}

@media (max-width: 1480px) {
  .admin-body.admin-modern .admin-stat-card {
    grid-template-columns: 60px minmax(0, 1fr);
    min-height: 214px;
    padding: 22px 20px;
  }

  .admin-body.admin-modern .admin-stat-icon {
    width: 48px;
    height: 48px;
  }

  .admin-body.admin-modern .admin-stat-icon svg {
    width: 27px;
    height: 27px;
  }

  .admin-body.admin-modern .admin-stat-title {
    font-size: clamp(16px, 1.15vw, 19px);
  }

  .admin-body.admin-modern .admin-stat-foot em {
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (min-width: 1281px) and (max-width: 1380px) {
  .admin-body.admin-modern .admin-modern-stats {
    gap: 14px;
  }

  .admin-body.admin-modern .admin-stat-card {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 202px;
    padding: 20px 16px;
  }

  .admin-body.admin-modern .admin-stat-icon {
    width: 44px;
    height: 44px;
  }

  .admin-body.admin-modern .admin-stat-icon svg {
    width: 24px;
    height: 24px;
  }

  .admin-body.admin-modern .admin-stat-value {
    font-size: 32px;
  }

  .admin-body.admin-modern .admin-stat-title {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.28;
  }

  .admin-body.admin-modern .admin-stat-foot {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .admin-body.admin-modern .admin-stat-foot-icon {
    width: 34px;
    height: 34px;
  }

  .admin-body.admin-modern .admin-stat-foot-icon svg {
    width: 19px;
    height: 19px;
  }

  .admin-body.admin-modern .admin-stat-foot em {
    font-size: 12.5px;
    line-height: 1.45;
  }
}

@media (max-width: 1280px) {
  .admin-body.admin-modern .admin-modern-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .admin-body.admin-modern .admin-stat-card {
    min-height: 0;
  }
}

/* Final public heading scale override */
body:not(.admin-body) h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

body:not(.admin-body) h2 {
  font-size: clamp(25px, 2.8vw, 38px);
  line-height: 1.18;
}

body:not(.admin-body) .contact-hero h1,
body:not(.admin-body) .listing-hero h1,
body:not(.admin-body) .about-hero h1,
body:not(.admin-body) .about-profile-copy h1,
body:not(.admin-body) .services-hero-copy h1,
body:not(.admin-body) .ph-hero-copy h1 {
  max-width: 720px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.12;
}

body:not(.admin-body) .section-heading h2,
body:not(.admin-body) .services-section-heading h2,
body:not(.admin-body) .ph-section-heading h2,
body:not(.admin-body) .services-consult-copy h2,
body:not(.admin-body) .services-cta-copy h2 {
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.2;
}

body:not(.admin-body) .services-hero-copy p:not(.eyebrow),
body:not(.admin-body) .about-hero p,
body:not(.admin-body) .about-profile-copy p,
body:not(.admin-body) .ph-hero-copy p {
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.72;
}

@media (max-width: 700px) {
  body:not(.admin-body) h1,
  body:not(.admin-body) .contact-hero h1,
  body:not(.admin-body) .listing-hero h1,
  body:not(.admin-body) .about-hero h1,
  body:not(.admin-body) .about-profile-copy h1,
  body:not(.admin-body) .services-hero-copy h1,
  body:not(.admin-body) .ph-hero-copy h1 {
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.14;
  }

  body:not(.admin-body) h2,
  body:not(.admin-body) .section-heading h2,
  body:not(.admin-body) .services-section-heading h2,
  body:not(.admin-body) .ph-section-heading h2,
  body:not(.admin-body) .services-consult-copy h2,
  body:not(.admin-body) .services-cta-copy h2 {
    font-size: clamp(26px, 7vw, 36px);
  }
}

/* Contact page final sizing */
body:not(.admin-body) .contact-hero h1 {
  max-width: 720px;
  font-size: clamp(30px, 3.1vw, 40px);
  line-height: 1.14;
}

body:not(.admin-body) .contact-info h2 {
  max-width: 100%;
  font-size: clamp(24px, 2.35vw, 32px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
