.elementor-14293 .elementor-element.elementor-element-37a43d5{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-7caacb9 */@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,600;1,300;1,600&family=DM+Sans:wght@300;400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:      #F0C93A;
  --gold-dark: #C8A018;
  --gold-dim:  rgba(240, 200, 58, 0.6);

  /*
  ┌─────────────────────────────────────────────────────┐
  │  เส้นทแยงวิ่งจาก  top-x  (บนสุด)  →  bot-x  (ล่างสุด)
  │  midpoint = (top-x + bot-x) / 2  ต้องได้ 50%
  │
  │  ค่าเริ่มต้น:  top-x = 53%,  bot-x = 47%
  │  → mid = (53+47)/2 = 50%  ✓  อยู่กลางจอพอดี
  │
  │  ต้องการเลื่อนซ้าย-ขวา?
  │  → บวก/ลบทั้งสองค่าเท่ากัน เช่น +2% ทั้งคู่ → 55/49
  └─────────────────────────────────────────────────────┘
  */
  --diag-top: 53%;
  --diag-bot: 47%;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: #050505;
  margin: 0;
}

/* ══════════════════════════════════════════════
   SECTION  +  BREAKOUT จาก Elementor container
══════════════════════════════════════════════ */
.split-section {
  position: relative;

  /* ── breakout: ทำให้กว้าง 100vw เสมอ ──
     ไม่ว่า Elementor container จะมี padding
     เท่าไหร่ก็ตาม section นี้จะเต็มจอเสมอ  */
  width:         100vw;
  margin-left:   calc(-50vw + 50%);
  margin-right:  calc(-50vw + 50%);

  height:     100vh;
  min-height: 560px;
  overflow:   hidden;
}

/* ══════════════════════════════════════════════
   BACKGROUND HALVES
   ── ใส่รูปจริงแทน gradient ──
   .side-phuket  { background-image: url('images/phuket.jpg'); }
   .side-khaolak { background-image: url('images/khaolak.jpg'); }
══════════════════════════════════════════════ */
.side {
  position: absolute;
  inset: 0;
  background-size:     cover;
  background-position: center;
  z-index: 1;
  cursor: pointer;
  transition: clip-path 0.85s cubic-bezier(0.76, 0, 0.24, 1);
  will-change: clip-path;
}

.side-phuket {
  background-image:
    radial-gradient(ellipse 100% 80% at 18% 65%,
      rgba(0,140,200,0.55) 0%, transparent 52%),
    linear-gradient(150deg,
      #093654 0%, #0878a0 18%,
      #0fa89c 40%, #58c8be 60%,
      #dfc060 80%, #b86832 100%);
  /*
    พิกัดของ .side-phuket ต้องตรงกับ --diag-top / --diag-bot
    ด้านขวาของ Phuket = ด้านซ้ายของเส้นทแยง
  */
  clip-path: polygon(0 0, var(--diag-top) 0, var(--diag-bot) 100%, 0 100%);
}

.side-khaolak {
  background-image:
    radial-gradient(ellipse 75% 85% at 62% 70%,
      rgba(15,95,50,0.5) 0%, transparent 52%),
    linear-gradient(145deg,
      #061e14 0%, #11533a 22%,
      #198a5e 45%, #36ba88 65%,
      #70c272 82%, #b0dc88 100%);
  clip-path: polygon(var(--diag-top) 0, 100% 0, 100% 100%, var(--diag-bot) 100%);
}

/* Hover: ขยายฝั่งที่ถูก hover */
.split-section:has(.side-phuket:hover)  .side-phuket  {
  clip-path: polygon(0 0, 63% 0, 57% 100%, 0 100%);
}
.split-section:has(.side-phuket:hover)  .side-khaolak {
  clip-path: polygon(63% 0, 100% 0, 100% 100%, 57% 100%);
}
.split-section:has(.side-khaolak:hover) .side-phuket  {
  clip-path: polygon(0 0, 43% 0, 37% 100%, 0 100%);
}
.split-section:has(.side-khaolak:hover) .side-khaolak {
  clip-path: polygon(43% 0, 100% 0, 100% 100%, 37% 100%);
}

/* ══════════════════════════════════════════════
   OVERLAY  (vignette 4 ทิศ)
══════════════════════════════════════════════ */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(to top,    rgba(0,0,0,0.78) 0%,   transparent 42%),
    linear-gradient(to bottom, rgba(0,0,0,0.45) 0%,   transparent 28%),
    linear-gradient(to right,  rgba(0,0,0,0.30) 0%,   transparent 22%),
    linear-gradient(to left,   rgba(0,0,0,0.30) 0%,   transparent 22%);
}

/* ══════════════════════════════════════════════
   DIVIDER SVG
   ── วิธีนี้การันตีว่าเส้นทอง "ซ้อนทับ"
      รอยต่อของ clip-path พอดี 100% ทุกขนาดจอ ──
══════════════════════════════════════════════ */
.divider-svg {
  position: absolute;
  inset: 0;
  width:  100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  overflow: visible;
}

/* Medallion ทองกลางเส้น (วางโดย JS ด้านล่าง) */
.divider-icon {
  position: absolute;
  top:  50%;
  left: 50%;           /* midpoint = (53+47)/2 = 50% พอดีกลาง */
  transform: translate(-50%, -50%);
  z-index: 6;
  width:  50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow:
    0 0 0  7px rgba(240,200,58,0.13),
    0 0 0 14px rgba(240,200,58,0.06);
}

.divider-icon svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════ */
.badge {
  position: absolute;
  top: 2rem;
  z-index: 8;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 7px;
}
.badge.left  { left:  2rem; }
.badge.right { right: 2rem; }

.badge-pill {
  background: rgba(0,0,0,0.45);
  border: 0.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.80);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 2px;
  font-weight: 400;
}
.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   EYEBROW  (top-centre)
══════════════════════════════════════════════ */
.eyebrow {
  position: absolute;
  top: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.eyebrow-text {
  font-size: 8.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}
.eyebrow-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.22), transparent);
  margin-top: 7px;
}

/* ══════════════════════════════════════════════
   CONTENT  —  แต่ละ panel กึ่งกลาง
══════════════════════════════════════════════ */
.panels {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  pointer-events: none;
}

.panel {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;     /* กึ่งกลางแนวนอน */
  justify-content: center; /* กึ่งกลางแนวตั้ง */
  text-align: center;
  padding: 5rem 3.5rem 3rem;
}

/* Tag */
.c-tag {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* Heading */
.c-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 600;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.015em;
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.c-title em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
}

/* Gold rule */
.c-rule {
  width: 40px;
  height: 1.5px;
  background: var(--gold-dim);
  margin: 1.2rem auto;
  flex-shrink: 0;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* Sub text */
.c-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.42);
  letter-spacing: 0.08em;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* Button */
.c-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 30px;
  background: var(--gold);
  color: #1a1006;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  pointer-events: all;
  width: fit-content;
  white-space: nowrap;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.c-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(200,155,0,0.5);
}
.btn-arr {
  width: 16px;
  height: 1.5px;
  background: #1a1006;
  position: relative;
  flex-shrink: 0;
  transition: width 0.25s;
}
.btn-arr::after {
  content: '';
  position: absolute;
  right: -1px; top: -4px;
  width: 8px; height: 8px;
  border-right: 1.5px solid #1a1006;
  border-top:   1.5px solid #1a1006;
  transform: rotate(45deg);
}
.c-btn:hover .btn-arr { width: 24px; }

/* Animation delays */
.panel:nth-child(1) .c-tag   { animation-delay: 0.30s; }
.panel:nth-child(1) .c-title { animation-delay: 0.50s; }
.panel:nth-child(1) .c-rule  { animation-delay: 0.68s; }
.panel:nth-child(1) .c-sub   { animation-delay: 0.82s; }
.panel:nth-child(1) .c-btn   { animation-delay: 1.00s; }

.panel:nth-child(2) .c-tag   { animation-delay: 0.45s; }
.panel:nth-child(2) .c-title { animation-delay: 0.65s; }
.panel:nth-child(2) .c-rule  { animation-delay: 0.80s; }
.panel:nth-child(2) .c-sub   { animation-delay: 0.95s; }
.panel:nth-child(2) .c-btn   { animation-delay: 1.15s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   SCROLL INDICATOR
══════════════════════════════════════════════ */
.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  pointer-events: none;
}
.scroll-hint span {
  font-size: 7.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}
.scroll-track {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.1);
  position: relative; overflow: hidden;
}
.scroll-dot {
  position: absolute;
  top: -8px; width: 1px; height: 8px;
  background: var(--gold);
  animation: scrollDown 2.2s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -8px; opacity: 0; }
  15%  { opacity: 1; }
  100% { top: 42px; opacity: 0; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 768px) { .desktop-only { display: none !important; } }
@media (min-width: 769px) { .mobile-only  { display: none !important; } }

/* Mobile cards */
.mobile-only { background: #050505; }

.m-card {
  position: relative;
  height: 68vw; min-height: 280px; max-height: 420px;
  overflow: hidden;
  display: flex; align-items: center;
  justify-content: center; text-align: center;
}
.m-card + .m-card { margin-top: 3px; }

.m-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s ease;
}
.m-card:hover .m-bg { transform: scale(1.04); }

.m-bg-phuket {
  background-image:
    radial-gradient(ellipse 90% 70% at 25% 65%, rgba(0,130,190,0.5) 0%, transparent 55%),
    linear-gradient(150deg, #093654 0%, #0878a0 20%, #0fa89c 42%,
      #58c8be 62%, #dfc060 82%, #b86832 100%);
}
.m-bg-khaolak {
  background-image:
    radial-gradient(ellipse 70% 80% at 45% 75%, rgba(15,95,50,0.5) 0%, transparent 55%),
    linear-gradient(145deg, #061e14 0%, #11533a 22%, #198a5e 45%,
      #36ba88 65%, #70c272 82%, #b0dc88 100%);
}
.m-ov { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }

.m-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 2rem;
}
.m-tag {
  font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 0.6rem;
}
.m-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 34px; font-weight: 600; color: #fff; line-height: 1.0;
}
.m-title em {
  display: block; font-style: italic;
  font-weight: 300; color: rgba(255,255,255,0.7);
}
.m-rule { width: 36px; height: 1.5px; background: var(--gold-dim); margin: 0.9rem auto; }
.m-sub {
  font-size: 11px; color: rgba(255,255,255,0.42);
  letter-spacing: 0.06em; font-weight: 300; margin-bottom: 1.5rem;
}
.m-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; background: var(--gold); color: #1a1006;
  font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; width: fit-content;
  transition: background 0.2s, transform 0.2s;
}
.m-btn:hover { background: var(--gold-dark); transform: translateY(-2px); }/* End custom CSS */