/* ==========================================================================
   Diamond Property — public site
   Design tokens taken from design_handoff_diamond_property
   ========================================================================== */

:root {
  /* ink */
  --ink:        #1C1A17;
  --ink-soft:   #3C3830;
  --ink-2:      #5F5B54;
  --muted:      #8A857C;
  --muted-2:    #A29B8E;
  --muted-3:    #B5AE9F;

  /* gold */
  --gold:       #C9A24B;
  --gold-deep:  #A8802A;
  --gold-deep2: #B98F2E;
  --gold-light: #EBD08A;
  --gold-soft:  #E7C97F;
  --gold-line:  #E3D2AB;

  /* dark */
  --dark:       #0A0A0C;
  --dark-2:     #0C0C0E;
  --dark-3:     #0F0F11;
  --dark-warm:  #141210;
  --dark-text:  #8B8780;
  --dark-text2: #CFC9BE;
  --dark-text3: #EDE8DE;
  --dark-head:  #F4F0E7;

  /* surfaces + lines */
  --bg:         #FFFFFF;
  --bg-soft:    #FAF7F0;
  --bg-soft-2:  #FDFBF6;
  --bg-img:     #F3EEE4;
  --line:       #E6E0D4;
  --line-2:     #EAE3D5;
  --line-3:     #EFEADE;
  --line-4:     #F0EBE0;
  --line-web:   #E2DACB;

  /* status */
  --green:      #3E6B4C;
  --clay:       #9A6B62;

  --container:  1280px;
  --pad:        32px;

  --grad-gold:  linear-gradient(120deg, #C9A24B, #E7C97F);
  --grad-dark:  linear-gradient(180deg, #0C0C0E, #08080A);

  --shadow-card:  0 20px 42px rgba(28, 26, 23, .16);
  --shadow-panel: 0 22px 54px rgba(10, 10, 12, .28);

  --font-body: 'Noto Sans Thai', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --font-head: 'Kanit', 'Noto Sans Thai', sans-serif;
  /* source-dc sets every English display label in Cormorant Garamond —
     the eyebrows, the section kickers and the land-tile captions */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-en:   'Cormorant Garamond', Georgia, serif;
}

/* ---------- reset ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  /* an email or url with no break opportunity must wrap, not widen the page */
  overflow-wrap: break-word;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; }

a { color: var(--gold-deep); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--gold); }

button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: rgba(201, 162, 75, .28); }

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

.num { font-variant-numeric: lining-nums tabular-nums; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* a utility class has to win: responsive rules like ".search-row > *" set an
   !important width, which would otherwise stretch these labels and push the
   page sideways on phones */
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0 !important;
}

/* ---------- layout ---------- */

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.diamond {
  width: 7px; height: 7px; flex: none; display: block;
  background: var(--gold); transform: rotate(45deg);
}
.diamond.sm { width: 4px; height: 4px; }
.diamond.xs { width: 3px; height: 3px; background: #DCD3BE; }

.rule { height: 1px; background: var(--line); }
.rule-fade { flex: 1; height: 1px; background: linear-gradient(90deg, #E4DCCB, rgba(228,220,203,0)); }

/* ==========================================================================
   Nav
   ========================================================================== */

.nav {
  position: sticky; top: 0; z-index: 40;
  /* anchors the mobile dropdown */
  background: rgba(9, 9, 11, .96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 162, 75, .22);
}

.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--pad);
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 28px;
}

.nav-logo img { height: 30px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 24px;
  font-size: 13.5px; color: var(--dark-text2);
}
.nav-links a, .nav-links > span { color: var(--gold-light); white-space: nowrap; }
.nav-links a:hover, .nav-links > span:hover { color: var(--gold-light); }
.nav-links a.is-active {
  color: var(--gold-light);
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 3px;
}

.nav-menu { position: relative; cursor: pointer; display: flex; align-items: center; gap: 7px; }
.nav-menu > .caret { color: var(--gold); font-size: 9px; }
.nav-panel {
  position: absolute; top: 100%; left: -14px; padding-top: 10px; min-width: 196px; z-index: 50;
  visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .12s ease;
}
.nav-menu:hover .nav-panel, .nav-menu:focus-within .nav-panel { visibility: visible; opacity: 1; pointer-events: auto; }
.nav-panel-inner {
  display: block; background: var(--dark-3);
  border: 1px solid rgba(201, 162, 75, .3); border-radius: 10px;
  padding: 6px 0; box-shadow: 0 20px 44px rgba(0, 0, 0, .5);
}
.nav-panel-inner a { display: block; padding: 9px 16px; font-size: 13px; color: var(--dark-text2); }
.nav-panel-inner a:hover { background: rgba(201, 162, 75, .12); color: var(--gold-light); }

.nav-cta {
  flex: none; padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, .5);
  font-size: 12.5px; color: var(--gold-light);
}
.nav-cta:hover { background: var(--gold); color: var(--dark-warm); border-color: var(--gold); }

.lang-switch {
  display: flex; align-items: center; gap: 2px; flex: none;
  height: 40px; padding: 3px; border-radius: 999px;
  border: 1px solid rgba(201, 162, 75, .26);
}
.lang-switch span {
  display: inline-flex; align-items: center; justify-content: center;
  height: 24px; min-width: 40px; padding: 0 12px; border-radius: 999px;
  font-family: var(--font-head); font-size: 11px; letter-spacing: .12em;
  color: var(--dark-text);
}
.lang-switch span.is-active { background: rgba(201, 162, 75, .16); color: var(--gold-light); }
.lang-switch span[aria-disabled="true"] { cursor: not-allowed; }

.nav-toggle {
  display: none; flex: none;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid rgba(201, 162, 75, .32); background: transparent;
  cursor: pointer; align-items: center; justify-content: center; padding: 0;
  -webkit-tap-highlight-color: transparent;
}
/* one bar draws the middle line, its pseudo-elements the other two, so the
   whole thing can fold into an X */
.nav-toggle span {
  display: block; position: relative; width: 17px; height: 1.5px;
  background: var(--gold-light); transition: background .18s ease;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: var(--gold-light); transition: transform .22s ease;
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after  { top: 5.5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-5.5px) rotate(-45deg); }

/* the panel drops over the page rather than pushing the hero down */
.nav-mobile {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  background: var(--dark-2);
  border-bottom: 1px solid rgba(201, 162, 75, .32);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .34);
  max-height: calc(100vh - 58px); overflow: hidden auto;
  padding: 6px var(--pad) 16px;
}
.nav-mobile.is-open { display: block; }
.nav-mobile a {
  display: block; padding: 13px 0; font-size: 15px; color: var(--gold-light);
  border-bottom: 1px solid rgba(201, 162, 75, .32);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile a:hover { color: var(--gold-light); }
.nav-mobile .group-label {
  padding: 13px 0 2px; font-size: 10px; letter-spacing: .2em; color: #6C675F;
  border-bottom: 1px solid rgba(201, 162, 75, .32);
}
.nav-mobile .group-label + a, .nav-mobile .group-label ~ a.sub {
  padding: 9px 0 9px 16px; font-size: 14px; opacity: .85; border-bottom: 0;
}

/* ==========================================================================
   Page head band (dark)
   ========================================================================== */

.band {
  background: var(--grad-dark);
  padding: 38px 0 92px;
  border-bottom: 1px solid rgba(201, 162, 75, .18);
}
.band.short { padding: 44px 0 40px; }

.crumb {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11.5px; color: #6E6A63; margin-bottom: 20px;
}
.crumb a { color: var(--dark-text); }
.crumb a:hover { color: var(--gold-light); }
.crumb .cur { color: #C6BEAE; }

.band-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.band-eyebrow {
  font-family: var(--font-head); font-size: 11px; letter-spacing: .34em;
  color: var(--gold); margin-bottom: 12px;
}
.band-title {
  font-family: var(--font-head); font-weight: 300; font-size: 38px; line-height: 1.25; letter-spacing: .005em;
  letter-spacing: .005em; color: var(--dark-head); margin: 0;
}
.band-title b { font-weight: 500; color: var(--gold-light); }
.band-sub { font-size: 14px; line-height: 1.9; color: #9A958C; max-width: 640px; margin-top: 14px; }
.band-count { flex: none; text-align: right; padding-bottom: 6px; }
.band-count .n {
  font-family: var(--font-head); font-size: 34px; font-weight: 300; color: var(--gold-light); line-height: 1;
}
.band-count .l { font-size: 11.5px; letter-spacing: .14em; color: #7E7A73; margin-top: 6px; }

.band-pull { max-width: var(--container); margin: -64px auto 0; padding: 0 var(--pad) 56px; position: relative; z-index: 20; }

/* ==========================================================================
   Search + filter panel
   ========================================================================== */

.search-panel {
  background: #fff; border-radius: 14px;
  box-shadow: var(--shadow-panel);
  padding: 16px 18px;
}
.search-panel.plain { box-shadow: 0 12px 30px rgba(10, 10, 12, .10); border: 1px solid var(--line-3); }

.search-row {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line-web); border-radius: 999px;
  padding: 6px 6px 6px 8px;
}
.search-region {
  position: relative; display: flex; align-items: center;
  padding-right: 12px; border-right: 1px solid #E6E0D4; flex: none;
}
.search-region select {
  appearance: none; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--ink); padding: 8px 26px 8px 12px; cursor: pointer;
}
.search-region .caret { position: absolute; right: 16px; color: var(--gold); font-size: 9px; pointer-events: none; }

.search-row input[type="text"], .search-row input[type="search"] {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 14px; color: var(--ink); padding: 10px 6px;
}

.btn-gold {
  height: 44px; padding: 0 38px; border: none; border-radius: 999px;
  background: var(--grad-gold); color: #141005;
  font-size: 14.5px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  cursor: pointer; flex: none;
  box-shadow: 0 8px 20px rgba(201, 162, 75, .28);
  transition: filter .16s ease;
}
.btn-gold:hover { filter: brightness(1.06); color: #141005; }
.btn-gold.sm { height: 38px; padding: 0 24px; font-size: 13px; box-shadow: none; }
.btn-gold.lg { height: 48px; }

.btn-ghost {
  height: 38px; padding: 0 18px; border: 1px solid rgba(201, 162, 75, .5); border-radius: 999px;
  background: transparent; font-size: 12.5px; color: var(--gold-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  transition: background .16s ease;
}
.btn-ghost:hover { background: rgba(201, 162, 75, .1); color: var(--gold-deep); }
.btn-ghost.lg { height: 44px; padding: 0 26px; font-size: 13.5px; }

.btn-line {
  height: 44px; padding: 0 24px; border: 1px solid var(--line-web); border-radius: 999px;
  background: #fff; color: var(--ink-2); font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: pointer;
}
.btn-line:hover { border-color: var(--gold); color: var(--gold-deep); }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }

.sel { position: relative; display: flex; align-items: center; }
.sel select {
  appearance: none; height: 38px; padding: 0 30px 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 12.5px; color: var(--ink-2); cursor: pointer; outline: none;
  min-width: 128px; max-width: 100%;
  transition: border-color .16s ease;
}
.sel select:hover, .sel select:focus { border-color: var(--gold); }
.sel .caret { position: absolute; right: 14px; color: var(--gold); font-size: 9px; pointer-events: none; }
.sel.accent select { border-color: rgba(201, 162, 75, .55); background: rgba(201, 162, 75, .07); }
.sel.wide select { min-width: 150px; }
.sel.xwide select { min-width: 186px; }

.filter-summary {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-4);
  font-size: 12px; color: var(--muted);
}
.filter-summary .k { color: var(--gold-deep); }

/* ==========================================================================
   Section heads + group bars
   ========================================================================== */

.section { padding: 44px 0 52px; }
.section.tint { background: var(--bg-soft); border-top: 1px solid #EDE6D8; border-bottom: 1px solid #EDE6D8; }

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; row-gap: 12px;
}
.sec-eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px; letter-spacing: .44em;
  color: #A87C1C; margin-bottom: 14px;
}
.sec-titles { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; row-gap: 4px; }
.sec-title { font-family: var(--font-head); font-weight: 200; font-size: 36px; line-height: 1.24; letter-spacing: .005em; color: var(--ink); }
.sec-sub { font-size: 13px; color: var(--muted); }
.sec-link {
  font-size: 12.5px; color: var(--gold-deep); display: flex; align-items: center; gap: 9px;
  flex: none; padding-bottom: 4px;
}
.sec-link .dash { width: 20px; height: 1px; background: var(--gold); display: block; }

.sub-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.sub-title { font-family: var(--font-head); font-weight: 200; font-size: 27px; letter-spacing: .005em; color: var(--ink); }
.sub-en {
  font-family: var(--font-display); font-weight: 600; font-size: 16px; letter-spacing: .36em;
  color: #B98F2E;
}

.block-title {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  font-family: var(--font-head); font-weight: 500; font-size: 22px; color: var(--ink);
}

.group-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 20px; border-radius: 9px; background: var(--dark-warm);
  margin-bottom: 16px;
}
.group-bar .name {
  font-family: var(--font-head); font-size: 18px; letter-spacing: .05em;
  color: var(--gold-light); white-space: nowrap; flex: none;
}
.group-bar .en {
  font-family: var(--font-head); font-size: 10.5px; letter-spacing: .22em;
  color: #8A7A55; white-space: nowrap; flex: none;
}
.group-bar .note {
  font-size: 12.5px; color: var(--dark-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
.group-bar .meta { margin-left: auto; font-size: 11.5px; letter-spacing: .14em; color: #A8A29A; flex: none; }
.group-bar .more {
  margin-left: auto; flex: none; display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gold-light);
  padding: 5px 13px; border: 1px solid rgba(201, 162, 75, .45); border-radius: 999px; white-space: nowrap;
}
.group-bar .more:hover { background: var(--gold); color: var(--dark-warm); border-color: var(--gold); }

.tambon-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-bottom: 13px; flex-wrap: wrap; row-gap: 8px;
}
.tambon-head .l { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.tambon-head .name {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: 17px; color: var(--ink); white-space: nowrap;
}
.tambon-head .desc {
  font-size: 11.5px; color: #9A9186;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.tambon-head .more {
  flex: none; display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--gold-deep);
  padding: 5px 12px; border: 1px solid var(--line-web); border-radius: 999px; white-space: nowrap;
}
.tambon-head .more:hover { border-color: var(--gold); background: var(--dark-warm); color: var(--gold-light); }
.tambon-head .more .n { color: var(--muted-2); }

/* ==========================================================================
   Property cards
   ========================================================================== */

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

.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; color: inherit;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.card:hover {
  border-color: var(--gold); color: inherit;
  box-shadow: 0 16px 34px rgba(28, 26, 23, .13);
  transform: translateY(-3px);
}

.card-media { position: relative; background: var(--bg-img); overflow: hidden; }
/* article cards nest a .card-media inside a fixed-height .media box; without
   this it collapses to nothing and the placeholder text spills out */
.acard .media > .card-media,
.feat-card .media > .card-media { position: absolute; inset: 0; }
.card-media.r43 { aspect-ratio: 4 / 3; }
.card-media.r65 { aspect-ratio: 6 / 5; }
.card-media.tall { height: 196px; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace; font-size: 10px; color: #B3A88E;
  background: repeating-linear-gradient(135deg, #F3EEE4 0 9px, #EBE4D6 9px 18px);
}
.card-media .fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 60px;
  background: linear-gradient(180deg, rgba(10,10,12,0), rgba(10,10,12,.5));
  pointer-events: none;
}
.badge {
  position: absolute; top: 9px; left: 9px;
  padding: 3px 10px; border-radius: 4px; background: var(--dark-warm);
  font-size: 10.5px; letter-spacing: .12em; color: var(--gold-light);
}
.badge.pill {
  border-radius: 999px; padding: 4px 12px; top: 11px; left: 11px;
  background: rgba(10, 10, 12, .82); border: 1px solid rgba(201, 162, 75, .45);
  letter-spacing: .02em;
}
.badge-status {
  position: absolute; top: 9px; right: 9px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 10.5px; letter-spacing: .04em;
}
.card-code {
  position: absolute; bottom: 8px; right: 11px;
  font-family: ui-monospace, monospace; font-size: 9.5px; letter-spacing: .04em;
  color: rgba(255, 255, 255, .88);
}
.card-zone { position: absolute; bottom: 10px; left: 12px; font-size: 10.5px; color: rgba(244, 240, 231, .78); }
.card-zone.caps {
  font-family: var(--font-head); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(244, 240, 231, .9);
}

/* zone chip, top right of the media — the design shows it on the Khao Yai grid */
.badge-zone {
  position: absolute; top: 11px; right: 11px;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(201, 162, 75, .92); border: 1px solid rgba(235, 208, 138, .6);
  font-size: 10px; letter-spacing: .02em; color: #FBF3DF;
}

/* feature tags under the price row */
.card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 11px; padding-top: 11px; border-top: 1px solid var(--line-4);
}
.card-tags span {
  padding: 3px 9px; border-radius: 5px;
  background: var(--bg-soft); border: 1px solid var(--line-3);
  font-size: 10.5px; color: var(--muted); white-space: nowrap;
}

.card-body { padding: 13px 15px 15px; display: flex; flex-direction: column; flex: 1; }
/* the clamp lives on an inner span: .card-title is a flex item, and a flex
   item's display is blockified, which silently cancels -webkit-box */
.card-title {
  font-size: 14.5px; line-height: 1.45; color: var(--ink); margin-bottom: 6px;
  overflow: hidden;
}
.card-title > span {
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-loc {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px; color: var(--muted); margin-bottom: 10px;
  white-space: nowrap; overflow: hidden;
}
.card-loc span { overflow: hidden; text-overflow: ellipsis; }
.card-facts {
  margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 11.5px; color: #6E6A63;
  padding-bottom: 10px; border-bottom: 1px solid #EDE8DC;
}
.card-price {
  padding-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.card-price .v {
  font-family: var(--font-head); font-weight: 500; font-size: 17px;
  letter-spacing: .005em; color: var(--gold-deep);
}
.card-price .u { font-size: 12.5px; font-weight: 400; color: #9A9186; }
.card-price .go { font-family: var(--font-head); font-size: 9.5px; letter-spacing: .2em; color: #C0B8A6; flex: none; }

/* empty state */
.empty {
  border: 1px solid var(--line); background: var(--bg-soft); border-radius: 10px;
  padding: 52px 32px; text-align: center; margin-bottom: 40px;
}
.empty .mark { width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); margin: 0 auto 22px; }
.empty .t { font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.empty .b { font-size: 13px; line-height: 1.8; color: var(--muted); margin-bottom: 22px; }

/* ==========================================================================
   Sort bar + pagination
   ========================================================================== */

.sort-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 20px; }
.sort-bar .count {
  margin-left: auto; flex: none; display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--muted);
}
.sort-bar .count .dash { width: 22px; height: 1px; background: var(--line-web); display: block; }
.sort-bar .count b { color: var(--gold-deep); font-weight: 500; }

.pager { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding-top: 8px; }
.pager .info { font-size: 12.5px; color: var(--muted); }
.pager ul { display: flex; gap: 7px; align-items: center; list-style: none; margin: 0; padding: 0; }
.pager a, .pager span.pg {
  width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--ink-2);
}
.pager a:hover { border-color: var(--gold); color: var(--gold-deep); }
.pager .is-current { border-color: var(--gold); background: rgba(201, 162, 75, .12); color: var(--gold-deep); }
.pager .is-disabled { color: #D6D0C4; }

/* ==========================================================================
   Property detail
   ========================================================================== */

.gallery-main {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line-2); aspect-ratio: 21 / 9; background: var(--bg-img);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-count {
  position: absolute; left: 18px; top: 18px; padding: 6px 15px; border-radius: 999px;
  background: rgba(10, 10, 12, .8); border: 1px solid rgba(201, 162, 75, .4);
  font-size: 11px; letter-spacing: .06em; color: var(--gold-light); pointer-events: none;
}
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.thumbs button {
  position: relative; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-2); aspect-ratio: 4 / 3; background: var(--bg-img);
  padding: 0; cursor: pointer; display: block;
}
.thumbs button.is-active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201, 162, 75, .25); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .more {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--dark-3); color: var(--gold-light);
  font-family: var(--font-head); font-size: 15px; font-weight: 300;
}
.thumbs .more small { font-family: var(--font-body); font-size: 11.5px; color: var(--dark-text); }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 356px; gap: 48px; align-items: start; padding: 40px 0 60px; }
.detail-main { min-width: 0; }
.detail-block { margin-bottom: 46px; }

.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line-3); border: 1px solid var(--line-3);
  border-radius: 14px; overflow: hidden;
}
.facts > div { background: #fff; padding: 16px 20px; min-width: 0; }
.nearby > div:empty, .facts > div:empty { padding: 0; }
.facts .l { font-size: 11.5px; color: var(--muted-2); margin-bottom: 6px; }
.facts .v { font-size: 13.5px; color: var(--ink); line-height: 1.5; }

.stat-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.stat-cards > div {
  border: 1px solid var(--line-2); border-radius: 14px; padding: 20px 18px;
  background: #fff; min-width: 0; text-align: center;
}
.stat-cards .ico {
  width: 40px; height: 40px; border-radius: 11px; background: var(--bg-soft);
  border: 1px solid var(--line-3); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.stat-cards .v { font-family: var(--font-head); font-size: 19px; font-weight: 400; color: var(--ink); line-height: 1.2; }
.stat-cards .l { font-size: 11.5px; color: var(--muted); margin-top: 7px; line-height: 1.5; }

.amenities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 22px; }
.amenities > div {
  display: flex; align-items: center; gap: 13px; padding: 12px 16px;
  border: 1px solid var(--line-3); border-radius: 10px; background: #fff; min-width: 0;
  font-size: 13.5px; color: var(--ink-soft);
}
.amenities .ico {
  width: 34px; height: 34px; border-radius: 9px; background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center; flex: none;
}

.prose { font-size: 15.5px; line-height: 2.05; color: var(--ink-soft); }
/* the short summary an editor writes, set as a lead paragraph above the body */
.prose-lead {
  margin: 0 0 20px; font-size: 17px; line-height: 1.9; color: var(--ink);
  padding-left: 16px; border-left: 2px solid var(--gold); text-wrap: pretty;
}
.prose p { margin: 0 0 18px; text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose h2 {
  font-family: var(--font-head); font-weight: 500; font-size: 26px; color: var(--ink);
  margin: 44px 0 16px; line-height: 1.45; scroll-margin-top: 90px;
}
.prose h3 { font-family: var(--font-head); font-weight: 500; font-size: 20px; color: var(--ink); margin: 30px 0 12px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  border-left: 2px solid var(--gold); background: var(--bg-soft);
  padding: 22px 26px; border-radius: 0 12px 12px 0; margin: 32px 0;
  font-size: 15px; line-height: 1.95;
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: 12px; margin: 24px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 13px; }
.prose thead { background: var(--dark-warm); }
.prose th {
  padding: 14px 18px; text-align: left; font-family: var(--font-head);
  font-size: 10px; letter-spacing: .2em; font-weight: 400; color: var(--gold-light);
}
.prose th:first-child { color: var(--dark-text); }
.prose td { padding: 14px 18px; border-top: 1px solid var(--line-4); color: var(--ink-2); line-height: 1.75; }
.prose td:first-child { color: var(--ink); }
.prose .table-scroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 12px; margin-bottom: 28px; }
.prose .table-scroll table { margin: 0; min-width: 520px; }

.note-small { font-size: 11.5px; line-height: 1.9; color: var(--muted-2); margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-3); }

.nearby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-3); border: 1px solid var(--line-3); border-radius: 12px; overflow: hidden; }
.nearby > div {
  background: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-width: 0; font-size: 13px; color: var(--ink-soft);
}
.nearby .d { flex: none; font-size: 12.5px; color: var(--muted); }

.map-frame { position: relative; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 14px; background: var(--bg-img); }
.map-frame img, .map-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }

/* sidebar */
.detail-side { position: sticky; top: 88px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }

.side-card {
  border: 1px solid #EDE6D8; border-radius: 16px; padding: 24px;
  box-shadow: 0 22px 54px rgba(10, 10, 12, .13); background: #fff;
}
.agent-row {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line-4); margin-bottom: 18px;
}
.agent-avatar {
  width: 48px; height: 48px; border-radius: 999px; background: var(--dark-warm);
  border: 1px solid rgba(201, 162, 75, .4);
  display: flex; align-items: center; justify-content: center; flex: none;
  color: var(--gold-light); font-family: var(--font-head); font-size: 15px;
}
.agent-row .n { font-size: 14.5px; color: var(--ink); }
.agent-row .r { font-size: 11.5px; color: var(--muted); }

.or-line { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.or-line span:first-child, .or-line span:last-child { flex: 1; height: 1px; background: var(--line-4); }
.or-line .t { font-size: 11px; color: var(--muted-3); }

.calc-result {
  border: 1px solid rgba(201, 162, 75, .3); border-radius: 16px;
  background: linear-gradient(180deg, #0F0F11, #0A0A0C); padding: 24px; min-width: 0;
}
.calc-result .cap { font-family: var(--font-head); font-size: 9.5px; letter-spacing: .22em; color: var(--gold); margin-bottom: 16px; }
.calc-result .lbl { font-size: 12px; color: var(--dark-text); margin-bottom: 9px; }
.calc-result .big { font-family: var(--font-head); font-size: 30px; font-weight: 300; color: var(--gold-light); line-height: 1.1; }
.calc-result .row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 0; border-top: 1px solid rgba(201, 162, 75, .16);
  font-size: 12.5px; color: var(--dark-text);
}
.calc-result .row b { color: var(--dark-text3); font-weight: 400; }
.calc-result .fine { font-size: 11px; line-height: 1.8; color: #605C57; margin-top: 14px; }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label { font-size: 12px; color: var(--muted); }
.field .req { color: var(--clay); }

.input, .textarea, .select-input {
  width: 100%; height: 46px; padding: 0 16px;
  border: 1px solid #E4DCCB; border-radius: 10px; background: var(--bg-soft-2);
  font-size: 14px; color: var(--ink); outline: none;
  transition: border-color .16s ease;
}
.input:focus, .textarea:focus, .select-input:focus { border-color: var(--gold); }
.textarea { height: auto; padding: 13px 16px; resize: vertical; line-height: 1.7; min-height: 92px; }
.select-input { appearance: none; cursor: pointer; padding-right: 34px; }
.select-wrap { position: relative; }
.select-wrap .caret { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 9px; pointer-events: none; }

.err { font-size: 12px; color: var(--clay); }
.input.has-err, .textarea.has-err { border-color: var(--clay); }

.alert-ok {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 10px; margin-bottom: 14px;
  background: rgba(74, 124, 89, .1); border: 1px solid rgba(74, 124, 89, .32);
  font-size: 13px; color: var(--green);
}
.alert-err {
  padding: 12px 16px; border-radius: 10px; margin-bottom: 14px;
  background: #F9F1F0; border: 1px solid #E6D6D3; font-size: 13px; color: var(--clay);
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ==========================================================================
   Chips
   ========================================================================== */

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  height: 36px; padding: 0 17px; border: 1px solid var(--line-web); background: #fff;
  border-radius: 999px; display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--ink-2); white-space: nowrap; cursor: pointer;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.is-active { border-color: var(--gold); background: rgba(201, 162, 75, .12); color: var(--gold-deep); }
.chip .n { font-size: 11px; color: var(--dark-text); }
.chip.sm { height: 32px; padding: 0 15px; font-size: 12px; }

/* ==========================================================================
   Articles
   ========================================================================== */

.article-feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; margin-bottom: 44px;
}
.article-feature:hover { border-color: var(--gold); }
.article-feature .media { position: relative; min-height: 328px; background: var(--bg-img); }
.article-feature .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-feature .body {
  background: var(--dark-2); padding: 38px 36px;
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
}
.article-feature .cat { font-family: var(--font-head); font-size: 9.5px; letter-spacing: .22em; color: var(--gold); margin-bottom: 16px; }
.article-feature .t {
  font-family: var(--font-head); font-weight: 300; font-size: 30px; line-height: 1.38;
  color: var(--dark-head); margin-bottom: 16px; text-wrap: pretty;
}
.article-feature .x { font-size: 13px; line-height: 1.95; color: var(--dark-text); margin-bottom: 22px; }
.article-feature .m { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: #7E7A73; flex-wrap: wrap; }
.article-feature .m .go { margin-left: auto; font-family: var(--font-head); font-size: 9.5px; letter-spacing: .2em; color: var(--gold-light); }

.acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.acard:hover { border-color: var(--gold); box-shadow: var(--shadow-card); transform: translateY(-4px); color: inherit; }
.acard .media { position: relative; height: 184px; background: var(--bg-img); }
.acard .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acard .body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.acard .t { font-size: 15.5px; line-height: 1.55; color: var(--ink); margin-bottom: 11px; text-wrap: pretty; }
.acard .x {
  font-size: 12.5px; line-height: 1.9; color: var(--muted); margin-bottom: 18px;
  overflow: hidden;
}
.acard .x > span {
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}
.acard .m {
  margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line-3);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 11.5px; color: var(--muted);
}
.acard .m .go { font-family: var(--font-head); font-size: 9.5px; letter-spacing: .2em; color: #C0B8A6; }

.reading { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 56px; align-items: start; padding: 52px 0 64px; }
.reading-main { min-width: 0; max-width: 760px; }
.reading-main .lead { font-size: 16px; line-height: 2.05; }
.toc { position: sticky; top: 88px; }
.toc .cap { font-family: var(--font-head); font-size: 9.5px; letter-spacing: .22em; color: var(--gold-deep); margin-bottom: 14px; }
.toc a { display: block; padding: 9px 0 9px 14px; border-left: 2px solid var(--line-3); font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.toc a:hover { border-color: var(--gold); color: var(--gold-deep); }

.dark-strip {
  background: var(--dark-2); border: 1px solid rgba(201, 162, 75, .22); border-radius: 16px;
  padding: 34px 36px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  gap: 40px; align-items: center;
}
.dark-strip .cap { font-family: var(--font-head); font-size: 10.5px; letter-spacing: .28em; color: var(--gold); margin-bottom: 13px; }
.dark-strip .t { font-family: var(--font-head); font-weight: 300; font-size: 26px; color: var(--dark-head); line-height: 1.4; }
.dark-strip .x { font-size: 12.5px; line-height: 1.95; color: var(--dark-text); }
.dark-strip .acts { flex: none; display: flex; flex-direction: column; gap: 10px; }
.dark-strip .acts a { height: 44px; padding: 0 26px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13.5px; white-space: nowrap; }
.dark-strip .acts a.gold { background: var(--grad-gold); color: #141005; font-weight: 500; }
.dark-strip .acts a.ghost { border: 1px solid rgba(201, 162, 75, .45); color: var(--gold-light); }
.dark-strip .acts a.ghost:hover { background: rgba(201, 162, 75, .12); }

/* ==========================================================================
   Clips
   ========================================================================== */

.player { position: relative; width: 100%; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: var(--dark); border: 1px solid var(--line-2); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.queue { min-width: 0; border: 1px solid var(--line-2); border-radius: 14px; background: var(--bg-soft); padding: 18px; display: flex; flex-direction: column; }
.queue-items { display: flex; flex-direction: column; gap: 10px; max-height: 392px; overflow-y: auto; }
.queue-item { display: flex; gap: 12px; padding: 8px; border: 1px solid var(--line-3); background: #fff; border-radius: 10px; min-width: 0; color: inherit; }
.queue-item:hover { border-color: var(--gold); color: inherit; }
.queue-item .th { width: 104px; height: 59px; flex: none; border-radius: 7px; overflow: hidden; background: var(--dark-warm); }
.queue-item .th img { width: 100%; height: 100%; object-fit: cover; }
.queue-item .t { font-size: 12.5px; line-height: 1.45; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-item .c { font-family: var(--font-head); font-size: 9px; letter-spacing: .16em; color: var(--gold-deep); }

.ccard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; color: inherit; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ccard:hover { border-color: var(--gold); box-shadow: var(--shadow-card); transform: translateY(-4px); color: inherit; }
.ccard .media { position: relative; background: var(--dark-warm); aspect-ratio: 16 / 9; }
.ccard .media img { width: 100%; height: 100%; object-fit: cover; }
.ccard .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ccard .play i {
  width: 48px; height: 34px; border-radius: 8px; background: rgba(10, 10, 12, .72);
  border: 1px solid rgba(201, 162, 75, .5); display: flex; align-items: center; justify-content: center;
}
.ccard .play i::before {
  content: ''; width: 0; height: 0; margin-left: 3px;
  border-left: 11px solid var(--gold-light); border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.ccard .body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.ccard .t { font-size: 14px; color: var(--ink); line-height: 1.5; margin-bottom: 10px; }
.ccard .m {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 11.5px; color: var(--muted); padding-top: 11px; border-top: 1px solid var(--line-3);
}

/* ==========================================================================
   Khao Yai / Toscana specifics
   ========================================================================== */

.zone-table { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.zone-row { display: grid; grid-template-columns: 210px minmax(0, 1fr) 190px; border-top: 1px solid var(--line-4); }
.zone-row:first-child { border-top: 0; }
.zone-row > div { padding: 18px 22px; min-width: 0; }
.zone-row .name { font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.zone-row .en { font-family: var(--font-head); font-size: 9.5px; letter-spacing: .2em; color: #9C8449; margin-top: 5px; }
.zone-row .desc { font-size: 13px; line-height: 1.85; color: var(--ink-2); }
.zone-row .band { background: none; border: 0; padding: 18px 22px; text-align: right; font-family: var(--font-head); font-size: 15px; color: var(--gold-deep); }
.zone-head { background: var(--dark-warm); display: grid; grid-template-columns: 210px minmax(0, 1fr) 190px; }
.zone-head > div { padding: 14px 22px; font-family: var(--font-head); font-size: 10px; letter-spacing: .2em; color: var(--gold-light); }
.zone-head > div:first-child { color: var(--dark-text); }

.tambon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tambon-card {
  border: 1px solid var(--line-2); border-radius: 12px; padding: 16px 18px; background: #fff;
  display: flex; flex-direction: column; gap: 8px; color: inherit;
}
.tambon-card:hover { border-color: var(--gold); background: var(--bg-soft-2); color: inherit; }
.tambon-card .n { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.tambon-card .d { font-size: 12px; line-height: 1.8; color: var(--muted); }
.tambon-card .c { font-size: 11.5px; color: var(--gold-deep); }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-card { border: 1px solid var(--line-2); border-radius: 14px; padding: 22px 24px; background: #fff; }
.feature-card .n { font-family: var(--font-head); font-size: 17px; color: var(--ink); margin-bottom: 9px; }
.feature-card .d { font-size: 13px; line-height: 1.9; color: var(--muted); }

/* steps (consign page) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step {
  border: 1px solid var(--line-2); border-radius: 14px; padding: 24px 22px; background: #fff;
  display: flex; flex-direction: column; gap: 12px;
}
.step .n {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(201, 162, 75, .14); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 15px;
}
.step .t { font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.step .d { font-size: 13px; line-height: 1.9; color: var(--muted); }

.faq { border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.faq details { border-top: 1px solid var(--line-4); background: #fff; }
.faq details:first-child { border-top: 0; }
.faq summary {
  padding: 18px 22px; cursor: pointer; font-size: 14.5px; color: var(--ink);
  display: flex; align-items: center; gap: 12px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; color: var(--gold); font-size: 18px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq .a { padding: 0 22px 20px 46px; font-size: 13.5px; line-height: 1.95; color: var(--muted); }

.cta-band {
  background: var(--dark-warm); border-radius: 14px; padding: 34px 36px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; row-gap: 16px;
}
.cta-band .cap { font-family: var(--font-head); font-size: 11px; letter-spacing: .28em; color: var(--gold-deep); margin-bottom: 9px; }
.cta-band .t { font-family: var(--font-head); font-size: 24px; color: #F3EFE6; margin-bottom: 7px; }
.cta-band .d { font-size: 13px; color: var(--dark-text); }
.cta-band .acts { display: flex; gap: 12px; flex: none; flex-wrap: wrap; }
.cta-band .acts a { padding: 12px 26px; border-radius: 999px; font-size: 13px; }
.cta-band .acts a.solid { background: var(--gold); color: var(--dark-warm); }
.cta-band .acts a.solid:hover { background: var(--gold-light); }
.cta-band .acts a.ghost { border: 1px solid rgba(201, 162, 75, .45); color: var(--gold-light); }
.cta-band .acts a.ghost:hover { background: rgba(201, 162, 75, .14); }

.form-card { border: 1px solid var(--line-2); border-radius: 16px; padding: 28px 30px; background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

/* stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--line-3); gap: 1px;
}
.stat-strip > div { background: #fff; padding: 22px 24px; text-align: center; }
.stat-strip .v { font-family: var(--font-head); font-weight: 300; font-size: 30px; color: var(--gold-deep); line-height: 1; }
.stat-strip .l { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   Footer + floating contact
   ========================================================================== */

.footer { background: var(--dark); padding: 52px 0 24px; margin-top: 0; }
.footer img.logo { height: 32px; width: auto; margin-bottom: 36px; }
.footer-cols {
  display: grid; grid-template-columns: 1fr 1fr auto; gap: 52px;
  padding-bottom: 36px; border-bottom: 1px solid rgba(201, 162, 75, .16);
}
.footer .cap { margin-bottom: 18px; }
.footer .cap b { font-family: var(--font-head); font-size: 11.5px; letter-spacing: .28em; color: var(--gold); font-weight: 400; }
.footer .cap span { font-size: 12px; color: var(--gold); }
.footer .h { font-size: 13.5px; color: var(--dark-text3); margin-bottom: 8px; }
.footer .p { font-size: 12.5px; line-height: 1.9; color: var(--dark-text); margin-bottom: 16px; }
.footer .p b { color: var(--dark-text3); font-weight: 400; }
.footer .btn-map {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 6px;
  border: 1px solid rgba(201, 162, 75, .4); font-size: 12px; color: var(--gold-light);
}
.footer .btn-map:hover { background: rgba(201, 162, 75, .12); }
.footer .socials { display: flex; gap: 10px; flex-wrap: wrap; font-size: 12px; }
.footer .socials a { padding: 7px 14px; border-radius: 6px; border: 1px solid rgba(201, 162, 75, .22); color: #9A958C; }
.footer .socials a:hover { color: var(--gold-light); border-color: rgba(201, 162, 75, .5); }
.footer-qr { display: flex; gap: 18px; }
.footer-qr .q { text-align: center; }
.footer-qr .box {
  width: 100px; height: 100px; border-radius: 8px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: ui-monospace, monospace; font-size: 9px; color: var(--muted-2); margin-bottom: 9px;
  overflow: hidden;
}
.footer-qr .box img { width: 100%; height: 100%; object-fit: contain; }
.footer-qr .l { font-size: 11.5px; color: var(--dark-text); }
.footer-bot {
  padding-top: 18px; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap; font-size: 11.5px; color: #605C57;
}
.footer-bot .tags { color: #7E7A73; }
.footer-nav { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 18px; font-size: 12px; }
.footer-nav a { color: #7E7A73; }
.footer-nav a:hover { color: var(--gold-light); }

.float-contact {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 12px; padding: 11px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-web);
  box-shadow: 0 14px 34px rgba(28, 26, 23, .18); color: inherit;
}
.float-contact:hover { border-color: var(--gold); color: inherit; }
.float-contact .ico {
  width: 34px; height: 34px; border-radius: 999px; background: var(--dark-warm);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.float-contact .t { font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.float-contact .s { font-size: 11px; color: var(--muted); }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .42s ease-out, transform .42s ease-out; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   Responsive — 1180 / 900 / 700 / 540
   ========================================================================== */

@media (max-width: 1180px) {
  :root { --pad: 24px; }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail { grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; }
  .reading { grid-template-columns: minmax(0, 1fr) 240px; gap: 36px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-links { gap: 18px; font-size: 13px; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta, .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { height: 58px; gap: 12px; }
  .band-title { font-size: 32px; }
}

@media (max-width: 900px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail, .reading { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .detail-side, .toc { position: static; }
  .facts, .amenities, .tambon-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-feature { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-qr { grid-column: 1 / -1; }
  .dark-strip { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .dark-strip .acts { flex-direction: row; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zone-row, .zone-head { grid-template-columns: minmax(0, 1fr); }
  .zone-row .band { text-align: left; padding-top: 0; }
  .zone-head { display: none; }
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
  :root { --pad: 18px; }
  .band { padding: 30px 0 76px; }
  .band-title { font-size: 29px; }
  .band-count .n { font-size: 27px; }
  .sec-title { font-size: 25px; }
  .section { padding: 34px 0 40px; }

  .search-row { flex-direction: column; align-items: stretch; border-radius: 16px; padding: 8px; row-gap: 6px; }
  .search-row > *:not(.sr-only) { flex: 0 0 auto !important; width: 100% !important; }
  .search-region { padding-right: 0; border-right: none; border-bottom: 1px solid #E6E0D4; }
  .search-region select { width: 100%; padding-left: 14px; }
  .search-row .btn-gold { height: 48px; padding: 0; }

  /* source-dc: the home panel lays its filters out two to a row; the listing
     panels simply wrap, each control as wide as its own label */
  .filter-row.is-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .filter-row.is-grid > *:not(.sr-only) { width: 100%; min-width: 0; }
  .filter-row.is-grid .sel select { min-width: 0; width: 100%; }
  .filter-row.is-grid > .btn-ghost,
  .filter-row.is-grid > .fixed-chip { grid-column: 1 / -1; }

  /* a locked chip always gets its own line, or it crowds the control beside it */
  .filter-row > .fixed-chip { width: 100%; justify-content: flex-start; }
  .sel select, .sel.wide select, .sel.xwide select { max-width: 100%; }

  /* two cards to a row all the way down to 700px, as source-dc does */
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid-4.gap-lg, .grid-3.gap-lg { gap: 12px; }
  .feature-grid.two, .steps, .stat-cards { grid-template-columns: minmax(0, 1fr); }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-main { aspect-ratio: 16 / 10; }

  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .float-contact { right: 14px; bottom: 14px; padding: 9px 16px; }
  .float-contact .s { display: none; }
  .article-feature .body { padding: 26px 22px; }
  .article-feature .t { font-size: 23px; }
  .dark-strip { padding: 26px 22px; }
  .cta-band { padding: 26px 22px; }
  .prose { font-size: 15px; }
  .prose h2 { font-size: 22px; }
  .stat-strip { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 540px) {
  :root { --pad: 16px; }
  .sec-title { font-size: 22px; }
  .thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-bar { flex-wrap: wrap; row-gap: 8px; }
  .group-bar .note { white-space: normal; }
  .group-bar .more, .group-bar .meta { margin-left: 0; }

  /* everything drops to one column here — except the home strips, which
     source-dc explicitly holds at two ([data-r="ky-grid"]) */
  .grid-4, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .grid-4.cards-2up, .grid-3.cards-2up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .facts, .amenities, .nearby, .tambon-grid, .feature-grid { grid-template-columns: minmax(0, 1fr); }

  .market-table .mt-head,
  .market-table .mt-row { grid-template-columns: 92px repeat(3, minmax(0, 1fr)); font-size: 11px; }

  /* two cards to a row only works if the card tightens up, which is exactly
     what source-dc does to [data-r="ky-grid"] at this width */
  .cards-2up .card-body { padding: 11px 12px 13px; }
  .cards-2up .card-title { font-size: 13px; }
  .cards-2up .card-price { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cards-2up .card-price .v { font-size: 15px; }
  .cards-2up .card-price .u { font-size: 10px; }
  .cards-2up .card-loc { font-size: 10.5px; gap: 5px; }
  .cards-2up .card-loc svg { width: 11px; height: 11px; }
  .cards-2up .card-facts { gap: 7px; font-size: 10.5px; flex-wrap: nowrap; overflow: hidden; }
  .cards-2up .card-code { font-size: 8.5px; }
  .cards-2up .badge, .cards-2up .badge-zone, .cards-2up .badge-status { font-size: 9.5px; padding: 3px 9px; }
}

/* print */
@media print {
  .nav, .footer, .float-contact, .detail-side, .search-panel { display: none !important; }
  body { font-size: 12px; }
}

/* ==========================================================================
   Zone strip — dark summary panel at the foot of the Khao Yai listing
   (source-dc: Diamond Property Khao Yai.dc.html)
   ========================================================================== */

.info-strip, .zone-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 34px; align-items: start;
  background: #0C0C0E; border: 1px solid rgba(201, 162, 75, .22);
  border-radius: 16px; padding: 38px 40px;
  margin: 8px 0 52px;
}
.info-strip .z .k, .zone-strip .z .k {
  font-family: var(--font-head); font-size: 10.5px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.info-strip .z .n, .zone-strip .z .n {
  font-size: 14.5px; line-height: 1.55; color: var(--dark-head); margin-bottom: 10px;
}
.info-strip .z .d, .zone-strip .z .d { font-size: 12.5px; line-height: 1.85; color: #8B8780; }
.info-strip .cta, .zone-strip .cta { display: flex; flex-direction: column; gap: 12px; flex: none; }
.info-strip .cta .btn-gold, .zone-strip .cta .btn-gold,
.info-strip .cta .btn-ghost, .info-strip .cta .btn-ghost, .zone-strip .cta .btn-ghost { width: 100%; white-space: nowrap; }
.info-strip .cta .btn-ghost, .zone-strip .cta .btn-ghost { height: 44px; color: var(--gold-light); border-color: rgba(201, 162, 75, .5); }
.info-strip .cta .btn-ghost:hover, .zone-strip .cta .btn-ghost:hover { background: rgba(201, 162, 75, .12); color: var(--gold-light); }

@media (max-width: 1180px) {
  .info-strip, .zone-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  /* side by side now, so the buttons share the row instead of each claiming
     the full width and pushing the page sideways */
  .info-strip .cta, .zone-strip .cta { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .info-strip .cta > *, .zone-strip .cta > * { flex: 1 1 auto; min-width: 0; width: auto; }
}
@media (max-width: 700px) {
  .info-strip, .zone-strip { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .info-strip .cta, .zone-strip .cta { flex-direction: column; }
  .info-strip .cta > *, .zone-strip .cta > * { width: 100%; }
}

/* ==========================================================================
   Toscana Valley — quick links, guide cards, market table, rare-assets band
   (source-dc: Diamond Property Toscana Valley.dc.html)
   ========================================================================== */

.band-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.band-links a {
  display: inline-flex; align-items: center; gap: 9px;
  height: 40px; padding: 0 20px; border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(201, 162, 75, .38);
  font-size: 13px; color: var(--dark-text2); white-space: nowrap;
}
.band-links a:hover { border-color: var(--gold); color: var(--gold-light); background: rgba(201, 162, 75, .12); }
.band-links a.is-active { border-color: var(--gold); color: var(--gold-light); background: rgba(201, 162, 75, .16); }

.guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  background: var(--bg-soft-2); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 22px 24px; min-width: 0;
}
.guide-card .k {
  font-family: var(--font-head); font-size: 10.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px;
}
.guide-card .n { font-family: var(--font-head); font-size: 17px; color: var(--ink); margin-bottom: 10px; }
.guide-card .d { font-size: 12.5px; line-height: 1.9; color: var(--muted); }

.market-table {
  border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff;
}
.market-table .mt-head,
.market-table .mt-row {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 18px; padding: 14px 22px; align-items: center;
}
.market-table .mt-head {
  background: var(--dark); color: var(--gold-light);
  font-family: var(--font-head); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
}
.market-table .mt-row { font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line-3); }
.market-table .mt-row:nth-child(even) { background: var(--bg-soft); }
.market-table .mt-row .k { color: var(--ink); }
.market-table .mt-row .hl { color: var(--gold-deep); }

.rare-band {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  gap: 34px; align-items: center;
  background: var(--dark-2); border-radius: 16px; padding: 40px;
  margin-top: 44px;
}
.rare-band .k {
  font-family: var(--font-head); font-size: 10.5px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.rare-band .n {
  font-family: var(--font-head); font-weight: 300; font-size: 26px; line-height: 1.4;
  color: var(--dark-head);
}
.rare-band .d { font-size: 13px; line-height: 1.95; color: var(--dark-text); }
.rare-band .cta { display: flex; flex-direction: column; gap: 12px; flex: none; }
.rare-band .cta .btn-gold, .rare-band .cta .btn-ghost { width: 100%; white-space: nowrap; height: 44px; }
.rare-band .cta .btn-ghost { color: var(--gold-light); border-color: rgba(201, 162, 75, .5); }
.rare-band .cta .btn-ghost:hover { background: rgba(201, 162, 75, .12); color: var(--gold-light); }

@media (max-width: 1180px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rare-band { grid-template-columns: minmax(0, 1fr) auto; }
  .rare-band .d { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .market-table .mt-head,
  .market-table .mt-row { grid-template-columns: 118px repeat(3, minmax(0, 1fr)); gap: 12px; padding: 12px 16px; }
}
@media (max-width: 700px) {
  .guide-grid { grid-template-columns: minmax(0, 1fr); }

  /* source-dc scrolls this sideways rather than stacking it into label pairs */
  .market-table { overflow-x: auto; }
  .market-table .mt-head,
  .market-table .mt-row { min-width: 560px; grid-template-columns: 130px repeat(3, minmax(0, 1fr)); }
  .rare-band { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  .band-links { gap: 8px; }
  .band-links a { height: 36px; padding: 0 15px; font-size: 12.5px; }
}

/* a locked filter shown as a chip — "OUR SERVICE ขาย (BUY)" / "PROJECT Toscana Valley" */
.fixed-chip {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 38px; padding: 0 15px; border-radius: 999px;
  background: rgba(201, 162, 75, .09); border: 1px solid rgba(201, 162, 75, .55);
}
.fixed-chip .k {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-size: 9.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-deep); white-space: nowrap;
}
.fixed-chip .v { font-size: 12.5px; color: var(--ink); white-space: nowrap; }

/* ==========================================================================
   Home — client voices + help centre (source-dc: index / Home.dc.html)
   ========================================================================== */

.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.voice-card {
  display: flex; flex-direction: column;
  background: var(--bg-soft); border: 1px solid var(--line-4); border-radius: 10px;
  padding: 24px; min-width: 0;
}
.voice-card .q { font-size: 13.5px; line-height: 1.95; color: #4A463E; margin-bottom: auto; }
.voice-card .who {
  display: flex; align-items: center; gap: 12px;
  margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-3);
}
.voice-card .av {
  width: 34px; height: 34px; border-radius: 999px; flex: none;
  background: var(--dark-warm); color: var(--gold-light);
  font-family: var(--font-head); font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.voice-card .n { font-size: 13px; color: var(--ink); line-height: 1.45; }
.voice-card .m { font-size: 11px; color: var(--muted-2); line-height: 1.5; }
.voice-card .stars { margin-left: auto; display: flex; gap: 4px; flex: none; }
.voice-card .stars i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); display: block; }

.help-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.help-card {
  background: var(--bg-soft); border: 1px solid var(--line-4); border-radius: 10px;
  padding: 24px 22px; min-width: 0;
}
.help-card .ico { margin-bottom: 16px; display: block; }
.help-card .n {
  font-family: var(--font-head); font-size: 18px; letter-spacing: .08em;
  color: var(--ink); margin-bottom: 8px;
}
.help-card .d { font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.help-card:hover { border-color: var(--gold-line); }

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

/* ==========================================================================
   Artwork slots — the service pages are laid out around images in source-dc
   ========================================================================== */

.art-stack { display: flex; flex-direction: column; gap: 18px; }
.art-pair  { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.art-slot {
  position: relative; overflow: hidden;
  background: var(--bg-img); border: 1px solid var(--line); border-radius: 14px;
}
.art-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-slot .ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  font-size: 12px; color: var(--muted-2); text-align: center; padding: 20px;
}
.sec-note { font-size: 12px; color: var(--muted-2); flex: none; }

@media (max-width: 700px) { .art-pair { grid-template-columns: minmax(0, 1fr); } }

/* ── "แสดงเพิ่ม" under each home mega section ─────────────────────────── */
.more-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin: 30px auto 0; padding: 0 26px; height: 40px;
  background: none; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: inherit; font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.more-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.more-btn .n { font-size: 11.5px; color: var(--muted-2); }

/* ── carousel arrows (client voices) ─────────────────────────────────── */
.car-nav { display: flex; gap: 8px; flex: none; }
.car-nav button {
  width: 32px; height: 32px; border-radius: 999px; cursor: pointer;
  background: none; border: 1px solid var(--line-2); color: var(--ink-2);
  font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.car-nav button:hover { border-color: var(--gold); color: var(--gold-deep); }

/* the voices row scrolls once there are more than three */
.voice-grid[data-carousel-track] {
  grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.voice-grid[data-carousel-track]::-webkit-scrollbar { display: none; }
.voice-grid[data-carousel-track] > * { scroll-snap-align: start; }

/* ── featured article card (home + articles index) ───────────────────── */
.feat-card {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  overflow: hidden; color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.feat-card:hover { border-color: var(--gold); box-shadow: var(--shadow-card); color: inherit; }
.feat-card .media { position: relative; min-height: 260px; background: var(--bg-img); }
.feat-card .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-card .body { padding: 30px 32px 28px; display: flex; flex-direction: column; }
.feat-card .badge { align-self: flex-start; margin-bottom: 14px; }
.feat-card .t { font-family: var(--font-head); font-size: 22px; line-height: 1.5; color: var(--ink); margin-bottom: 13px; text-wrap: pretty; }
.feat-card .x { font-size: 13px; line-height: 1.95; color: var(--muted); margin-bottom: 20px; }
.feat-card .m {
  margin-top: auto; padding-top: 15px; border-top: 1px solid var(--line-3);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 11.5px; color: var(--muted);
}
.feat-card .m .go { font-family: var(--font-head); font-size: 9.5px; letter-spacing: .2em; color: var(--gold-deep); }

@media (max-width: 900px) {
  .feat-card { grid-template-columns: minmax(0, 1fr); }
  .feat-card .media { min-height: 200px; }
  .feat-card .body { padding: 24px 22px 22px; }
  .feat-card .t { font-size: 19px; }
}

/* "+N" badge on the last visible gallery thumbnail */
.thumbs button { position: relative; }
.thumbs .plus {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 12, .58); color: #F0E4C4; font-size: 13px; letter-spacing: .04em;
  pointer-events: none;
}

/* ── page gallery (service pages) ─────────────────────────────────────── */
figure.art-slot { margin: 0; }
figure.art-slot > a {
  position: absolute; inset: 0; display: block; cursor: zoom-in;
}
figure.art-slot > a::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 10, 12, 0); transition: background .25s ease;
}
figure.art-slot > a:hover::after { background: rgba(10, 10, 12, .12); }
figure.art-slot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 26px 18px 13px; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0), rgba(10, 10, 12, .72));
  font-size: 12.5px; line-height: 1.6; color: rgba(244, 240, 231, .96);
}

/* ── lightbox ─────────────────────────────────────────────────────────── */
.lb {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 32px;
  background: rgba(8, 8, 10, .93);
}
.lb[open], .lb.is-open { display: flex; }
.lb img {
  max-width: min(1200px, 100%); max-height: 100%;
  object-fit: contain; border-radius: 6px;
}
.lb .cap {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  font-size: 13px; color: rgba(244, 240, 231, .88); padding: 0 60px;
}
.lb button {
  position: absolute; width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  background: rgba(244, 240, 231, .1); border: 1px solid rgba(201, 162, 75, .4);
  color: #F0E4C4; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, border-color .2s ease;
}
.lb button:hover { background: rgba(201, 162, 75, .26); border-color: var(--gold); }
.lb .lb-close { top: 22px; right: 22px; font-size: 17px; }
.lb .lb-prev  { left: 22px; top: 50%; transform: translateY(-50%); }
.lb .lb-next  { right: 22px; top: 50%; transform: translateY(-50%); }

@media (max-width: 700px) {
  .lb { padding: 16px; }
  .lb .lb-prev { left: 10px; }
  .lb .lb-next { right: 10px; }
  .lb .cap { padding: 0 20px; bottom: 14px; }
}

/* ── Toscana land band (source-dc: the dark "SIGNATURE" strip) ────────── */
.land-band { background: #0A0A0C; margin-top: 48px; padding: 48px 0; }
.land-band .sub-title { color: #F2EDE3; }
.land-band .sub-en { color: #9E9276; font-weight: 500; font-size: 15.5px; }
.land-band .sec-note { color: #8B8780; font-size: 12.5px; }
.land-band .sec-link { color: var(--gold-light); }
.land-band .sec-link .dash { background: var(--gold); }

.land-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.land-tile {
  position: relative; height: 186px; padding: 20px;
  border: 1px solid rgba(201, 162, 75, .28); border-radius: 10px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(10, 10, 12, .42), rgba(10, 10, 12, .86)), var(--bg-img);
  background-size: cover; background-position: center;
  color: inherit; transition: border-color .22s ease;
}
.land-tile:hover { border-color: var(--gold); color: inherit; }
.land-tile .k {
  font-family: var(--font-display); font-weight: 500; font-size: 19px; letter-spacing: .26em;
  color: var(--gold-light); margin-bottom: 7px;
}
.land-tile .n { font-size: 13.5px; color: #EDE8DE; margin-bottom: 3px; }
.land-tile .d { font-size: 11.5px; color: #87837C; }

@media (max-width: 1180px) { .land-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px)  { .land-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .land-band { padding: 34px 0; margin-top: 34px; } }
@media (max-width: 540px)  { .land-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
