:root {
  --color-ink: #153048;
  --color-muted: #5f7181;
  --color-paper: #f5f8fb;
  --color-panel: #ffffff;
  --color-soft: #e8eef5;
  --color-line: rgba(21, 48, 72, 0.16);
  --color-primary: #153048;
  --color-primary-dark: #0f283c;
  --color-accent: #c9a35c;
  --color-warm: #f0c96d;
  --shadow-soft: 0 18px 50px rgba(15, 40, 60, 0.14);
  --shell: min(100% - 40px, 1500px);
  --content: min(100% - 40px, 880px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang TC", "PingFang SC", "Microsoft JhengHei", "Microsoft YaHei",
    "Noto Sans TC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

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

.site-shell {
  width: var(--shell);
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 30;
  padding: 10px 14px;
  color: #fff;
  background: var(--color-primary);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: rgba(21, 48, 72, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 22px;
}

.site-brand {
  flex: 0 0 auto;
}

.site-brand img {
  width: 206px;
  height: auto;
}

.site-nav,
.site-nav__menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  justify-content: flex-end;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 34px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 28px;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 0.78rem;
}

.language-switcher a.is-active {
  color: var(--color-primary-dark);
  background: #fff;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-warm);
}

.site-nav__cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  color: var(--color-primary-dark);
  background: var(--color-warm);
  border-radius: 6px;
}

.site-nav__cta:hover,
.site-nav__cta:focus-visible {
  color: var(--color-primary-dark);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero,
.page-hero,
.property-hero {
  position: relative;
  color: #fff;
  background: var(--color-primary-dark);
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(201, 163, 92, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(15, 40, 60, 0.95), rgba(21, 48, 72, 0.72) 58%, rgba(21, 48, 72, 0.28));
}

.hero__media picture,
.hero__media img {
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 96px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.property-hero .eyebrow {
  color: var(--color-warm);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: 4.75rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.18rem;
}

.hero__actions,
.property-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.property-filter button,
.enquiry-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button--primary,
.property-filter button,
.enquiry-form button {
  color: #fff;
  background: var(--color-primary);
}

.hero .button--primary,
.page-hero .button--primary,
.property-hero .button--primary {
  color: var(--color-primary-dark);
  background: var(--color-warm);
}

.button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.button:hover,
.button:focus-visible,
.property-filter button:hover,
.property-filter button:focus-visible,
.enquiry-form button:hover,
.enquiry-form button:focus-visible {
  border-color: var(--color-warm);
  box-shadow: 0 0 0 3px rgba(240, 201, 109, 0.28);
  transform: translateY(-1px);
}

.button--primary:hover,
.button--primary:focus-visible,
.property-filter button:hover,
.property-filter button:focus-visible,
.enquiry-form button:hover,
.enquiry-form button:focus-visible {
  background: #244761;
}

.hero .button--primary:hover,
.hero .button--primary:focus-visible,
.page-hero .button--primary:hover,
.page-hero .button--primary:focus-visible,
.property-hero .button--primary:hover,
.property-hero .button--primary:focus-visible {
  background: #fff;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.button--dark {
  color: var(--color-primary-dark);
  background: #fff;
  border-color: var(--color-line);
}

.property-hero__actions .property-hero__secondary-action {
  min-height: 46px;
  padding: 12px 18px;
  color: var(--color-primary-dark);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1;
}

.property-hero__actions .property-hero__secondary-action:hover,
.property-hero__actions .property-hero__secondary-action:focus-visible {
  color: var(--color-primary-dark);
  background: #fff;
  border-color: var(--color-warm);
  outline: none;
  box-shadow: 0 0 0 3px rgba(240, 201, 109, 0.28);
  transform: translateY(-1px);
}

.property-hero__actions .property-favorite--inline[aria-pressed="true"] {
  color: var(--color-primary-dark);
  background: #fff;
  border-color: rgba(201, 163, 92, 0.85);
}

.search-band {
  padding: 26px 0;
  background: var(--color-panel);
  border-bottom: 1px solid var(--color-line);
}

.content-section {
  padding: 88px 0;
}

.content-section--muted {
  background: linear-gradient(180deg, #edf3f8, #f8fafc);
}

.content-section--faq {
  background: var(--color-panel);
}

.content-section__inner {
  width: var(--content);
  margin-inline: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  gap: 52px;
  align-items: center;
}

.about-copy {
  max-width: 820px;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-brand-panel {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(201, 163, 92, 0.28), transparent 28%),
    var(--color-primary-dark);
  border-radius: 8px;
}

.about-brand-panel img {
  width: 112px;
  height: auto;
}

.content-section .about-brand-panel h2,
.content-section .about-brand-panel p {
  margin: 0;
}

.content-section .about-brand-panel p {
  color: rgba(255, 255, 255, 0.82);
}

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

.about-points article {
  min-width: 0;
  padding: 24px;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(22, 32, 31, 0.06);
}

.about-points span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.content-section .about-points h2 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.content-section .about-points p {
  margin: 0;
  color: var(--color-muted);
}

.content-section h1,
.content-section h2,
.page-hero h1,
.property-hero h1 {
  margin: 0 0 18px;
  font-size: 2.85rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.content-section p,
.page-hero p,
.property-hero p {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.page-hero p,
.property-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding: 94px 0;
}

.page-hero--compact {
  padding: 72px 0;
}

.split-grid,
.faq-layout,
.property-hero__grid,
.property-detail-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: start;
}

.property-detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
  gap: 40px;
}

.feature-list,
.faq-list {
  display: grid;
  gap: 16px;
}

.feature-list article,
.district-card,
.steps-grid article,
.property-card,
.enquiry-panel,
.empty-state,
.faq-list details {
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(22, 32, 31, 0.06);
}

.feature-list article,
.district-card,
.steps-grid article,
.enquiry-panel,
.empty-state,
.faq-list details {
  padding: 24px;
}

.feature-list h3,
.district-card h2,
.steps-grid h2,
.property-card h3,
.enquiry-panel h2 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.feature-list p,
.district-card p,
.steps-grid p,
.property-card p,
.enquiry-panel p,
.empty-state p {
  margin: 0;
  color: var(--color-muted);
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2 {
  max-width: 780px;
}

.property-search h2 {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.15;
}

.property-search {
  margin-bottom: 4rem;
}

.property-filter {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--color-panel);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.property-filter label,
.enquiry-form label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.property-filter input,
.property-filter select,
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--color-ink);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.property-filter input:hover,
.property-filter select:hover,
.enquiry-form input:hover,
.enquiry-form textarea:hover {
  border-color: rgba(21, 48, 72, 0.34);
}

.property-filter input:focus-visible,
.property-filter select:focus-visible,
.enquiry-form input:focus-visible,
.enquiry-form textarea:focus-visible {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 163, 92, 0.22);
}

.property-saved-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -8px 0 22px;
}

.property-saved-toolbar[hidden],
.property-saved-empty[hidden],
.property-card[hidden] {
  display: none !important;
}

.property-saved-toolbar__button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  color: var(--color-primary-dark);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.property-saved-toolbar__button:hover,
.property-saved-toolbar__button:focus-visible,
.property-saved-toolbar__button[aria-pressed="true"] {
  color: var(--color-primary-dark);
  background: var(--color-warm);
  border-color: rgba(201, 163, 92, 0.75);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 163, 92, 0.2);
  transform: translateY(-1px);
}

.property-saved-toolbar__button:disabled {
  color: var(--color-muted);
  background: #eef3f8;
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.property-saved-toolbar__button--secondary {
  border-radius: 6px;
}

.property-saved-toolbar__count {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  place-items: center;
  padding: 2px 7px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  font-size: 0.78rem;
}

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

.property-card {
  position: relative;
  overflow: hidden;
}

.property-favorite {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(21, 48, 72, 0.18);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(15, 40, 60, 0.16);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.property-favorite:hover,
.property-favorite:focus-visible {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 48, 72, 0.16), 0 14px 30px rgba(15, 40, 60, 0.2);
  transform: translateY(-1px);
}

.property-favorite[aria-pressed="true"] {
  color: var(--color-primary-dark);
  background: var(--color-warm);
  border-color: rgba(201, 163, 92, 0.75);
}

.property-favorite--inline {
  position: static;
  box-shadow: none;
}

.property-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1.38;
  background: linear-gradient(135deg, #edf5f9, #f7fafc);
  overflow: hidden;
}

.property-card__image {
  width: 100%;
  height: 100%;
}

img.property-card__image {
  display: block;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(135deg, #edf5f9, #f7fafc);
}

.property-card__image--placeholder {
  min-height: 230px;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 163, 92, 0.3), transparent 30%),
    linear-gradient(135deg, rgba(21, 48, 72, 0.95), rgba(15, 40, 60, 0.78)),
    repeating-linear-gradient(45deg, transparent, transparent 16px, rgba(255, 255, 255, 0.08) 16px, rgba(255, 255, 255, 0.08) 17px);
}

.property-card__image--placeholder,
.property-gallery__placeholder {
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.property-card__image--placeholder span,
.property-gallery__placeholder span {
  padding: 14px;
}

.property-card__image--placeholder em,
.property-gallery__placeholder em {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 700;
}

.property-card__body {
  padding: 18px;
}

.property-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.property-card__badges span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  color: var(--color-primary-dark);
  background: #eef3f8;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
}

.property-card h3 a {
  text-decoration: none;
}

.property-card__excerpt {
  display: -webkit-box;
  margin-top: 10px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.property-facts,
.property-card__details,
.property-summary,
.detail-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.property-facts {
  grid-template-columns: minmax(114px, 1.35fr) minmax(100px, 1.08fr) minmax(46px, 0.54fr) minmax(46px, 0.54fr) minmax(100px, 1.08fr);
  column-gap: 12px;
  margin-top: 16px;
}

.property-card__details {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-line);
}

.property-facts div,
.property-card__details div,
.property-summary div,
.detail-list div {
  min-width: 0;
}

.property-facts dt,
.property-card__details dt,
.property-summary dt,
.detail-list dt {
  color: var(--color-muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.property-facts dt {
  white-space: nowrap;
}

.property-facts dd,
.property-card__details dd,
.property-summary dd,
.detail-list dd {
  margin: 0;
  font-weight: 800;
}

.property-facts dd {
  color: var(--color-ink);
  font-size: 0.98rem;
  line-height: 1.28;
  letter-spacing: 0;
  white-space: nowrap;
  word-break: keep-all;
}

.property-card__details dd {
  overflow: hidden;
  color: var(--color-ink);
  font-size: 0.86rem;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.property-highlights {
  margin: 28px 0;
  padding: 22px;
  background: #f7fafc;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.property-highlights h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}

.property-highlights ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.property-highlights li {
  min-width: 0;
}

.property-highlights strong,
.property-highlights span {
  display: block;
}

.property-highlights strong {
  margin-bottom: 3px;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.property-highlights span {
  color: var(--color-ink);
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.guide-grid,
.district-grid,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.guide-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(201, 163, 92, 0.28), transparent 24%),
    var(--color-primary-dark);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.guide-card--accent {
  color: var(--color-primary-dark);
  background: var(--color-warm);
}

.guide-card span,
.steps-grid span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.guide-card:hover,
.guide-card:focus-visible {
  outline: none;
  box-shadow: 0 18px 40px rgba(15, 40, 60, 0.2);
  transform: translateY(-2px);
}

.guide-card h2 {
  margin: 38px 0 0;
  font-size: 2rem;
  line-height: 1.12;
}

.steps-grid span {
  color: var(--color-accent);
}

.faq-list details {
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.cta-band {
  padding: 58px 0;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 163, 92, 0.24), transparent 28%),
    var(--color-primary-dark);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.1;
}

.contact-hub {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-hub__item {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 9px 13px;
  color: var(--color-primary-dark);
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

a.contact-hub__item:hover,
a.contact-hub__item:focus-visible {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(21, 48, 72, 0.16);
}

.property-hero {
  padding: 82px 0 56px;
}

.property-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 24px;
  color: var(--color-ink);
  background: #fff;
  border-radius: 8px;
}

.property-gallery {
  padding: 28px 0 0;
  background: var(--color-primary-dark);
}

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

.property-gallery img,
.property-gallery__placeholder {
  width: 100%;
  aspect-ratio: 1.35;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.property-gallery__placeholder {
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 163, 92, 0.24), transparent 30%),
    rgba(255, 255, 255, 0.12);
}

.property-detail,
.entry-content {
  min-width: 0;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content img {
  border-radius: 8px;
}

.detail-list {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--color-line);
}

.property-floor-plan,
.property-location {
  margin: 28px 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.property-floor-plan h3,
.property-location h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.property-floor-plan__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 16px;
}

.property-floor-plan__header h3 {
  margin: 0;
}

.property-floor-plan__layout {
  color: var(--color-muted);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.property-location p {
  margin: 0 0 12px;
}

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

.property-floor-plan__images--single {
  grid-template-columns: minmax(0, 1fr);
}

.property-floor-plan__images img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #f7fafc;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.property-floor-plan__images--single img {
  height: 380px;
}

.small-note,
.form-notice {
  font-size: 0.92rem;
}

.enquiry-panel {
  position: sticky;
  top: 98px;
}

.property-detail-layout .enquiry-panel {
  padding: 18px;
}

.property-detail-layout .enquiry-panel h2 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.property-detail-layout .enquiry-panel p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.property-detail-layout .contact-hub {
  gap: 8px;
  margin-top: 12px;
}

.property-detail-layout .contact-hub__item {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 0.9rem;
}

.enquiry-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.property-detail-layout .enquiry-form {
  gap: 10px;
  margin-top: 14px;
}

.property-detail-layout .enquiry-form label {
  gap: 4px;
  font-size: 0.82rem;
}

.property-detail-layout .enquiry-form input,
.property-detail-layout .enquiry-form textarea {
  min-height: 38px;
  padding: 8px 10px;
}

.property-detail-layout .enquiry-form textarea {
  min-height: 88px;
}

.property-detail-layout .enquiry-form button {
  min-height: 42px;
  padding: 10px 14px;
}

.form-notice {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--color-line);
  background: #f7fafc;
}

.form-notice--success {
  color: #153048;
  background: #eef8f1;
  border-color: rgba(31, 120, 70, 0.26);
}

.form-notice--error {
  color: #6b2a1d;
  background: #fff4ef;
  border-color: rgba(180, 76, 42, 0.24);
}

.form-notice a {
  color: inherit;
  font-weight: 800;
}

.site-footer {
  padding: 48px 0 24px;
  color: rgba(255, 255, 255, 0.78);
  background: #0f283c;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 34px;
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer p {
  margin: 0;
}

.site-footer__nav,
.site-footer__menu {
  display: grid;
  gap: 8px;
}

.site-footer__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer .contact-hub__item {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (max-width: 1180px) {
  .hero h1 {
    font-size: 4rem;
  }

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

  .property-filter button {
    grid-column: span 2;
  }

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

@media (max-width: 860px) {
  :root {
    --shell: min(100% - 28px, 1500px);
    --content: min(100% - 28px, 880px);
  }

  .site-header__inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px;
    color: var(--color-ink);
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav__menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 10px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--color-primary);
  }

  .site-nav__cta {
    justify-content: center;
    margin-top: 8px;
  }

  .language-switcher {
    justify-content: center;
    margin: 8px 0 2px;
    border-color: var(--color-line);
  }

  .language-switcher a.is-active {
    color: #fff;
    background: var(--color-primary);
  }

  .language-switcher a {
    display: inline-flex;
    padding: 3px 8px;
  }

  .hero {
    min-height: 640px;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgba(21, 48, 72, 0.62), rgba(15, 40, 60, 0.95));
  }

  .hero h1 {
    font-size: 3rem;
  }

  .content-section h1,
  .content-section h2,
  .page-hero h1,
  .property-hero h1 {
    font-size: 2.25rem;
  }

  .split-grid,
  .about-grid,
  .faq-layout,
  .property-hero__grid,
  .property-detail-layout,
  .contact-layout,
  .site-footer__grid,
  .cta-band__inner {
    grid-template-columns: 1fr;
  }

  .cta-band__inner {
    display: grid;
  }

  .enquiry-panel {
    position: static;
  }

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

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

  .property-highlights ul {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .hero {
    min-height: 590px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .content-section {
    padding: 60px 0;
  }

  .page-hero,
  .property-hero {
    padding: 58px 0;
  }

  .property-filter,
  .property-grid,
  .about-points,
  .guide-grid,
  .district-grid,
  .steps-grid,
  .property-gallery__grid,
  .property-summary,
  .property-floor-plan__images,
  .site-footer__bottom {
    grid-template-columns: 1fr;
  }

  .property-filter button {
    grid-column: auto;
  }

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

  .site-footer__bottom {
    display: grid;
  }

  .guide-card {
    min-height: 220px;
  }

  .guide-card h2,
  .cta-band h2 {
    font-size: 1.75rem;
  }
}
