/* ── VARIABLES ── */
:root {
  --dark:       #111114;
  --dark-2:     #1c1c24;
  --gold:       #c9a465;
  --gold-light: #e8c97e;
  --gold-dim:   rgba(201,164,101,0.18);
  --gold-border:rgba(201,164,101,0.35);
  --cream:      #f7f4ef;
  --cream-2:    #edeae4;
  --gray-mid:   #8a8480;
  --green:      #4a6741;
  --white:      #ffffff;
  --font-h:     'Playfair Display', 'Sarabun', Georgia, serif;
  --font-b:     'Inter', 'Sarabun', system-ui, sans-serif;
  --font-th:    'Sarabun', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--dark);
  font-family: var(--font-b);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Language switching */
[data-lang="th"] .en { display: none !important; }
[data-lang="en"] .th { display: none !important; }

/* ── NAVBAR ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 56px;
  transition: background .35s, padding .35s, box-shadow .35s;
}
#nav.solid {
  background: rgba(17,17,20,.94);
  backdrop-filter: blur(14px);
  padding: 14px 56px;
  box-shadow: 0 2px 32px rgba(0,0,0,.4);
}

.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
  color: rgba(255,255,255,.65); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.lang-pill {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 100px; padding: 5px 10px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.lang-pill:hover { border-color: var(--gold); background: var(--gold-dim); }
.lang-pill button {
  background: none; border: 2px solid transparent; cursor: pointer;
  padding: 0; border-radius: 4px; line-height: 0;
  opacity: .55; transition: opacity .2s, border-color .2s, transform .15s;
}
.lang-pill button:hover { opacity: .85; }
.lang-pill button.on { opacity: 1; border-color: var(--gold); transform: scale(1.08); }
.lang-sep { color: rgba(255,255,255,.2); font-size: 12px; }

/* ── HERO ── */
.hero {
  position: relative; height: 100vh; min-height: 680px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
@keyframes heroBreath {
  0%   { transform: scale(1.06); }
  50%  { transform: scale(1.00); }
  100% { transform: scale(1.06); }
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/PICS3/1.jpeg?v=7') center 38% / cover no-repeat;
  animation: heroBreath 14s ease-in-out infinite;
}
.hero-bg.loaded { /* animation already running */ }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(8,8,12,.78) 0%, rgba(8,8,12,.48) 55%, rgba(8,8,12,.62) 100%);
}

.hero-body {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px; max-width: 880px;
}

.hero-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  border-radius: 100px; padding: 7px 22px;
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 32px; font-family: var(--font-b);
}
.chip-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(.7); }
}

.hero h1 {
  font-family: var(--font-h);
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  font-weight: 700; color: #fff; line-height: 1.08;
  letter-spacing: -.02em; margin-bottom: 10px;
}
.hero h1 em { color: var(--gold); font-style: normal; font-family: 'Inter', system-ui, sans-serif; font-weight: 300; font-size: .85em; vertical-align: .05em; }

.hero-tagline {
  font-size: clamp(.9rem, 2vw, 1.15rem); font-weight: 300;
  color: rgba(255,255,255,.72); letter-spacing: .06em; margin-bottom: 6px;
}
.hero-tagline-sub {
  font-family: var(--font-th); font-size: clamp(.82rem,1.7vw,1rem);
  color: rgba(255,255,255,.45); margin-bottom: 48px;
}

.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--dark);
  font-weight: 700; font-size: 13px; letter-spacing: .07em;
  padding: 14px 34px; border-radius: 4px; text-decoration: none;
  border: 2px solid var(--gold); transition: all .25s;
}
.btn-gold:hover {
  background: var(--gold-light); border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,164,101,.35);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff;
  font-weight: 500; font-size: 13px; letter-spacing: .07em;
  padding: 14px 34px; border-radius: 4px; text-decoration: none;
  border: 2px solid rgba(255,255,255,.42); transition: all .25s;
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.07); }


/* ── CAROUSEL ── */
.carousel {
  background: var(--dark);
  position: relative;
  user-select: none;
}
.carousel-outer {
  overflow: hidden;
  line-height: 0;
}
.carousel-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
}
.carousel-slide {
  flex-shrink: 0; width: 100%; position: relative;
}
.carousel-slide img {
  width: 100%; height: auto; max-height: 88vh;
  object-fit: contain; background: var(--dark);
  display: block; filter: brightness(.9);
  transition: filter .4s;
}
.carousel-slide.active img { filter: brightness(1); }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(201,164,101,.85);
  border: none; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.carousel-btn:hover { background: var(--gold); transform: translateY(-50%) scale(1.1); }
.carousel-btn svg { color: #111; pointer-events: none; }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

.carousel-footer {
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  gap: 20px; padding: 18px 24px;
}
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.c-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none; cursor: pointer;
  padding: 0; transition: background .25s, transform .25s;
}
.c-dot.on { background: var(--gold); transform: scale(1.35); }
.carousel-count {
  font-size: 11px; letter-spacing: 1.5px;
  color: rgba(255,255,255,.3); min-width: 44px; text-align: center;
}

@media (max-width: 860px) {
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-btn.prev { left: 12px; }
  .carousel-btn.next { right: 12px; }
}
@media (max-width: 480px) {
  .carousel-btn { width: 34px; height: 34px; }
  .carousel-btn svg { width: 14px; height: 14px; }
}

/* ── SECTION BASE ── */
.sec { padding: 104px 56px; }

.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
  font-family: var(--font-b);
}
.sec-eyebrow::before {
  content: ''; width: 36px; height: 1px; background: var(--gold);
}

.sec-h2 {
  font-family: var(--font-h);
  font-size: clamp(2.1rem,4vw,3.2rem);
  font-weight: 700; line-height: 1.12; margin-bottom: 8px;
}
.sec-h2-alt {
  font-family: var(--font-th); font-size: clamp(1.1rem,2.2vw,1.5rem);
  font-weight: 400; color: var(--gray-mid); margin-bottom: 32px;
}

/* ── PROPERTIES ── */
.props-sec { background: var(--cream); }
.props-intro { max-width: 560px; margin-bottom: 60px; }
.props-intro p {
  font-size: 1.04rem; line-height: 1.8; color: #525059;
  font-family: var(--font-b);
}
.props-intro p.th { font-family: var(--font-th); }

.props-grid { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 660px; }

.card {
  background: var(--white); border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: 0 14px 52px rgba(0,0,0,.13); transform: translateY(-5px); }

.card-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card-img img { transform: scale(1.05); }

.card-badge {
  position: absolute; top: 14px; left: 14px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 5px 15px; border-radius: 100px;
  font-family: var(--font-b);
}
.card-badge.ready { background: var(--gold); color: var(--dark); }
.card-badge.soon  { background: rgba(17,17,20,.85); color: var(--gold); border: 1px solid var(--gold); }

.card-body { padding: 30px; }
.card-type {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
  font-family: var(--font-b);
}
.card-name {
  font-family: var(--font-h); font-size: 1.7rem; font-weight: 700;
  color: var(--dark); margin-bottom: 3px;
}
.card-name-sub {
  font-family: var(--font-th); font-size: .95rem;
  color: var(--gray-mid); margin-bottom: 22px;
}

.specs {
  display: flex;
  border: 1px solid var(--cream-2); border-radius: 10px;
  overflow: hidden; margin-bottom: 22px;
}
.spec {
  flex: 1; text-align: center; padding: 18px 10px;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.spec + .spec { border-left: 1px solid var(--cream-2); }
.spec-ico {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg,rgba(201,164,101,.13),rgba(201,164,101,.05));
  border: 1px solid rgba(201,164,101,.28);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.spec-val {
  font-size: 1.2rem; font-weight: 700; color: var(--dark);
  line-height: 1; display: block;
}
.spec-lbl {
  font-size: 10px; color: var(--gray-mid);
  letter-spacing: .9px; text-transform: uppercase; font-family: var(--font-b);
}
.spec-lbl.th { font-family: var(--font-th); letter-spacing: 0; font-size: 11px; text-transform: none; }

.card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-mid); margin-bottom: 22px;
  font-family: var(--font-b);
}
.card-meta.th { font-family: var(--font-th); }
.meta-ico { color: var(--gold); flex-shrink: 0; }

/* ── QUALITY MATERIALS ── */
.materials-sec {
  background: #111114;
  color: #fff;
  padding: 92px 56px;
}
.materials-inner { max-width: 1160px; margin: 0 auto; }
.materials-copy p {
  color: rgba(255,255,255,.68);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 520px;
  margin: 18px 0 30px;
  font-family: var(--font-b);
}
.materials-copy p.th { font-family: var(--font-th); }
.materials-clips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}
.materials-media {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background: #171717;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.materials-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
  filter: brightness(.82);
  transition: transform .55s ease, filter .3s ease;
}
.materials-media--video img {
  object-position: center center;
}
.materials-media:hover img {
  transform: scale(1.035);
  filter: brightness(.72);
}
.materials-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,20,0) 34%, rgba(17,17,20,.72) 100%);
  z-index: 1;
}
.materials-play {
  position: absolute;
  inset: auto 28px 28px auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(17,17,20,.72);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(10px);
  z-index: 2;
}
.materials-caption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 112px;
  color: rgba(255,255,255,.88);
  font-family: var(--font-b);
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  z-index: 2;
}
.materials-caption.th {
  font-family: var(--font-th);
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}
.roof-system {
  margin-top: 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(21,111,182,.28), transparent 34%),
    linear-gradient(135deg, #f7f2e8 0%, #ffffff 48%, #dfeaf0 100%);
  color: #161616;
  overflow: hidden;
  border-top: 4px solid var(--gold);
}
.roof-official-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
  background:
    linear-gradient(135deg, rgba(12,39,85,.96) 0%, rgba(18,63,124,.96) 58%, rgba(21,111,182,.9) 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0, rgba(255,255,255,.08) 2px, transparent 2px, transparent 30px);
  min-height: 0;
  padding: 34px 38px;
  overflow: hidden;
}
.roof-brand-logo {
  width: 164px;
  max-width: 34vw;
  height: auto;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 12px;
  box-shadow: 0 18px 42px rgba(0,0,0,.24);
}
.roof-brand-copy {
  color: #fff;
}
.roof-brand-copy strong {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.roof-brand-copy strong.th {
  font-family: var(--font-th);
  line-height: 1.08;
}
.roof-brand-copy span {
  display: block;
  max-width: 620px;
  color: rgba(255,255,255,.76);
  font-family: var(--font-b);
  font-size: .95rem;
  line-height: 1.65;
}
.roof-brand-copy span.th {
  font-family: var(--font-th);
}
.roof-system-banner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px 38px 28px;
  border-bottom: 1px solid rgba(17,17,20,.12);
}
.roof-system-eyebrow {
  color: #156fb6;
  font-family: var(--font-b);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.roof-system-eyebrow.th {
  font-family: var(--font-th);
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}
.roof-system h3 {
  margin: 0;
  color: #111114;
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: .95;
  letter-spacing: 0;
}
.roof-system h3.th {
  font-family: var(--font-th);
  line-height: 1.08;
  margin-top: 8px;
}
.roof-system-banner p {
  max-width: 690px;
  margin: 18px 0 0;
  color: rgba(22,22,22,.68);
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.72;
}
.roof-system-banner p.th { font-family: var(--font-th); }
.roof-system-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px 38px 38px;
}
.roof-model {
  min-height: 420px;
  background:
    radial-gradient(circle at 78% 20%, rgba(21,111,182,.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f5f8fb 58%, #e8f0f5 100%);
  overflow: hidden;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.roof-model img {
  width: 100%;
  min-height: 0;
  object-fit: contain;
  display: block;
}
.roof-model-caption {
  color: rgba(22,22,22,.62);
  font-family: var(--font-b);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.roof-model-caption.th {
  font-family: var(--font-th);
  letter-spacing: 0;
  text-transform: none;
  font-size: 14px;
}
.roof-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.roof-layer {
  background: rgba(255,255,255,.74);
  padding: 20px;
  border-left: 3px solid #156fb6;
  box-shadow: 0 14px 36px rgba(17,17,20,.08);
}
.roof-layer strong {
  display: block;
  color: #111114;
  font-family: var(--font-h);
  font-size: 1.22rem;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.roof-layer strong.th { font-family: var(--font-th); }
.roof-layer p {
  margin: 0;
  color: rgba(22,22,22,.68);
  font-family: var(--font-b);
  line-height: 1.62;
  font-size: .95rem;
}
.roof-layer p.th { font-family: var(--font-th); }
.roof-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.roof-benefit {
  position: relative;
  min-height: 124px;
  padding: 20px;
  background: rgba(255,255,255,.86);
  color: #111114;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(21,111,182,.18);
  border-top: 4px solid #156fb6;
  box-shadow: 0 14px 34px rgba(17,17,20,.09);
  overflow: hidden;
}
.roof-benefit::before {
  content: none;
}
.roof-benefit span {
  width: 44px;
  height: 4px;
  border-radius: 0;
  background: var(--gold);
  margin-bottom: 18px;
  display: block;
}
.roof-benefit b {
  font-family: var(--font-h);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.25;
  color: #111114;
  position: relative;
  z-index: 1;
}
.roof-benefit b.th { font-family: var(--font-th); }
.roof-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.roof-spec {
  background: rgba(255,255,255,.78);
  padding: 18px;
  min-height: 130px;
  border-bottom: 3px solid #156fb6;
}
.roof-spec b {
  display: block;
  color: #156fb6;
  font-family: var(--font-h);
  font-size: 1.65rem;
  line-height: 1;
  margin-bottom: 12px;
}
.roof-spec span {
  display: block;
  color: rgba(22,22,22,.72);
  font-family: var(--font-b);
  font-size: .88rem;
  line-height: 1.45;
}
.roof-spec span.th { font-family: var(--font-th); }

.price-row {
  display: flex; align-items: baseline;
  justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.price {
  font-family: var(--font-h); font-size: 2rem; font-weight: 700; color: var(--dark);
}
.price small { font-size: .95rem; font-weight: 400; color: var(--gray-mid); }
.price-note { font-family: var(--font-th); font-size: .82rem; color: var(--gray-mid); }

.btn-sm {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--dark);
  font-size: 12px; font-weight: 700; letter-spacing: .07em;
  padding: 10px 22px; border-radius: 4px; text-decoration: none;
  border: 2px solid var(--gold); transition: all .22s;
  white-space: nowrap;
}
.btn-sm:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ── PROPS DETAIL BAR ── */
.props-intro-wrap { background: var(--cream); }
.props-detail {
  background: var(--dark);
  padding: 32px 56px;
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 24px 48px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.pd-left { flex: 1 1 220px; }
.pd-left .card-name { color: #fff; }
.pd-left .card-badge {
  position: static; display: inline-block; margin-top: 10px;
}
.pd-mid { flex: 1 1 280px; }
.pd-mid .card-meta { margin-bottom: 0; color: rgba(255,255,255,.55); }
.pd-right {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.pd-right .price-note {
  color: rgba(255,255,255,.8); font-size: 1.15rem; font-weight: 600;
  font-family: var(--font-b);
}
@media (max-width: 860px) {
  .props-detail { padding: 28px 24px; gap: 20px; }
  .pd-right { width: 100%; }
}

/* ── FLOOR PLAN CALLOUT ── */
.plan-sec { background: var(--dark-2); }
.plan-inner {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
  align-items: center;
}
.plan-img {
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.5);
}
.plan-img img { width: 100%; display: block; }
.plan-text .sec-h2 { color: #fff; }
.plan-text .sec-h2-alt { color: rgba(255,255,255,.4); }
.plan-text p {
  color: rgba(255,255,255,.62); font-size: 1rem; line-height: 1.8;
  margin-bottom: 28px;
}
.plan-text p.th { font-family: var(--font-th); }
.plan-features {
  display: flex; flex-direction: column; gap: 14px;
}
.plan-feat {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 14px; color: rgba(255,255,255,.75);
}
.plan-feat.th { font-family: var(--font-th); }
.feat-mark {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0; color: var(--gold); margin-top: 1px;
}

/* ── INTERACTIVE FLOOR PLAN ── */
.fp-wrap { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 48px rgba(0,0,0,.5); }
.fp-wrap img { width: 100%; display: block; }
.fp-dot {
  position: absolute; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(201,164,101,0.92); border: 2px solid #fff;
  cursor: pointer; transform: translate(-50%,-50%);
  box-shadow: 0 0 0 0 rgba(201,164,101,0.6);
  animation: fp-pulse 2.2s infinite; transition: transform .18s; z-index: 2;
  padding: 0;
  /* Large invisible tap area for mobile */
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 860px) {
  .fp-dot {
    width: 28px; height: 28px;
    border-width: 2.5px;
  }
}
.fp-dot:nth-child(2) { animation-delay: 0s; }
.fp-dot:nth-child(3) { animation-delay: .28s; }
.fp-dot:nth-child(4) { animation-delay: .56s; }
.fp-dot:nth-child(5) { animation-delay: .84s; }
.fp-dot:nth-child(6) { animation-delay: 1.12s; }
.fp-dot:nth-child(7) { animation-delay: 1.4s; }
.fp-dot:nth-child(8) { animation-delay: 1.68s; }
.fp-dot:nth-child(9) { animation-delay: 1.96s; }
.fp-dot:hover, .fp-dot:focus { transform: translate(-50%,-50%) scale(1.3); outline: none; }
@keyframes fp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(201,164,101,.7); }
  70%  { box-shadow: 0 0 0 9px rgba(201,164,101,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,164,101,0); }
}
@keyframes hintBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-4px); }
}
.fp-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(17,17,20,.82); border: 1px solid rgba(201,164,101,.55);
  color: rgba(255,255,255,.92); font-size: 11px; font-family: var(--font-b);
  letter-spacing: .04em; padding: 5px 14px; border-radius: 30px;
  white-space: nowrap; pointer-events: none;
  animation: hintBob 2.6s ease-in-out infinite;
  backdrop-filter: blur(6px);
}
@media (min-width: 861px) {
  .fp-hint { bottom: 6%; }
}

/* ── ROOM MODAL ── */
.fp-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.88); z-index: 9000;
  align-items: center; justify-content: center;
}
.fp-modal-overlay.open { display: flex; }
.fp-modal {
  background: #181818; border-radius: 16px;
  width: 92vw; max-width: 700px; max-height: 92vh;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.85);
}
.fp-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.08); flex-shrink: 0;
}
.fp-modal-title {
  font-family: var(--font-b); font-size: 12px; letter-spacing: 2.5px;
  color: var(--gold); text-transform: uppercase;
}
.fp-modal-close {
  background: none; border: none; color: rgba(255,255,255,.45);
  font-size: 24px; cursor: pointer; padding: 0 2px; line-height: 1;
}
.fp-modal-close:hover { color: #fff; }
.fp-modal-img {
  position: relative; flex-shrink: 0;
  height: 420px; overflow: hidden; background: #000;
  display: flex; align-items: center; justify-content: center;
}
.fp-modal-img img {
  max-width: 100%; max-height: 420px;
  width: auto; height: auto; object-fit: contain; display: block;
}
.fp-modal-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font-size: 22px; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .18s;
}
.fp-modal-nav:hover { background: rgba(201,164,101,.5); }
.fp-modal-prev { left: 10px; }
.fp-modal-next { right: 10px; }
.fp-modal-counter {
  position: absolute; bottom: 9px; right: 13px;
  font-size: 11px; color: rgba(255,255,255,.45); font-family: var(--font-b);
}
.fp-thumbs {
  display: flex; gap: 6px; padding: 10px 14px;
  overflow-x: auto; background: #111; flex-shrink: 0;
  scrollbar-width: thin; scrollbar-color: rgba(201,164,101,.4) transparent;
}
.fp-thumb {
  width: 54px; height: 38px; flex-shrink: 0; border-radius: 5px;
  overflow: hidden; cursor: pointer; opacity: .45;
  border: 1.5px solid transparent; transition: opacity .18s, border-color .18s;
}
.fp-thumb.on { opacity: 1; border-color: var(--gold); }
.fp-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) {
  .fp-modal-img { height: 52vw; min-height: 200px; max-height: 320px; }
  .fp-modal-nav { width: 34px; height: 34px; font-size: 18px; }
}

/* ── LOCATION ── */
.loc-sec { background: var(--dark); padding: 0; }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; }
.loc-content {
  padding: 88px 64px; display: flex; flex-direction: column; justify-content: center;
}
.loc-content .sec-h2 { color: #fff; }
.loc-content .sec-h2-alt { color: rgba(255,255,255,.35); }
.loc-desc {
  font-size: 1rem; line-height: 1.82; color: rgba(255,255,255,.6);
  margin-bottom: 36px;
}
.loc-desc.th { font-family: var(--font-th); }
.loc-pills { display: flex; flex-direction: column; gap: 18px; }
.loc-pill { display: flex; align-items: flex-start; gap: 14px; }
.pill-ico {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--gold-dim); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.pill-text strong {
  display: block; font-size: 14px; font-weight: 600;
  color: #fff; margin-bottom: 2px;
}
.pill-text span { font-size: 12.5px; color: rgba(255,255,255,.45); }
.pill-text.th strong, .pill-text.th span { font-family: var(--font-th); }

.loc-map { min-height: 560px; position: relative; }
.loc-map iframe { width: 100%; height: 100%; border: none; display: block; }
.maps-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px; padding: 12px 22px; border-radius: 6px;
  background: rgba(201,164,101,.1); border: 1px solid rgba(201,164,101,.3);
  color: var(--gold); font-family: var(--font-b); font-size: 12px;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; transition: background .2s, border-color .2s;
}
.maps-link:hover { background: rgba(201,164,101,.2); border-color: var(--gold); }

/* ── CONTACT ── */
.contact-sec { background: var(--cream); }
.contact-center { max-width: 860px; margin: 0 auto; text-align: center; }
.contact-desc {
  font-size: 1.04rem; line-height: 1.75; color: #525059;
  margin-bottom: 52px;
}
.contact-desc.th { font-family: var(--font-th); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ccard {
  background: var(--white); border-radius: 12px; padding: 36px 28px;
  box-shadow: 0 2px 18px rgba(0,0,0,.05);
  border-top: 3px solid var(--gold);
  transition: box-shadow .25s, transform .25s;
}
.ccard:hover { box-shadow: 0 10px 36px rgba(0,0,0,.1); transform: translateY(-3px); }
.ccard-ico { font-size: 2rem; margin-bottom: 14px; display: block; }
.ccard-lbl {
  font-size: 10.5px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gray-mid); margin-bottom: 10px;
  font-family: var(--font-b);
}
.ccard-lbl.th { font-family: var(--font-th); letter-spacing: 0; }
.ccard-num {
  font-family: var(--font-h); font-size: 1.65rem; font-weight: 700;
  color: var(--dark); margin-bottom: 6px;
  text-decoration: none;
}
@media (max-width: 768px) {
  .ccard-num {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gold); color: #fff !important;
    padding: 10px 22px; border-radius: 8px;
    font-size: 1.35rem; margin-bottom: 10px;
    box-shadow: 0 4px 14px rgba(201,164,101,.35);
  }
  .ccard-num::before {
    content: '📞';
    font-size: 1rem;
  }
}
.ccard-note { font-size: 12.5px; color: var(--gray-mid); }
.ccard-note.th { font-family: var(--font-th); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 52px 56px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
footer > svg { margin-bottom: -14px; }
.foot-rule { width: 56px; height: 1px; background: rgba(255,255,255,.12); }
.foot-addr {
  font-size: 12px; color: rgba(255,255,255,.32);
  text-align: center; font-family: var(--font-th); line-height: 1.7;
}
.foot-copy { font-size: 11.5px; color: rgba(255,255,255,.2); letter-spacing: .4px; }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */

/* Tablet landscape */
@media (max-width: 1024px) {
  .plan-inner { grid-template-columns: 1fr; gap: 40px; }
  .plan-img { max-width: 520px; margin: 0 auto; }
  .plan-text { padding: 0 8px; }
}

/* Tablet portrait */
@media (max-width: 860px) {
  #nav { padding: 14px 20px; }
  #nav.solid { padding: 10px 20px; }
  .nav-links { display: none; }

  .hero { min-height: 100svh; }
  .hero-chip { font-size: 10px; letter-spacing: 1.5px; padding: 6px 16px; margin-bottom: 20px; }
  .hero h1 { font-size: clamp(2.6rem, 8vw, 3.6rem); margin-bottom: 10px; }
  .hero-tagline { font-size: .95rem; }
  .hero-tagline-sub { font-size: .82rem; margin-bottom: 32px; }
  .hero-btns { gap: 10px; }
  .btn-gold, .btn-ghost { padding: 13px 26px; font-size: 13px; }
  .scroll-hint { bottom: 24px; }

  .sec { padding: 60px 20px; }
  .sec-h2 { font-size: clamp(1.9rem, 5vw, 2.6rem); }


  .props-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-body { padding: 22px; }
  .card-name { font-size: 1.5rem; }
  .specs { }
  .spec { padding: 14px 6px; gap: 7px; }
  .spec-ico { width: 36px; height: 36px; }
  .spec-ico svg { width: 17px; height: 17px; }
  .price { font-size: 1.75rem; }

  .materials-sec { padding: 60px 20px; }
  .materials-copy p { font-size: .96rem; margin-bottom: 24px; }
  .materials-clips { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
  .materials-media { min-height: 0; aspect-ratio: 16 / 9; }
  .materials-media img { height: 100%; min-height: 0; }
  .materials-caption { left: 18px; bottom: 18px; right: 88px; font-size: 11px; }
  .materials-play { width: 54px; height: 54px; right: 18px; bottom: 18px; }
  .roof-system { margin-top: 26px; }
  .roof-official-banner { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .roof-brand-logo { width: 136px; max-width: 62vw; }
  .roof-brand-copy strong { font-size: 1.8rem; }
  .roof-system-banner { grid-template-columns: 1fr; padding: 26px 20px 22px; }
  .roof-system-grid { grid-template-columns: 1fr; gap: 22px; padding: 22px 20px 24px; }
  .roof-model { min-height: 0; aspect-ratio: auto; padding: 18px; }
  .roof-model img { min-height: 0; height: auto; }
  .roof-benefits { grid-template-columns: 1fr; }
  .roof-specs { grid-template-columns: 1fr; }

  .plan-sec .sec { padding: 60px 20px; }
  .plan-features { gap: 12px; }

  .loc-grid { grid-template-columns: 1fr; }
  .loc-content { padding: 52px 20px; }
  .loc-map { min-height: 320px; }
  .loc-desc { font-size: .95rem; margin-bottom: 28px; }
  .pill-ico { width: 34px; height: 34px; font-size: 15px; }
  .pill-text strong { font-size: 13.5px; }
  .pill-text span { font-size: 12px; }

  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .ccard { padding: 28px 22px; }
  .ccard-num { font-size: 1.45rem; }

  footer { padding: 36px 20px 24px; gap: 16px; }
  .foot-addr { font-size: 11.5px; }
}

/* Large mobile */
@media (max-width: 640px) {
  #nav { padding: 12px 16px; }
  #nav.solid { padding: 8px 16px; }
  #nav > a > svg { width: 120px; height: auto; }
  .lang-pill button svg { width: 28px !important; height: 19px !important; }

  .hero-chip { display: none; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); line-height: 1.1; }
  .hero-tagline { font-size: .9rem; }
  .hero-tagline-sub { display: none; }
  .hero-btns { flex-direction: column; align-items: center; gap: 10px; }
  .btn-gold, .btn-ghost { width: 220px; justify-content: center; }

  .sec { padding: 52px 16px; }
  .sec-eyebrow { font-size: 10px; letter-spacing: 2px; }
  .sec-h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .sec-h2-alt { font-size: .95rem; margin-bottom: 20px; }
  .props-intro p { font-size: .96rem; }


  .card-img { aspect-ratio: 4/3; }
  .card-body { padding: 18px 16px; }
  .card-type { font-size: 10px; letter-spacing: 2px; }
  .card-name { font-size: 1.35rem; }
  .card-name-sub { font-size: .85rem; margin-bottom: 16px; }
  .spec { padding: 12px 4px; gap: 6px; }
  .spec-ico { width: 32px; height: 32px; }
  .spec-ico svg { width: 15px; height: 15px; }
  .spec-val { font-size: 1rem; }
  .spec-lbl { font-size: 9.5px; }
  .card-meta { font-size: 12px; flex-wrap: wrap; }
  .price { font-size: 1.55rem; }
  .btn-sm { font-size: 12px; padding: 9px 16px; }

  .plan-inner { gap: 28px; }
  .plan-img { max-width: 100%; border-radius: 8px; }
  .plan-text p { font-size: .94rem; }
  .plan-feat { font-size: 13px; gap: 10px; }
  .feat-mark { width: 20px; height: 20px; font-size: 10px; flex-shrink: 0; }

  .loc-content { padding: 44px 16px; }
  .loc-map { min-height: 280px; }
  .loc-pills { gap: 14px; }
  .loc-pill { gap: 10px; }

  .contact-center { max-width: 100%; }
  .contact-desc { font-size: .95rem; margin-bottom: 32px; }
  .ccard { padding: 24px 18px; }
  .ccard-num { font-size: 1.3rem; }
  .ccard-ico { font-size: 1.6rem; }
}

/* Small mobile */
@media (max-width: 400px) {
  #nav > a > svg { width: 100px; height: auto; }
  .lang-pill { padding: 4px 10px; }
  .lang-pill button { font-size: 11px; padding: 2px 4px; }

  .hero h1 { font-size: 2rem; }
  .btn-gold, .btn-ghost { width: 190px; font-size: 12.5px; padding: 12px 20px; }


  .card-name { font-size: 1.2rem; }
  .price { font-size: 1.4rem; }

  .ccard-num { font-size: 1.2rem; letter-spacing: -.01em; }

  footer { padding: 28px 16px 20px; }
  .foot-addr { font-size: 11px; }
  .foot-copy { font-size: 10.5px; }
}

/* ── NAV RIGHT SIDE ── */
.nav-right {
  display: flex; align-items: center; gap: 32px;
}
@media (max-width: 860px) {
  .nav-right { gap: 12px; }
}

/* ── HAMBURGER BUTTON ── */
#menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: 6px; border-radius: 8px;
  transition: background .2s;
}
#menu-btn:hover { background: rgba(255,255,255,.08); }

/* ── MOBILE MENU PANEL ── */
#mobile-menu {
  position: fixed; top: 0; right: 0; z-index: 999;
  width: 270px;
  background: rgba(17,17,20,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-left-radius: 18px;
  padding: 0 20px 20px;
  transform: translateY(-110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 8px 40px rgba(0,0,0,.55);
  overflow-y: auto; max-height: 90vh;
}
#mobile-menu.open { transform: translateY(0); }

.mmenu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; margin-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#menu-close {
  background: none; border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.8); border-radius: 50%;
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; line-height: 1; flex-shrink: 0;
  transition: border-color .2s, background .2s;
}
#menu-close:hover { border-color: var(--gold); background: var(--gold-dim); color: var(--gold); }

.mmenu-links {
  display: flex; flex-direction: column; gap: 0;
}
.mmenu-links a {
  font-family: var(--font-b); font-size: 1rem; font-weight: 500;
  color: rgba(255,255,255,.8); text-decoration: none;
  letter-spacing: .05em; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color .2s, padding-left .2s;
  display: block;
}
.mmenu-links a:hover { color: var(--gold); padding-left: 8px; }


/* ── SHOW HAMBURGER ON MOBILE, HIDE DESKTOP NAV LINKS ── */
@media (max-width: 860px) {
  #menu-btn { display: flex; }
  .nav-links { display: none; }
  #nav { padding: 14px 24px; }
  #nav.solid { padding: 10px 24px; }
  #nav > a > svg { width: 130px; height: auto; }
}

/* Externalized from prior inline attributes for stricter CSP */
.th { font-family: var(--font-th); }
.flag-svg { display: block; border-radius: 3px; }
.price-current { font-size: 1.15rem; font-weight: 700; color: #fff; font-family: var(--font-b); }
.price-current.th { font-family: var(--font-th); }
.price-regular { font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,.4); margin-top: 3px; font-family: var(--font-b); }
.price-regular.th { font-family: var(--font-th); }
.price-badge { font-size: .75rem; font-weight: 400; color: var(--gold); margin-left: 4px; }
.fp-dot-kitchen { left: 33%; top: 21%; }
.fp-dot-bed3 { left: 29%; top: 34%; }
.fp-dot-bed2 { left: 68%; top: 36%; }
.fp-dot-bathroom { left: 29%; top: 47%; }
.fp-dot-bed1 { left: 68%; top: 63%; }
.fp-dot-living { left: 29%; top: 65%; }
.fp-dot-garden { left: 32%; top: 88%; }
.siteplan-sec { background: var(--cream-2); }
.siteplan-inner { max-width: 960px; margin: 0 auto; }
.siteplan-card { margin-top: 36px; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 48px rgba(0,0,0,.13); background: #fff; }
.siteplan-img { width: 100%; display: block; object-fit: contain; }
.siteplan-note { margin-top: 16px; font-size: 12.5px; color: var(--gray-mid); text-align: center; font-family: var(--font-b); }
.siteplan-note.th { font-family: var(--font-th); }
.text-gold { color: var(--gold); }
.eyebrow-center { justify-content: center; }
.contact-heading { margin-bottom: 8px; }
.map-frame { border: 0; display: block; min-height: 560px; }
.footer-logo { opacity: .75; }
#menu-backdrop { display: none; position: fixed; inset: 0; z-index: 998; }
#menu-backdrop.open { display: block; }
.is-hidden { display: none !important; }
body.modal-open { overflow: hidden; }
