/* ================================================
   TOPSPACE — Component Styles · Luxury Edition
   ================================================ */

/* ===== @property for running border light animation ===== */
@property --wc-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes wcSpin    { to { --wc-angle: 360deg; } }
@keyframes whyAurora { from { transform: translate(0,0) scale(1); opacity:.6; } to { transform: translate(60px,40px) scale(1.15); opacity:1; } }
@keyframes iconGlowPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(80,0,128,.45); } 50% { box-shadow: 0 0 0 8px rgba(80,0,128,0); } }

/* prefers-reduced-motion — หยุด decorative animation ทั้งหมด */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== HEADER ===== */
/* Full-width solid bar (คาดยาว — APEX style) */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  height: 72px;
  display: flex; align-items: center;
  overflow: visible;
  background: #fff;
  border-bottom: 1px solid var(--bd-0);
  transition: box-shadow var(--t3), height var(--t3);
}
.site-header .container { width: 100%; }
.site-header.scrolled { height: 64px; box-shadow: 0 4px 20px rgba(0,0,0,.07); }

.hdr-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: 100%; padding: 0;
  background: none; border: none; border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}

/* Logo */
.hdr-logo { display: flex; align-items: center; gap: 0; flex-shrink: 0; }
.hdr-logo img {
  height: 29px;
  width: auto;
  max-width: none;
  transition: opacity var(--t2), height var(--t3);
}
.site-header.scrolled .hdr-logo img { height: 27px; }
.hdr-logo:hover img { opacity: 0.82; }

/* Nav — plain links บนบาร์ (ไม่มี pill ม่วง) */
.hdr-nav { display: none; }
@media (min-width: 1024px) {
  .hdr-nav {
    display: flex; align-items: center; gap: 0.4rem;
    background: none; border-radius: 0; padding: 0;
    margin: 0 auto 0 2.5rem; justify-content: flex-start; flex: 1;
  }
}

/* Segmented nav items */
.nav-link {
  display: inline-flex; align-items: center;
  padding: 0.42rem 0.95rem;
  font-size: 0.85rem; font-weight: 500; color: var(--tx-2);
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: color var(--t2), background var(--t2), box-shadow var(--t2);
  cursor: pointer; position: relative;
}
.nav-link:hover { color: var(--pur); }
.nav-link.active {
  color: var(--pur); font-weight: 600; background: none; box-shadow: none;
}

/* Actions */
.hdr-actions { display: flex; align-items: center; gap: 0.6rem; }
.hdr-actions .hdr-cta { display: none; }
@media (min-width: 768px) { .hdr-actions .hdr-cta { display: inline-flex; } }

/* Header CTA button */
.btn-hdr-cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.52rem 1.3rem;
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.01em;
  color: #FFFFFF; background: var(--pur);
  border: 1.5px solid var(--pur);
  border-radius: 100px;
  box-shadow: 0 4px 18px rgba(80,0,128,.2);
  transition: all var(--t2); cursor: pointer;
}
.btn-hdr-cta:hover { background: var(--pur-2); border-color: var(--pur-2); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(80,0,128,.28); color: #FFFFFF; }

/* Hamburger */
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 28px; cursor: pointer; padding: 2px; z-index: 60; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.ham-line { display: block; width: 100%; height: 2px; background: var(--pur); border-radius: 1px; transition: all var(--t2); transform-origin: center; }
.hamburger.open .ham-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open .ham-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — Drawer เลื่อนจากขวา (ทับบางส่วน + backdrop จาง) */
/* visibility:hidden ตอนปิด = inert 100% กันบั๊ก fixed-overlay กวน touch-scroll บนมือถือ (หน่วงให้ animation เลื่อนออกจบก่อน) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 950; pointer-events: none;  /* เหนือปุ่ม LINE ลอย (900) */
  visibility: hidden; transition: visibility 0s linear var(--t3);
}
.mm-backdrop {
  position: absolute; inset: 0; background: rgba(10,4,20,.55);
  opacity: 0; pointer-events: none; transition: opacity var(--t3);
}
.mm-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 82%; max-width: 320px; background: var(--bg-pur2);
  box-shadow: -20px 0 50px -12px rgba(0,0,0,.6);
  border-left: 1px solid rgba(255,255,255,.06);
  display: flex; flex-direction: column; padding: 1.3rem 1.35rem 1.6rem;
  transform: translateX(100%); transition: transform var(--t3);
  overflow-y: auto;
}
.mobile-menu.open { pointer-events: auto; visibility: visible; transition: visibility 0s; }
.mobile-menu.open .mm-backdrop { opacity: 1; pointer-events: auto; }
.mobile-menu.open .mm-drawer { transform: translateX(0); }

.mm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; }
.mm-logo img { height: 30px; width: auto; display: block; }
.mm-close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; -webkit-appearance: none; appearance: none; padding: 0;
  transition: background var(--t2);
}
.mm-close:hover { background: rgba(255,255,255,.14); }

.mm-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.mob-nav-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0.7rem; border-radius: 12px;
  font-family: var(--font); font-size: 1.1rem; font-weight: 600;
  color: rgba(255,255,255,.82); text-decoration: none;
  position: relative; transition: all var(--t2);
}
.mm-chev { color: rgba(255,255,255,.3); font-size: 1.15rem; font-weight: 400; }
.mob-nav-link:hover { background: rgba(255,255,255,.05); color: #fff; }
.mob-nav-link.active { background: linear-gradient(90deg, rgba(126,44,184,.22), rgba(80,0,128,.06)); color: #fff; }
.mob-nav-link.active::before {
  content: ''; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--gold-3), var(--pur-3));
}
.mob-nav-link.active .mm-chev { color: var(--gold-3); }

.mm-div { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent); margin: 1.3rem 0; }
.mm-cta { display: flex; flex-direction: column; gap: 0.6rem; margin-top: auto; }
.mm-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem; border-radius: 13px; font-weight: 700; font-size: 0.9rem;
  text-decoration: none; transition: transform var(--t2), box-shadow var(--t2);
}
.mm-btn.call { background: linear-gradient(135deg, var(--pur-3), var(--pur)); color: #fff; box-shadow: 0 8px 20px -8px rgba(126,44,184,.6); }
.mm-btn.line { background: #06C755; color: #fff; }
.mm-btn:hover { transform: translateY(-2px); }
.mm-btn img { filter: brightness(0) invert(1); }
.mm-soc { display: flex; justify-content: center; gap: 0.55rem; margin-top: 1.1rem; }
.mm-soc-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center; transition: background var(--t2);
}
.mm-soc-btn:hover { background: rgba(255,255,255,.14); }


/* ===== HERO ===== */
.lux-hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 5rem;
  overflow: hidden;
  background: var(--bg-pur2);
}
.lux-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.lux-hero-bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.lux-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(26,18,40,.92) 0%,
    rgba(26,18,40,.6) 45%,
    rgba(26,18,40,.3) 100%
  );
}
.lux-hero-content {
  position: relative; z-index: 2;
  padding-top: 8rem;
}
.lux-hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-3);
  margin-bottom: 1.5rem;
}
.lux-hero-kicker::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold-3);
}
.lux-hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin-bottom: 1.75rem;
  max-width: 820px;
  font-style: italic;
}
.lux-hero-h1 em { font-style: normal; color: var(--gold-3); }
.lux-hero-sub {
  font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.72);
  max-width: 520px; line-height: 1.8; margin-bottom: 2.5rem;
}
.lux-hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Hero scroll indicator */
.lux-hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,.45); z-index: 2;
}


/* ===== STATS BAR ===== */
.stats-bar {
  position: relative;
  background:
    radial-gradient(135% 130% at 50% -25%, rgba(126,44,184,.16) 0%, transparent 55%),
    var(--bg-pur);
}
.stats-bar::before, .stats-bar::after {
  content: '';
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199,166,232,.28), transparent);
}
.stats-bar::before { top: 0; }
.stats-bar::after  { bottom: 0; }

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-cell {
  padding: 1.1rem 1.25rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-cell:last-child { border-right: none; }
.stat-cell-icon { display: none; }

.stat-ico {
  display: inline-flex; align-items: center; justify-content: center;
  color: #C7A6E8; opacity: 0.8;
  margin-bottom: 0.4rem;
}
.stat-ico svg { width: 18px; height: 18px; }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 600;
  color: #C7A6E8;
  line-height: 1;
  margin-bottom: 0.3rem;
  display: flex; align-items: baseline; justify-content: center; gap: 0.2em;
  flex-wrap: nowrap; white-space: nowrap;
  letter-spacing: -0.01em;
}
.stat-unit { font-size: 0.46em; font-weight: 500; color: rgba(199,166,232,.7); white-space: nowrap; letter-spacing: 0; }
.stat-lbl  { font-size: 0.73rem; font-weight: 300; color: rgba(255,255,255,.64); letter-spacing: 0.03em; }

@media (max-width: 860px) {
  .stat-cell { padding: 1.15rem 0.55rem; }
}


/* ===== PROPERTY CARDS ===== */
.prop-grid-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.75rem; gap: 1.5rem; flex-wrap: wrap;
}

.prop-card {
  background: var(--bg-card);
  border: 1px solid var(--bd-0);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease, border-color .35s ease;
  box-shadow: 0 1px 3px rgba(36,27,46,.05);
  position: relative;
  display: flex; flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 46px rgba(44,10,70,.14);
  border-color: rgba(80,0,128,.22);
}

.prop-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
}
.prop-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,4,48,.42) 0%, transparent 45%);
  transition: opacity .4s ease;
}
.prop-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.2,.6,.2,1);
}
.prop-card:hover .prop-img img { transform: scale(1.06); }

.prop-badges {
  position: absolute; top: .8rem; left: .8rem;
  display: flex; gap: .4rem; flex-wrap: wrap; z-index: 2;
}
/* price = clean frosted pill, brand-purple text (bottom-left of image) */
.prop-price-tag,
.prop-price {
  position: absolute; bottom: .8rem; left: .8rem; z-index: 2;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(6px);
  color: var(--pur);
  padding: .42rem .85rem;
  border-radius: 100px;
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 4px 14px rgba(28,4,48,.18);
  line-height: 1;
}
.prop-price-tag span,
.prop-price .price-unit { font-size: .62rem; font-weight: 500; color: var(--tx-3); }

/* pulse on "ยูนิตสุดท้าย" */
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(80,0,128,.5); }
  60%     { box-shadow: 0 0 0 6px rgba(80,0,128,.0); }
}
.badge-gold { animation: badgePulse 2.2s ease-in-out infinite; }

.prop-video-btn {
  position: absolute; top: .8rem; right: .8rem; z-index: 2;
  display: flex; align-items: center; gap: .3rem;
  padding: .32rem .7rem;
  background: rgba(28,4,48,.55); backdrop-filter: blur(8px);
  color: #FFFFFF; border-radius: 100px;
  font-size: .64rem; font-weight: 500; letter-spacing: .06em;
  transition: background var(--t2);
}
.prop-video-btn:hover { background: var(--pur); color: #FFFFFF; }

/* category badge — bottom-center of image (ref design) */
.prop-cat {
  position: absolute; bottom: .8rem; right: .8rem; z-index: 3;
  background: linear-gradient(135deg, var(--pur) 0%, var(--pur-3) 100%);
  color: #FFFFFF; padding: .32rem 1.1rem; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em; line-height: 1;
  box-shadow: 0 6px 16px rgba(80,0,128,.4);
}

.prop-body { padding: 1.15rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.prop-name {
  font-family: var(--font-serif); text-align: center;
  font-size: 1.12rem; font-weight: 600;
  color: var(--tx-1); margin-bottom: .2rem; line-height: 1.3;
}
.prop-area { text-align: center; font-size: .8rem; color: var(--tx-3); font-weight: 400; margin-bottom: .95rem; }
.prop-price2 {
  font-size: 1.4rem; font-weight: 700; color: var(--pur);
  letter-spacing: -.01em; line-height: 1; margin-bottom: 1rem;
}
.prop-price2 span { font-size: .74rem; font-weight: 500; color: var(--tx-3); letter-spacing: 0; }
.prop-spec-list {
  list-style: none; display: flex; flex-direction: column; gap: .55rem;
  margin-top: auto; padding-top: .95rem; border-top: 1px solid var(--bd-0);
}
.prop-spec-list li {
  display: flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 400; color: var(--tx-2); line-height: 1.3;
}
.prop-spec-list li svg { color: var(--pur-3); flex-shrink: 0; }

/* legacy card bits (kept harmless if any remain) */
.prop-loc { display: flex; align-items: center; gap: .35rem; font-size: .78rem; color: var(--tx-3); font-weight: 400; margin-bottom: .9rem; }
.prop-loc svg { color: var(--pur-3); flex-shrink: 0; }
.prop-specs { display: flex; gap: .5rem .95rem; flex-wrap: wrap; margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--bd-0); }
.spec { display: flex; align-items: center; gap: .32rem; font-size: .74rem; font-weight: 400; color: var(--tx-2); }
.spec svg { color: var(--pur-3); flex-shrink: 0; }

/* ============================================================
   การ์ด v2 (สไตล์ ref1) — badge ซ้ายบน + นับรูป + ทำเลมี pin + ราคา ฿ + สเปก 2 คอลัมน์
   ใช้กับ .prop-card ทุกที่ ยกเว้น carousel ทำเลยอดนิยม (.cf-card)
   ============================================================ */
.pc-v2 .prop-img { aspect-ratio: 4/3; }
.pc-v2 .prop-cat { display: none; }              /* badge เช่า/ดีล แทน category */
.pc-v2 .prop-hot { display: none; }              /* ribbon เดิม → ใช้ badge แทน */
.pc-v2 .card-sl-counter { display: none; }       /* ซ่อนตัวนับ 1/11 เดิม เหลือป้ายนับรูปอันเดียว */
.pcv-badges { position: absolute; top: .7rem; left: .7rem; display: flex; gap: .4rem; flex-wrap: wrap; z-index: 4; }
.pcv-badge { font-size: .68rem; font-weight: 700; letter-spacing: .01em; padding: .3rem .72rem; border-radius: 100px; line-height: 1; color: #fff; box-shadow: 0 3px 10px rgba(28,4,48,.28); white-space: nowrap; }
.pcv-badge-type { background: var(--pur); }
.pcv-badge-deal { background: linear-gradient(135deg, var(--pur-2,#62109A), var(--pur-3,#9A5CC9)); }
.pcv-photo { position: absolute; right: .7rem; bottom: .7rem; z-index: 4; display: inline-flex; align-items: center; gap: .32rem; background: rgba(20,8,32,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .72rem; font-weight: 600; padding: .28rem .6rem; border-radius: 100px; line-height: 1; }
.pcv-photo svg { width: 13px; height: 13px; }
.pcv-dots { position: absolute; left: 50%; bottom: .8rem; transform: translateX(-50%); z-index: 4; display: flex; gap: .3rem; pointer-events: none; }
.pcv-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.6); }
.pcv-dots i.on { width: 15px; border-radius: 100px; background: #fff; }
.pc-v2 .prop-body { padding: 1rem 1.15rem 1.2rem; }
.pc-v2 .prop-name { text-align: left; font-size: 1.05rem; margin-bottom: .35rem; }
.pcv-loc { display: flex; align-items: center; gap: .35rem; font-size: .8rem; color: var(--tx-3); margin-bottom: .75rem; overflow: hidden; }
.pcv-loc svg { width: 14px; height: 14px; color: var(--pur-3); flex-shrink: 0; }
.pcv-loc span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 25 ก.ค.: ราคาย้ายขึ้นลอยบนรูป พื้นขาว-ตัวหนังสือม่วง ให้ตัดกับรูปชัดเจน */
.pc-v2 .prop-price2 {
  position: absolute; top: .7rem; right: .7rem; z-index: 5;
  background: #fff; color: var(--pur);
  padding: .4rem .8rem; border-radius: 100px;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.15;
  box-shadow: 0 6px 18px rgba(20,4,38,.35);
  margin: 0; text-align: left; max-width: calc(100% - 1.4rem);
}
.pc-v2 .prop-price2 span { display: block; font-size: .62rem; font-weight: 600; color: var(--tx-3); margin-top: .15rem; letter-spacing: 0; }
/* 25 ก.ค.: สเปกเรียงบรรทัดเดียว ไม่ตกบรรทัดแยกให้ดูไม่เท่ากัน */
.pcv-specs { display: flex; flex-wrap: nowrap; align-items: center; gap: .5rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--bd-0); overflow: hidden; }
.pcv-spec { display: flex; align-items: center; gap: .3rem; font-size: .74rem; color: var(--tx-2); font-weight: 400; line-height: 1.3; min-width: 0; flex-shrink: 1; }
.pcv-spec span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcv-spec svg { width: 13px; height: 13px; color: var(--pur-3); flex-shrink: 0; }
/* related card ในหน้า detail (compact — ไม่มี gallery/specs → ย่อให้เล็กกระชับ) */
.pd-rel { gap: 1rem; }
.pc-v2-mini .prop-img { aspect-ratio: 16/9; }
.pc-v2-mini .prop-body { padding: .6rem .8rem .75rem; }
.pc-v2-mini .prop-name { font-size: .86rem; margin-bottom: .25rem; line-height: 1.25; }
.pc-v2-mini .pcv-loc { font-size: .72rem; margin-bottom: .4rem; }
.pc-v2-mini .pcv-loc svg { width: 12px; height: 12px; }
.pc-v2-mini .prop-price2 { font-size: 1rem; margin-bottom: 0; }
.pc-v2-mini .prop-price2 span { font-size: .66rem; }
.pc-v2-mini .pcv-badges { top: .5rem; left: .5rem; gap: .3rem; }
.pc-v2-mini .pcv-badge { font-size: .6rem; padding: .22rem .52rem; }


/* ===== WHY-US SECTION ===== */
#why-us { position: relative; overflow: hidden; }
#why-us .container { position: relative; z-index: 1; }

/* ===== SERVICE CARDS — unified grid with running border ===== */

/* Outer wrapper: running conic border */
.svc-wrap {
  position: relative;
  border-radius: var(--r-xl);
  padding: 1.5px;
  background: conic-gradient(
    from var(--wc-angle),
    rgba(255,255,255,.06) 0%,
    rgba(80,0,128,.7) 20%,
    rgba(126,44,184,.9) 25%,
    rgba(255,255,255,.06) 30%,
    rgba(255,255,255,.06) 100%
  );
  animation: wcSpin 6s linear infinite;
}

/* Inner grid — unified panel */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,.07);
  border-radius: calc(var(--r-xl) - 1.5px);
  overflow: hidden;
}
@media (min-width: 640px)  { .service-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .service-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  background: #2A1D4E;
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: background var(--t2);
  overflow: hidden;
}
/* Gold accent left-line on hover */
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Shimmer sweep */
.service-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(80,0,128,.05) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.service-card:hover { background: rgba(61,42,107,.85); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { transform: translateX(120%); }

.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(80,0,128,.07);
  border: 1px solid rgba(80,0,128,.22);
  border-radius: var(--r-sm);
  color: var(--gold-3);
  margin-bottom: 1.25rem;
  transition: all 0.35s ease;
}
.service-card:hover .service-icon {
  background: rgba(80,0,128,.15);
  border-color: rgba(80,0,128,.5);
  animation: iconGlowPulse 1.4s ease-in-out infinite;
}
.service-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 500; color: #FFFFFF;
  margin-bottom: 0.625rem; line-height: 1.4;
}
.service-desc {
  font-size: 0.85rem; font-weight: 300;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
}




/* ===== TESTIMONIALS ===== */
.rev-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 2px solid rgba(80,0,128,.25);
  border-radius: var(--r-md);
  padding: 2rem;
  position: relative; overflow: hidden;
  transition: transform var(--t2), box-shadow var(--t2), border-color var(--t2), background var(--t2);
}
.rev-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.08);
  border-color: rgba(80,0,128,.5);
  border-left-color: var(--gold-3);
  box-shadow: 0 20px 48px rgba(0,0,0,.3), 0 0 0 1px rgba(80,0,128,.15);
}

/* decorative quotation mark */
.rev-card::before {
  content: '\201C';
  position: absolute; top: -0.5rem; right: 1.25rem;
  font-size: 7rem; font-family: var(--font); line-height: 1;
  color: rgba(80,0,128,.1);
  pointer-events: none; user-select: none;
  transition: color var(--t2);
}
.rev-card:hover::before { color: rgba(80,0,128,.18); }

.rev-stars {
  display: flex; gap: 0.25rem; color: var(--gold-3); margin-bottom: 1.25rem;
}
.rev-stars svg { transition: transform var(--t2); }
.rev-card:hover .rev-stars svg { transform: scale(1.15); }

.rev-quote {
  font-family: var(--font-serif);
  font-size: 1.0rem; font-style: italic; font-weight: 400;
  color: rgba(255,255,255,.82);
  line-height: 1.75; margin-bottom: 1.75rem;
  position: relative; z-index: 1;
}

.rev-author { display: flex; align-items: center; gap: 0.875rem; }
.rev-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pur-3), var(--pur-l));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(80,0,128,.2);
  transition: box-shadow var(--t2);
}
.rev-card:hover .rev-avatar { box-shadow: 0 0 0 3px rgba(80,0,128,.55), 0 4px 16px rgba(80,0,128,.2); }
.rev-name { font-size: 0.875rem; font-weight: 600; color: #FFFFFF; margin-bottom: 0.2rem; }
.rev-role { font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,.45); }

.rev-aggregate {
  display: flex; align-items: center; justify-content: center; gap: 0.625rem;
  margin-top: 1rem;
}
.rev-agg-stars { display: flex; gap: 0.2rem; color: var(--gold-3); }
.rev-agg-score {
  font-size: 1rem; font-weight: 700; color: var(--gold-3);
}
.rev-agg-count {
  font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,.45);
}

/* Reviews — verified badge */
.rev-verified {
  display: inline-flex; align-items: center;
  font-size: 0.68rem; font-weight: 600;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.25);
  border-radius: 100px;
  padding: 0.1rem 0.5rem;
  margin-left: 0.5rem;
  vertical-align: middle;
  letter-spacing: 0.03em;
}

/* Reviews — 2-col header layout */
.rev-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 3rem; margin-bottom: 3rem;
  flex-wrap: wrap;
}
.rev-header-text { flex: 1; min-width: 220px; }

/* Reviews — rating summary box */
.rev-summary {
  flex-shrink: 0; min-width: 240px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
}
.rev-big-score {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.25rem;
}
.rev-score-num {
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: var(--gold-3);
}
.rev-score-right { display: flex; flex-direction: column; gap: 0.35rem; }
.rev-score-total { font-size: 0.75rem; color: rgba(255,255,255,.45); }

/* breakdown bars */
.rev-breakdown { display: flex; flex-direction: column; gap: 0.45rem; }
.rev-bar-row {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; color: rgba(255,255,255,.55);
}
.rev-bar-row > span:first-child { width: 2rem; flex-shrink: 0; }
.rev-bar-row > span:last-child { width: 1rem; flex-shrink: 0; text-align: right; }
.rev-bar {
  flex: 1; height: 5px;
  background: rgba(255,255,255,.1);
  border-radius: 100px; overflow: hidden;
}
.rev-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--gold-3), #7E2CB8);
  transition: width 0.8s cubic-bezier(.4,0,.2,1);
}
.rev-bar-fill.rev-bar-empty { width: 0 !important; }

@media (max-width: 767px) {
  .rev-header { flex-direction: column; gap: 2rem; }
  .rev-summary { min-width: unset; width: 100%; }
}


/* ===== AREA TAGS (left panel) ===== */
.area-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.area-tag {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.875rem;
  font-size: 0.72rem; font-weight: 500;
  color: var(--pur); letter-spacing: 0.06em;
  background: rgba(61,42,107,.07);
  border: 1px solid rgba(61,42,107,.18);
  border-radius: 100px;
  transition: all var(--t1);
}
.area-tag:hover { background: var(--pur); color: #fff; border-color: var(--pur); }

/* ===== AREAS GRID ===== */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
}
@media (min-width: 1024px) {
  .areas-grid {
    display: flex;
    gap: 6px;
    height: 520px;
    border-radius: var(--r-lg);
    overflow: hidden;
  }
}

.area-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--r-md);
  display: block;
  text-decoration: none;
}
@media (min-width: 1024px) {
  .area-card {
    flex: 1;
    aspect-ratio: unset;
    border-radius: 0;
    min-width: 0;
    transition: flex 0.6s ease;
  }
  .area-card:hover { flex: 3; }
}

.area-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}
.area-card:hover img { transform: scale(1.06); }

/* dark gradient always present */
.area-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,6,20,.85) 0%, transparent 60%);
  z-index: 1;
}

/* number — visible when collapsed, fades when expanded */
.area-num {
  position: absolute;
  top: 1rem; left: 1.1rem;
  font-size: 0.68rem; font-weight: 700;
  color: rgba(255,255,255,.45);
  letter-spacing: 0.16em;
  z-index: 2;
  transition: opacity 0.3s ease;
}

/* label — always visible on mobile, hover-reveal on desktop */
.area-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(42,29,78,.95) 0%, transparent 100%);
  z-index: 2;
  transform: translateY(0);
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
@media (min-width: 1024px) {
  .area-label { transform: translateY(12px); opacity: 0; }
  .area-card:hover .area-label { transform: translateY(0); opacity: 1; }
}

.area-name {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 500; color: #FFFFFF;
  margin-bottom: 0.25rem; line-height: 1.3;
}
.area-count {
  font-size: 0.8rem; font-weight: 400;
  color: var(--gold-3); letter-spacing: 0.02em;
}

/* number fades when THIS card is hovered */
@media (min-width: 1024px) {
  .area-card:hover .area-num { opacity: 0; }
  /* first/last card get radius back */
  .area-card:first-child { border-radius: var(--r-lg) 0 0 var(--r-lg); }
  .area-card:last-child  { border-radius: 0 var(--r-lg) var(--r-lg) 0; }
}


/* ===== VIDEO SECTION ===== */
.vtour-grid {
  display: grid; grid-template-columns: 1fr; gap: 3.5rem; align-items: center;
}
@media (min-width: 1024px) { .vtour-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }

.vtour-vid-outer {
  display: flex;
  justify-content: center;
}

.video-wrap {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 9/16;
  width: min(100%, 340px);
  cursor: pointer;
  box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(80,0,128,.18);
}
.video-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.video-wrap:hover img { transform: scale(1.04); }
.video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; border-radius: var(--r-lg);
}
.video-overlay {
  position: absolute; inset: 0;
  background: rgba(26,18,40,.45);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  transition: background var(--t2);
}
.video-wrap:hover .video-overlay { background: rgba(42,29,78,.55); }
.play-btn {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: flex; align-items: center; justify-content: center;
  color: var(--pur); transition: all var(--t2);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.play-btn svg { margin-left: 4px; }
.video-wrap:hover .play-btn { transform: scale(1.12); background: var(--gold-3); color: #FFFFFF; box-shadow: 0 0 0 8px rgba(126,44,184,.18); }
.vtour-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  color: rgba(255,255,255,.7); text-transform: uppercase;
}

.checklist { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(80,0,128,.15);
  border: 1px solid var(--bd-gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-top: 1px;
}
.check-text { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.75); line-height: 1.6; }


/* ===== SOCIAL CARDS ===== */
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .social-grid { grid-template-columns: repeat(2,1fr); } }

.social-card {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--bd-0);
  border-radius: var(--r-md);
  background: var(--bg-0);
  transition: transform var(--t2), box-shadow var(--t2), border-color var(--t2);
  cursor: pointer; box-shadow: var(--sh-xs);
  position: relative; overflow: hidden;
  text-decoration: none;
}
.social-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: currentColor; opacity: 0;
  transition: opacity var(--t2);
}
.social-card:hover { transform: translateY(-5px); }
.social-card:hover::before { opacity: 1; }

/* brand glow per platform */
.sc-fb { color: #1877F2; }
.sc-fb:hover { box-shadow: 0 8px 32px rgba(24,119,242,.25); border-color: rgba(24,119,242,.3); }
.sc-ln { color: #06C755; }
.sc-ln:hover { box-shadow: 0 8px 32px rgba(6,199,85,.2); border-color: rgba(6,199,85,.3); }
.sc-tt { color: #ffffff; }
.sc-tt:hover { box-shadow: 0 8px 32px rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.sc-yt { color: #FF0000; }
.sc-yt:hover { box-shadow: 0 8px 32px rgba(255,0,0,.2); border-color: rgba(255,0,0,.3); }

.social-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform var(--t2);
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.social-icon img { width: 38px; height: 38px; object-fit: contain; display: block; }
.social-card:hover .social-icon { transform: scale(1.1); }

.social-text { flex: 1; }
.social-name  { font-size: 1.05rem; font-weight: 700; color: var(--tx-1); margin-bottom: 0.2rem; }
.social-handle{ font-size: 0.8rem; font-weight: 300; color: var(--tx-3); }
.social-arrow {
  font-size: 1rem; color: rgba(80,0,128,.7); flex-shrink: 0;
  transition: transform var(--t2);
}
.social-card:hover .social-arrow { transform: translateX(5px); }




/* ===== CTA BANNER ===== */
.cta-banner {
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, var(--pur) 0%, var(--pur-2) 50%, var(--bg-pur) 100%);
  border: 1px solid rgba(80,0,128,.2);
  padding: 4.5rem 2.5rem;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 0 60px rgba(80,0,128,.08), inset 0 1px 0 rgba(255,255,255,.06);
}
.cta-banner-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500; color: #FFFFFF;
  line-height: 1.15; margin-bottom: 1.25rem;
  font-style: italic;
}
.cta-banner-title em {
  font-style: italic;
  -webkit-text-fill-color: transparent;
}
.cta-banner-sub {
  font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,.65);
  max-width: 480px; margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta-banner-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* trust badges */
.cta-trust {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 2rem;
}
.cta-trust-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  color: rgba(80,0,128,.9);
  background: rgba(80,0,128,.1);
  border: 1px solid rgba(80,0,128,.25);
  border-radius: 100px;
  padding: .35rem .9rem;
}

/* CTA split layout */
.cta-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 767px) { .cta-split { grid-template-columns: 1fr; gap: 2.5rem; } }

.cta-banner-title { text-align: left; }
.cta-banner-sub { text-align: left; margin-left: 0; }

.cta-right {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 1rem;
  padding: 1.75rem;
}
.cta-right-title {
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 1.25rem;
}
.cta-contact { display: flex; flex-direction: column; gap: .75rem; }
.cta-contact-row {
  display: flex; align-items: center; gap: .875rem;
  padding: .875rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: .75rem;
  text-decoration: none; color: inherit;
  transition: background var(--t2), border-color var(--t2), transform var(--t2);
}
.cta-contact-row:hover { background: rgba(255,255,255,.07); border-color: rgba(80,0,128,.3); transform: translateX(4px); }
.cta-contact-icon {
  width: 40px; height: 40px; border-radius: .625rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cta-contact-info { flex: 1; }
.cta-contact-info strong { display: block; font-size: 1.05rem; font-weight: 600; color: #fff; }
.cta-contact-info span { font-size: .875rem; color: rgba(255,255,255,.4); font-weight: 300; }
.cta-contact-arrow { color: rgba(255,255,255,.3); flex-shrink: 0; transition: transform var(--t2); }
.cta-contact-row:hover .cta-contact-arrow { transform: translateX(3px); color: rgba(80,0,128,.7); }


/* ===== SEARCH BAR ===== */
.search-section {
  background: var(--bg-1);
  padding: 2rem 0;
  border-bottom: 1px solid var(--bd-0);
}
.search-bar {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end;
  background: var(--bg-0);
  border: 1.5px solid var(--bd-0);
  border-radius: var(--r-xl);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--sh-sm);
}

/* Hero variant — dark background */
.hero-search {
  background: rgba(255,255,255,.1) !important;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 8px 40px rgba(0,0,0,.3) !important;
  margin-top: 2rem;
}
.hero-search .search-field label { color: var(--gold); }
.hero-search .search-field select {
  background: rgba(255,255,255,.08) !important;
  background-image: none !important;
  border-color: rgba(255,255,255,.15) !important;
  color: #ffffff;
  appearance: none; -webkit-appearance: none;
  padding-right: 0.875rem;
}
.hero-search .search-field select option { background: var(--bg-pur); color: #fff; }
.hero-search .search-field select:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(80,0,128,.15); }
.hero-search .search-divider { background: rgba(255,255,255,.12) !important; }
.hero-search-input {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(255,255,255,.15) !important;
  color: #ffffff !important;
}
.hero-search-input::placeholder { color: rgba(255,255,255,.4) !important; }
.hero-search-input:focus { border-color: var(--gold) !important; background: rgba(255,255,255,.12) !important; box-shadow: 0 0 0 3px rgba(80,0,128,.15) !important; }
.hero-search-hint { margin-top: 1.25rem; }
.search-field { flex: 1; min-width: 140px; }
.search-field label {
  display: block; font-size: 0.6rem; font-weight: 700;
  color: var(--gold); margin-bottom: 0.375rem;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.search-field select {
  width: 100%; padding: 0.625rem 0.875rem;
  background: var(--bg-1); border: 1.5px solid var(--bd-0);
  border-radius: var(--r-md); color: var(--tx-1);
  font-family: var(--font); font-size: 0.875rem; font-weight: 400;
  cursor: pointer; transition: all var(--t2);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238B80A8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}
.search-field select:focus { outline: none; border-color: var(--gold); background-color: var(--bg-0); box-shadow: 0 0 0 3px rgba(80,0,128,.08); }
.search-divider { width: 1px; background: var(--bd-0); align-self: stretch; margin: 0.25rem 0; flex-shrink: 0; }
.btn-search {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.625rem;
  background: var(--gold); color: #FFFFFF;
  border: none; border-radius: var(--r-md);
  font-family: var(--font); font-size: 0.825rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: all var(--t2); white-space: nowrap;
  box-shadow: var(--sh-gold);
}
.btn-search:hover { background: var(--gold-2); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(80,0,128,.3); }


/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-pur2);
  color: rgba(255,255,255,.65);
  padding-top: 2.5rem;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-3), var(--gold), transparent);
  opacity: .5;
}

.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; } }

.footer-logo { margin-bottom: 1.15rem; margin-top: -0.25rem; }
.footer-grid > div:not(.footer-about) { padding-top: 1.5rem; }
.footer-logo img { height: 40px; width: auto; }
.footer-about p {
  color: #fff; font-size: 0.825rem; font-weight: 400;
  line-height: 1.85; margin-top: 0; margin-bottom: 1.5rem;
}

.footer-socials { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9);
  transition: all var(--t2); cursor: pointer;
  opacity: 1;
}
.social-btn img { width: 20px; height: 20px; }
.social-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}

.footer-col-title {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: #fff;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a {
  font-size: 0.85rem; font-weight: 300;
  color: rgba(255,255,255,.72);
  transition: color var(--t2), padding-left var(--t2);
  position: relative;
  display: inline-flex; align-items: center;
  align-self: flex-start;
}
.footer-links a::before {
  content: '→';
  position: absolute; left: -1.05em; top: 50%;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(-50%) translateX(-4px);
  transition: opacity var(--t2), transform var(--t2);
  color: var(--gold-3);
}
.footer-links a:hover { color: var(--gold-3); padding-left: 4px; }
.footer-links a:hover::before { opacity: 1; transform: translateY(-50%) translateX(0); }

.f-contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.f-contact-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.f-contact-item span { font-size: 0.825rem; font-weight: 300; color: rgba(255,255,255,.55); line-height: 1.6; }
.f-contact-link { text-decoration: none; transition: opacity var(--t2); }
.f-contact-link:hover { opacity: 0.85; }
.f-contact-link:hover span { color: var(--gold-3); }

.footer-bottom {
  border-top: 1px solid transparent;
  background-clip: padding-box;
  position: relative;
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(80,0,128,.4) 30%, rgba(126,44,184,.6) 50%, rgba(80,0,128,.4) 70%, transparent 100%);
}
.footer-copy { font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.75rem; font-weight: 300; color: rgba(255,255,255,.3); transition: color var(--t2); }
.footer-legal a:hover { color: rgba(255,255,255,.65); }

/* ===== Footer accordion — มือถือ = accordion จัดกึ่งกลาง · เดสก์ท็อป = 4 คอลัมน์เดิม ===== */
.f-acc { margin: 0; }
.f-acc summary { display: block; list-style: none; }
.f-acc summary::-webkit-details-marker { display: none; }
.f-chev { display: none; }

@media (min-width: 768px) {
  .footer-grid > .f-acc { padding-top: 1.5rem; }   /* จัดหัวคอลัมน์ให้ตรงเหมือนเดิม */
  .f-acc summary { pointer-events: none; }          /* เดสก์ท็อป: หัวข้อเป็น heading เฉยๆ ไม่พับ */
}

@media (max-width: 767px) {
  /* แบรนด์จัดกึ่งกลาง */
  .footer-about { text-align: center; margin-bottom: 1.25rem; }
  .footer-about .footer-logo { display: flex; justify-content: center; }
  .footer-about p { margin-left: auto; margin-right: auto; max-width: 340px; }
  .footer-socials { justify-content: center; }

  /* accordion แถวชิด + เส้นคั่น */
  .footer-grid { gap: 0; }
  .f-acc { border-bottom: 1px solid rgba(255,255,255,.09); }
  .footer-grid > .f-acc { padding-top: 0; }

  .f-acc summary {
    cursor: pointer;
    display: flex; justify-content: center; align-items: center; gap: .5rem;
    padding: 1.05rem 0; margin-bottom: 0; text-align: center;
  }
  .f-chev {
    display: inline-block; color: rgba(255,255,255,.55);
    font-size: 1.25rem; line-height: 1;
    transform: rotate(90deg); transition: transform var(--t2);
  }
  .f-acc[open] .f-chev { transform: rotate(-90deg); }
  .f-acc-body { padding: .1rem 0 1.15rem; }

  /* เนื้อหาข้างในจัดกึ่งกลาง */
  .f-acc .footer-links { align-items: center; }
  .f-acc .footer-links a { align-self: center; }
  .f-acc .footer-links a::before { display: none; }
  .f-acc .f-contact-item { justify-content: center; }

  /* แถบล่างจัดกึ่งกลางให้เข้าชุด */
  .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: .7rem; }
}


/* ===== LINE CTA STRIP ===== */
.line-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding: 2.5rem 3rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-xl);
}
.line-strip-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 500; color: #FFFFFF; margin-bottom: 0.375rem;
}
.line-strip-text p { font-size: 0.875rem; font-weight: 300; color: rgba(255,255,255,.5); }


/* ===== IMAGE GALLERY / SLIDER (property pages) ===== */
.prop-slider-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.prop-slider { display: flex; }
.prop-slide { flex: none; width: 100%; }
.prop-slide img { width: 100%; height: 480px; object-fit: cover; }
@media (max-width: 768px) { .prop-slide img { height: 280px; } }

.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-radius: 50%; cursor: pointer;
  transition: all var(--t2); border: none;
  box-shadow: var(--sh-sm);
}
.slider-btn:hover { background: var(--pur); color: #FFFFFF; }
.slider-btn-prev { left: 1rem; }
.slider-btn-next { right: 1rem; }
.slider-counter {
  position: absolute; bottom: 1rem; right: 1rem;
  background: rgba(0,0,0,.55); color: #FFFFFF;
  padding: 0.3rem 0.75rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 500;
}


/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 639px) {
  .lux-hero-h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .stat-num    { font-size: 1.35rem; }
  .cta-banner  { padding: 2.75rem 1.5rem; }
  .line-strip  { padding: 1.75rem 1.5rem; }
  .prop-grid-header { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================
   ช่องแบนเนอร์โฆษณาหน้าแรก — พอใส่รูปแล้วต้องเหลือแต่รูป (20 ก.ค.)
   กรอบเส้นประ + พื้นหลัง + ระยะขอบ ของ .ad-slot มีไว้ตอนช่องยังว่างเท่านั้น
   ถ้าไม่ปิด รูปแบนเนอร์จะมีกรอบประล้อมรอบ ดูเหมือนงานยังไม่เสร็จ
   วางไว้ที่นี่ (ไม่ใช่ inline ใน index.html) เพราะ index.html บนโฮสต์
   มีรูปแบนเนอร์ที่ระบบเขียนลงไป — อัปทับเมื่อไหร่แบนเนอร์หายทันที
   specificity: .ad-slot:has(img) = (0,1,1) ชนะ .ad-slot = (0,1,0) เสมอ ไม่ว่าไฟล์ไหนโหลดก่อน
   ========================================================== */
.ad-slot:has(img) {
  min-height: 0; border: none; background: none; padding: 0;
  border-radius: 14px; overflow: hidden;
}
.ad-slot:has(img) img { border-radius: 14px; }
