: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;
}

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-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;
  background: transparent;
}

.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(420px, 100%);
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.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);
}
@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;
  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;
}

.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: 190px;
  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;
}

.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;
  white-space: nowrap;
}

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

@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 {
  min-height: 190px;
  border: 1px solid rgba(126, 95, 62, 0.18);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(55, 43, 34, 0.08);
}

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

.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-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(28px, 4vw, 54px);
  padding-bottom: clamp(28px, 4vw, 54px);
  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(180px, 22vw, 320px);
  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 .home-image-track {
    height: clamp(150px, 42vw, 220px);
  }
}
/* 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);
  min-height: clamp(430px, 42vw, 620px);
  overflow: hidden;
  background: #f8f2eb;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.92) 33%, rgba(255,255,255,0.32) 62%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

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

.services-hero-copy h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-size: clamp(44px, 5vw, 76px);
  line-height: 1.08;
  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-photo {
  min-height: 100%;
}

.services-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(430px, 42vw, 620px);
  object-fit: cover;
  object-position: center center;
}

.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: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.services-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 0;
  background: #171512;
  box-shadow: 0 18px 42px rgba(44, 40, 33, 0.14);
}

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

.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-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-overlay a {
  color: #e6c6a4;
  font-weight: 900;
  text-decoration: none;
}

.services-why-section {
  padding: clamp(58px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(20,18,15,0.96), rgba(20,18,15,0.92)),
    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: #b9875e;
}

.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(255,255,255,0.18);
}

.services-why-grid article:first-child {
  border-left: 0;
}

.services-why-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border: 2px solid #c99b75;
  border-radius: 50%;
  background: rgba(201, 155, 117, 0.08);
}

.services-why-grid span svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #e2bb93;
  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(255,255,255,0.72);
  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%);
}

@media (max-width: 1100px) {
  .services-hero,
  .services-cta-section {
    grid-template-columns: 1fr;
  }

  .services-hero-photo {
    min-height: 320px;
  }

  .services-hero-photo img {
    min-height: 320px;
  }

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

  .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: 38px;
  }

  .services-cards-section,
  .services-cta-section {
    width: min(100% - 20px, 1280px);
  }

  .services-card-grid,
  .services-why-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(#45382f 0 var(--available), #d79862 var(--available) calc(var(--available) + var(--closed)), #ead3bd 0 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-sold { background: #c77949; }
.dot.is-rented { background: #e5b78c; }
.dot.is-new { background: #9f755d; }

.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: #fff;
  border-color: oklch(0.78 0.038 55);
  box-shadow: 0 14px 28px rgba(114, 92, 62, 0.14);
  transform: translateY(-1px);
}

.language-dropdown.is-open .language-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

/* Service detail selector and request forms */
.service-detail-page {
  background: linear-gradient(180deg, #fff 0%, #faf8f4 44%, #fff 100%);
}

.service-hero-refined {
  margin-bottom: 0;
}

.service-picker-section {
  padding-top: clamp(38px, 5vw, 72px);
}

.service-picker-grid {
  align-items: stretch;
}

.service-picker-card {
  display: block;
  color: inherit;
  text-decoration: none;
  outline: 0;
}

.service-picker-card.is-active {
  box-shadow: 0 0 0 3px rgba(181, 131, 96, 0.36), 0 22px 48px rgba(44, 40, 33, 0.18);
}

.service-picker-card.is-active .services-card-overlay strong {
  color: #fff;
}

.services-card-overlay strong {
  color: #e6c6a4;
  font-weight: 900;
}

.service-detail-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto clamp(54px, 7vw, 92px);
}

.service-detail-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
  padding: clamp(22px, 3.4vw, 44px);
  border: 1px solid rgba(126, 95, 62, 0.18);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(44, 40, 33, 0.1);
}

.service-detail-main {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(12px, 2vw, 22px);
}

.service-detail-main h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 62px);
  line-height: 1.12;
  letter-spacing: 0;
}

.service-detail-lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
}

.service-benefit-list {
  display: grid;
  gap: 10px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.service-benefit-list li {
  position: relative;
  padding: 13px 14px 13px 42px;
  border: 1px solid rgba(126, 95, 62, 0.14);
  border-radius: 8px;
  background: rgba(250, 246, 240, 0.78);
  color: var(--ink-strong);
  font-weight: 800;
}

.service-benefit-list li::before {
  position: absolute;
  top: 13px;
  left: 14px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #fff;
  background: #b58360;
  content: "✓";
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.service-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.service-package-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(126, 95, 62, 0.16);
  border-radius: 8px;
  background: linear-gradient(180deg, #fffaf5, #fff);
}

.service-package-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.service-package-grid strong {
  color: #9b4f33;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.12;
}

.service-package-grid small {
  color: var(--muted);
  font-weight: 700;
}

.service-request-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8efe6, #fff);
  box-shadow: inset 0 0 0 1px rgba(126, 95, 62, 0.14);
}

.service-form-head h3 {
  margin: 3px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
}

.service-form-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.service-form-grid label,
.service-upload-field {
  display: grid;
  gap: 8px;
}

.service-form-grid label > span,
.service-upload-field > span {
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 900;
}

.service-form-grid input,
.service-form-grid select,
.service-form-grid textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(126, 95, 62, 0.22);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-strong);
  font: inherit;
  font-weight: 700;
  padding: 12px 14px;
}

.service-form-grid textarea {
  resize: vertical;
}

.service-form-grid .span-2,
.service-upload-field.span-2 {
  grid-column: span 2;
}

.service-upload-field .upload-dropzone {
  min-height: 138px;
  background: rgba(255,255,255,0.76);
}

.service-submit-button {
  width: 100%;
  justify-content: center;
  min-height: 58px;
}

.service-why-refined {
  margin-top: clamp(44px, 6vw, 78px);
}

@media (max-width: 1100px) {
  .service-detail-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .service-detail-shell {
    width: min(100% - 20px, 1280px);
  }

  .service-detail-panel,
  .service-request-form {
    padding: 18px;
  }

  .service-form-grid,
  .service-package-grid {
    grid-template-columns: 1fr;
  }

  .service-form-grid .span-2,
  .service-upload-field.span-2 {
    grid-column: auto;
  }
}

/* Compact service enquiry form and dynamic service visual */
.service-detail-panel {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(18px, 2.4vw, 30px);
  padding: clamp(18px, 2.6vw, 32px);
}

.service-detail-main {
  gap: 14px;
  padding: clamp(8px, 1.4vw, 16px);
}

.service-detail-main h2 {
  font-size: clamp(34px, 4vw, 56px);
}

.service-detail-lead {
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.65;
}

.service-request-form {
  gap: 12px;
  align-content: start;
  padding: clamp(18px, 2.2vw, 26px);
}

.service-form-head h3 {
  margin-bottom: 5px;
  font-size: clamp(24px, 2.4vw, 34px);
}

.service-form-head p {
  font-size: 14px;
  line-height: 1.55;
}

.service-form-grid {
  gap: 10px 12px;
}

.service-form-grid label,
.service-upload-field {
  gap: 6px;
}

.service-form-grid label > span,
.service-upload-field > span {
  font-size: 13px;
}

.service-form-grid input,
.service-form-grid select,
.service-form-grid textarea {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 15px;
}

.service-form-grid textarea {
  min-height: 92px;
}

.service-upload-field .upload-dropzone {
  min-height: 104px;
  padding: 16px;
}

.service-upload-field .upload-dropzone strong {
  font-size: 18px;
}

.service-upload-field .upload-dropzone small {
  font-size: 12px;
  line-height: 1.45;
}

.service-submit-button {
  min-height: 48px;
  margin-top: 2px;
}

.service-hero-refined .services-hero-photo img {
  object-position: center center;
}

@media (max-width: 1100px) {
  .service-detail-panel {
    grid-template-columns: 1fr;
  }
}

/* Shorter services hero with selectable image slider */
.service-detail-page .services-hero {
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  min-height: clamp(330px, 32vw, 460px);
}

.service-detail-page .services-hero-copy {
  padding: clamp(30px, 4.8vw, 64px) clamp(22px, 4vw, 60px);
}

.service-detail-page .services-hero-copy h1 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.service-detail-page .services-hero-copy p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.68;
}

.service-detail-page .services-hero-button {
  min-height: 46px;
  padding-inline: 20px;
}

.service-hero-slider {
  position: relative;
  min-height: clamp(330px, 32vw, 460px);
  overflow: hidden;
}

.service-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: clamp(330px, 32vw, 460px);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.service-hero-track::-webkit-scrollbar {
  display: none;
}

.service-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  min-height: clamp(330px, 32vw, 460px);
  color: #fff;
  scroll-snap-align: start;
  text-decoration: none;
}

.service-hero-slide img {
  width: 100%;
  height: 100%;
  min-height: clamp(330px, 32vw, 460px) !important;
  object-fit: cover;
  object-position: center center;
}

.service-hero-slide span {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 2;
  max-width: min(360px, calc(100% - 48px));
  padding: 8px 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(35, 28, 21, 0.64);
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.service-hero-dots {
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
}

.service-hero-dots a {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(44, 40, 33, 0.12);
  transition: width 180ms ease, background 180ms ease;
}

.service-hero-dots a.is-active,
.service-hero-dots a:hover {
  width: 24px;
  background: #b58360;
}

@media (max-width: 1100px) {
  .service-detail-page .services-hero {
    grid-template-columns: 1fr;
  }

  .service-hero-slider,
  .service-hero-track,
  .service-hero-slide,
  .service-hero-slide img {
    min-height: 300px !important;
  }
}

@media (max-width: 700px) {
  .service-detail-page .services-hero-copy {
    padding: 28px 20px 22px;
  }

  .service-detail-page .services-hero-copy h1 {
    font-size: 32px;
  }

  .service-hero-slider,
  .service-hero-track,
  .service-hero-slide,
  .service-hero-slide img {
    min-height: 230px !important;
  }

  .service-hero-slide span {
    right: 14px;
    bottom: 32px;
    font-size: 12px;
  }
}

/* Hero service slider is preview-only; service selection happens in cards below */
.service-hero-slide {
  cursor: grab;
}

.service-hero-slide:active {
  cursor: grabbing;
}

.service-hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(44, 40, 33, 0.12);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.service-hero-dots button.is-active,
.service-hero-dots button:hover {
  width: 24px;
  background: #b58360;
}

.service-hero-dots a {
  pointer-events: none;
}

/* Side arrows for preview-only service hero slider */
.service-hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #2c2821;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(44, 40, 33, 0.18);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-hero-arrow:hover {
  background: #fff;
  box-shadow: 0 18px 42px rgba(44, 40, 33, 0.24);
  transform: translateY(-50%) scale(1.04);
}

.service-hero-arrow span {
  margin-top: -2px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.service-hero-arrow-prev {
  left: 18px;
}

.service-hero-arrow-next {
  right: 18px;
}

@media (max-width: 700px) {
  .service-hero-arrow {
    width: 38px;
    height: 38px;
  }

  .service-hero-arrow span {
    font-size: 28px;
  }

  .service-hero-arrow-prev {
    left: 10px;
  }

  .service-hero-arrow-next {
    right: 10px;
  }
}
/* Flat admin stat icons override */
.admin-modern .admin-stat-icon,
.admin-modern .admin-stat-card:hover .admin-stat-icon {
  width: 58px;
  height: 58px;
  border: 1px solid #e7d2bd;
  border-radius: 999px;
  background: #f5e4d2;
  box-shadow: none;
  color: #9b603c;
}

.admin-modern .admin-stat-icon::after {
  display: none;
}

.admin-modern .admin-stat-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.admin-modern .admin-stat-house,
.admin-modern .admin-stat-key,
.admin-modern .admin-stat-user,
.admin-modern .admin-stat-headset,
.admin-modern .admin-stat-calendar {
  color: #9b603c;
}
/* Service card image focal points */
.service-card-cleaning img {
  object-position: 64% center;
}

.service-card-air img {
  object-position: 58% center;
}

.service-card-renovation img {
  object-position: 68% center;
}

@media (max-width: 700px) {
  .service-card-cleaning img,
  .service-card-air img,
  .service-card-renovation img {
    object-position: center center;
  }
}
/* About page service planning refresh */
.about-audience-block {
  padding-top: clamp(30px, 4vw, 54px);
}

.about-center-heading > p:not(.eyebrow) {
  max-width: 760px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.65;
}

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

.about-audience-card {
  position: relative;
  min-height: 255px;
  overflow: hidden;
  border: 1px solid rgba(126, 95, 62, 0.16);
  border-radius: 8px;
  background: #1d1813;
  box-shadow: 0 18px 38px rgba(55, 43, 34, 0.12);
}

.about-audience-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
  transform: scale(1.02);
}

.about-audience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32, 27, 22, 0.06), rgba(32, 27, 22, 0.82));
}

.about-audience-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 22px;
  color: #fff;
}

.about-audience-body span {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #d09a56;
}

.about-audience-body h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(21px, 1.7vw, 28px);
  line-height: 1.18;
  letter-spacing: 0;
}

.about-audience-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

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

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

.about-service-tile {
  position: relative;
  display: block;
  min-height: clamp(330px, 28vw, 430px);
  overflow: hidden;
  border: 1px solid rgba(126, 95, 62, 0.22);
  border-radius: 8px;
  background: #1f1a14;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(55, 43, 34, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.about-service-tile:hover,
.about-service-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(208, 154, 86, 0.72);
  box-shadow: 0 24px 44px rgba(55, 43, 34, 0.2);
}

.about-service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
  transform: scale(1.02);
}

.about-service-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 18, 14, 0.18) 0%, rgba(21, 18, 14, 0.48) 42%, rgba(21, 18, 14, 0.92) 100%);
}

.about-service-tile-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(18px, 1.8vw, 26px);
  color: #fff;
}

.about-service-number {
  position: absolute;
  top: 18px;
  left: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(24px, 2.1vw, 36px);
  font-weight: 800;
  line-height: 1;
}

.about-service-tile h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.about-service-tile p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

.about-service-tile strong {
  color: #f2c287;
  font-size: 16px;
  font-weight: 800;
}

.about-service-tile strong span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.18s ease;
}

.about-service-tile:hover strong span,
.about-service-tile:focus-visible strong span {
  transform: translateX(4px);
}

.about-service-tile-cleaning img {
  object-position: 62% center;
}

.about-service-tile-air img,
.about-service-tile-renovation img {
  object-position: 58% center;
}

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

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

@media (max-width: 760px) {
  .about-audience-grid,
  .about-service-showcase {
    grid-template-columns: 1fr;
  }

  .about-audience-card,
  .about-service-tile {
    min-height: 280px;
  }

  .about-center-heading {
    text-align: left;
  }

  .about-center-heading h2,
  .about-center-heading > p:not(.eyebrow) {
    margin-left: 0;
    margin-right: 0;
  }
}
/* About hero wide and compact banner */
.about-page {
  padding-top: 0;
}

.about-profile-hero {
  position: relative;
  width: min(100%, 1920px);
  min-height: clamp(360px, 34vw, 520px);
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(520px, 1.18fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.about-profile-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.96) 33%, rgba(255,255,255,0.42) 58%, rgba(255,255,255,0) 76%);
  pointer-events: none;
}

.about-profile-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 92px);
}

.about-profile-copy h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 4.6vw, 72px);
  line-height: 1.06;
  white-space: normal;
}

.about-profile-copy > p:not(.eyebrow) {
  max-width: 650px;
  font-size: clamp(17px, 1.22vw, 21px);
  line-height: 1.72;
}

.about-profile-actions {
  margin-top: 26px;
}

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

.about-profile-media {
  position: relative;
  min-height: clamp(360px, 34vw, 520px);
  padding-bottom: 0;
}

.about-main-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 34vw, 520px);
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  object-position: center center;
}

.about-thumb-row {
  display: none;
}

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

  .about-profile-hero::after {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.94) 76%, #fff 100%);
  }

  .about-profile-media {
    order: -1;
    min-height: 300px;
  }

  .about-main-photo {
    min-height: 300px;
  }
}

@media (max-width: 700px) {
  .about-profile-copy {
    padding: 28px 20px 34px;
  }

  .about-profile-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .about-profile-media,
  .about-main-photo {
    min-height: 235px;
  }
}
/* Login page company branding */
.login-card .login-logo {
  width: 118px;
  height: 96px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.login-card h1 {
  max-width: 100%;
  margin: 6px 0 26px;
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}
/* Admin sidebar menu should fit its items after removing bottom user panel */
.admin-modern .admin-nav {
  flex: 0 0 auto;
}
/* Footer brand alignment refinement */
.footer-grid {
  align-items: start;
}

.footer-brand {
  align-content: start;
  gap: 8px;
}

.footer-brand-row {
  align-items: flex-start;
  gap: 14px;
}

.footer-brand-row .brand-image {
  margin-top: -2px;
}

.footer-brand-row strong {
  display: block;
  margin-top: 2px;
  line-height: 1.18;
}

.footer-brand-row small {
  display: block;
  margin-top: 3px;
  line-height: 1.1;
}

.footer-brand > p {
  margin-top: 10px;
  max-width: 430px;
  line-height: 1.68;
}

@media (max-width: 760px) {
  .footer-brand > p {
    margin-top: 6px;
  }
}
/* Dashboard stat icon polish */
.admin-modern .admin-stat-icon,
.admin-modern .admin-stat-card:hover .admin-stat-icon {
  background: #f4e4d1;
  border-color: #e4c8aa;
  color: #9a5e39;
  box-shadow: none;
}

.admin-modern .admin-stat-icon svg {
  width: 31px;
  height: 31px;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-modern .admin-stat-card:hover .admin-stat-icon {
  background: #efd8be;
  color: #854d2f;
}
/* Property admin dropdown: document-level portal like phatara_property */
.property-action-panel.is-floating {
  position: absolute;
  top: var(--property-action-top, 0);
  left: var(--property-action-left, 0);
  right: auto;
  z-index: 5000;
  max-height: none;
  overflow: visible;
}

.property-action-menu.is-floating .property-action-panel {
  position: absolute;
}

/* Admin dashboard stat cards: large summary layout */
.admin-modern .admin-modern-stats {
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 16px;
  margin: 24px 0 30px;
}

.admin-modern .admin-stat-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  grid-template-rows: auto auto 1px auto;
  align-items: start;
  gap: 0 14px;
  min-height: 230px;
  padding: 22px 20px 20px;
  border: 1px solid #eadfce;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
  box-shadow: 0 18px 46px rgba(58, 46, 36, 0.08);
}

.admin-modern .admin-stat-card:hover {
  transform: translateY(-2px);
  border-color: #dfc5a6;
  box-shadow: 0 24px 54px rgba(58, 46, 36, 0.12);
}

.admin-modern .admin-stat-card .admin-stat-icon,
.admin-modern .admin-stat-card:hover .admin-stat-icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  width: 62px;
  height: 62px;
  border: 1px solid #ead4b9;
  border-radius: 999px;
  background: #f7e8d8;
  color: #b66d28;
  box-shadow: none;
}

.admin-modern .admin-stat-card .admin-stat-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.9;
}

.admin-modern .admin-stat-meta {
  display: contents;
}

.admin-modern .admin-stat-meta strong {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  color: #2f2821;
  font-size: 36px;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0;
}

.admin-modern .admin-stat-meta small {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 14px 0 0;
  color: #3b3129;
  font-size: 17px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.admin-modern .admin-stat-card::after {
  content: "";
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: end;
  width: 100%;
  height: 1px;
  margin-top: 16px;
  background: #ead8bd;
}

.admin-modern .admin-stat-meta em {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0;
  color: #2f7c45;
  font-size: 14px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
}

.admin-modern .admin-stat-meta em::before {
  content: "";
  flex: 0 0 36px;
  width: 34px;
  height: 34px;
  border: 1px solid #cfe5d3;
  border-radius: 999px;
  background-color: #eef8ef;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 19px 19px;
}

.admin-modern .admin-stat-card:nth-child(1) .admin-stat-meta em::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232f7c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19V9'/%3E%3Cpath d='M12 19V5'/%3E%3Cpath d='M19 19v-7'/%3E%3Cpath d='M3 19h18'/%3E%3C/svg%3E");
}

.admin-modern .admin-stat-card:nth-child(2) .admin-stat-meta em::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232f7c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='m8.5 12.2 2.2 2.2 4.8-5'/%3E%3C/svg%3E");
}

.admin-modern .admin-stat-card:nth-child(3) .admin-stat-meta em::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232f7c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5.5 19c1.2-4 3.4-6 6.5-6s5.3 2 6.5 6'/%3E%3C/svg%3E");
}

.admin-modern .admin-stat-card:nth-child(4) .admin-stat-meta em::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232f7c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 16.5 9 12l4 3.5L20 7'/%3E%3Cpath d='M15 7h5v5'/%3E%3C/svg%3E");
}

.admin-modern .admin-stat-card:nth-child(5) .admin-stat-meta em::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232f7c45' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.8v8.2h8.2'/%3E%3Cpath d='M20.2 12a8.2 8.2 0 1 1-8.2-8.2'/%3E%3C/svg%3E");
}

@media (max-width: 1500px) {
  .admin-modern .admin-modern-stats {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-modern .admin-modern-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .admin-modern .admin-modern-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .admin-modern .admin-stat-card {
    min-height: 220px;
    padding: 20px;
  }

  .admin-modern .admin-stat-meta strong {
    font-size: 34px;
  }

  .admin-modern .admin-stat-meta small {
    font-size: 16px;
  }
}

/* Admin login: centered company layout */
.login-page {
  min-height: 100vh;
  padding: clamp(20px, 4vw, 48px);
  background: #fbfaf8;
}

.login-card {
  box-sizing: border-box;
  width: min(600px, 100%);
  gap: 0;
  justify-items: stretch;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 6vw, 48px) clamp(38px, 5vw, 54px);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(44, 40, 33, 0.09);
}

.login-card .login-logo {
  justify-self: center;
  width: 132px;
  height: 112px;
  margin: 0 0 20px;
}

.login-card h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.login-card > p {
  margin: 26px 0 30px;
  text-align: center;
  font-size: 18px;
  line-height: 1.55;
}

.login-card .notice {
  width: 100%;
  margin: 0 0 20px;
}

.login-card label {
  display: grid;
  width: 100%;
  gap: 8px;
  margin: 0 0 20px;
}

.login-card label span {
  font-size: 15px;
  font-weight: 700;
}

.login-card input {
  box-sizing: border-box;
  width: 100%;
  min-height: 60px;
  font-size: 17px;
}

.login-card .button {
  justify-self: center;
  min-width: 214px;
  min-height: 58px;
  margin-top: 6px;
  font-size: 17px;
}

@media (max-width: 600px) {
  .login-page {
    align-items: start;
    padding: 16px;
  }

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

  .login-card .login-logo {
    width: 108px;
    height: 88px;
    margin-bottom: 16px;
  }

  .login-card h1 {
    font-size: 27px;
  }

  .login-card > p {
    margin: 20px 0 26px;
    font-size: 16px;
  }

  .login-card input {
    min-height: 54px;
  }

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

/* Shared company phone dropdown */
.phone-choice {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.phone-choice > button {
  cursor: pointer;
  font: inherit;
}

.phone-choice > button::after {
  content: "";
  width: 7px;
  height: 7px;
  margin: -4px 1px 0 3px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease, margin 180ms ease;
  opacity: 0.72;
}

.phone-choice.is-open > button::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.phone-choice .phone-choice-menu {
  min-width: 230px;
  padding: 8px;
}

.phone-choice-menu a {
  gap: 4px;
  padding: 12px 14px;
}

.phone-choice-menu a + a {
  border-top: 1px solid var(--line);
}

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

.phone-choice-menu small {
  max-width: none;
  overflow: visible;
  color: var(--rose-dark);
  font-size: 16px;
  font-weight: 800;
  text-overflow: clip;
}

.header-phone-choice .phone-choice-menu {
  right: 0;
  left: auto;
}

.contact-phone-choice .phone-choice-menu {
  right: auto;
  left: 0;
}

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

  .header-phone-choice.is-open .phone-choice-menu {
    transform: translateY(0);
  }

  .contact-phone-choice .phone-choice-menu {
    right: auto;
    left: 0;
    transform: translateY(-4px);
  }

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

/* Mobile header phone action */
@media (max-width: 760px) {
  .site-header .header-action {
    display: inline-flex;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
    padding: 4px;
    gap: 0;
    overflow: visible;
    font-size: 0;
  }

  .site-header .header-action::before {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .site-header .phone-choice > .header-action {
    width: 38px;
    padding: 4px;
    gap: 0;
  }

  .site-header .phone-choice > .header-action::after {
    display: none;
  }

  .site-header .phone-choice-menu {
    font-size: initial;
  }
}

@media (max-width: 430px) {
  .site-header .brand span {
    max-width: 130px;
  }

  .site-header .brand strong {
    font-size: 16px;
    line-height: 1.08;
    white-space: normal;
  }

  .site-header .header-action {
    width: 34px;
    min-width: 34px;
    min-height: 34px;
    padding: 3px;
  }

  .site-header .header-action::before {
    flex-basis: 26px;
    width: 26px;
    height: 26px;
    font-size: 13px;
  }

  .site-header .phone-choice > .header-action {
    width: 34px;
    padding: 3px;
  }
}
/* Mobile header compact no-wrap refinement */
@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) max-content;
    column-gap: clamp(6px, 1.6vw, 10px);
  }

  .site-header .brand {
    max-width: 100%;
    overflow: hidden;
  }

  .site-header .brand-image {
    width: clamp(42px, 10vw, 50px);
    height: clamp(38px, 9vw, 45px);
  }

  .site-header .brand span {
    max-width: min(48vw, 260px);
    overflow: hidden;
  }

  .site-header .brand strong,
  .site-header .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-header .brand strong {
    font-size: clamp(16px, 4.2vw, 20px);
    line-height: 1.12;
  }

  .site-header .brand small {
    font-size: clamp(9px, 2.6vw, 11px);
    letter-spacing: 0.04em;
  }

  .header-tools {
    flex-shrink: 0;
    max-width: 48vw;
    gap: clamp(5px, 1.4vw, 8px);
  }

  .site-header nav {
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

  .site-header nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding: 10px 10px;
  }

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

  .site-header .brand span {
    max-width: min(44vw, 170px);
  }

  .site-header .brand strong {
    font-size: clamp(15px, 4.1vw, 17px);
    line-height: 1.08;
    white-space: nowrap;
  }

  .site-header .brand small {
    font-size: 9px;
  }

  .header-tools {
    width: auto;
    max-width: 50vw;
    gap: 5px;
  }

  .language-current {
    min-width: 54px;
    min-height: 32px;
    padding: 5px 8px;
  }

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

@media (max-width: 370px) {
  .site-header .brand-image {
    width: 38px;
    height: 34px;
  }

  .site-header .brand span {
    max-width: 41vw;
  }

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

  .site-header .brand small {
    font-size: 8px;
  }

  .language-current {
    min-width: 50px;
    font-size: 10px;
  }

  .header-social .social-icon {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
  }
}
/* Mobile header nav no-wrap refinement */
@media (max-width: 760px) {
  .site-header nav {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(18px, 5vw, 28px);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .site-header nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    word-break: keep-all;
    line-height: 1.25;
  }
}

@media (max-width: 430px) {
  .site-header nav {
    gap: 20px;
    padding-bottom: 2px;
  }

  .site-header nav a {
    font-size: 15px;
  }
}

@media (max-width: 370px) {
  .site-header nav {
    gap: 16px;
  }

  .site-header nav a {
    font-size: 14px;
  }
}
/* Mobile header nav smaller type */
@media (max-width: 760px) {
  .site-header nav {
    gap: clamp(14px, 4vw, 22px);
  }

  .site-header nav a {
    font-size: clamp(13px, 3.2vw, 15px);
    font-weight: 800;
    line-height: 1.2;
  }
}

@media (max-width: 430px) {
  .site-header nav {
    gap: 16px;
  }

  .site-header nav a {
    font-size: 13px;
  }
}

@media (max-width: 370px) {
  .site-header nav {
    gap: 13px;
  }

  .site-header nav a {
    font-size: 12px;
  }
}
/* Mobile category menu two-column layout */
@media (max-width: 700px) {
  .category-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 10px;
    width: 100%;
    max-width: none;
    margin-top: 18px;
  }

  .category-menu-item {
    min-height: 70px;
    padding: 12px 12px 12px 54px;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(44, 40, 33, 0.06);
  }

  .category-menu-item strong {
    font-size: clamp(13px, 3.45vw, 15px);
    line-height: 1.22;
    text-align: left;
  }

  .category-menu-icon {
    left: 14px;
    width: 30px;
    height: 30px;
  }

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

@media (max-width: 390px) {
  .category-menu {
    gap: 8px;
  }

  .category-menu-item {
    min-height: 64px;
    padding: 10px 9px 10px 48px;
  }

  .category-menu-item strong {
    font-size: 12px;
  }

  .category-menu-icon {
    left: 12px;
    width: 28px;
    height: 28px;
  }
}
