/* =========================================================
   TOKENS — iOS LIQUID GLASS & SOFT EDITORIAL
========================================================= */
:root {
  --bg: #f2f2f7;
  --glass: rgba(255, 255, 255, 0.65);
  --glass-card: rgba(255, 255, 255, 0.78);
  --glass-hover: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-subtle: rgba(0, 0, 0, 0.05);
  --glass-specular: inset 0 1px 1.5px 0 rgba(255, 255, 255, 0.98);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 30px -4px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.02);
  --shadow-float: 0 20px 40px -8px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);

  --text: #1c1c1e;
  --text-dim: #636366;
  --text-faint: #8e8e93;

  --accent: #111113;
  --accent-text: #ffffff;
  --success: #34c759;

  --r-xl: 32px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;
  --tabbar-h: 56px;
  --font-d: 'SF Pro Display', -apple-system, sans-serif;
  --font-b: 'SF Pro Display', -apple-system, sans-serif;
  --font-d2: 'Plus Jakarta Sans', sans-serif;
  --font-script: 'Aston Script', cursive;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-elastic: cubic-bezier(0.34, 1.4, 0.64, 1);

  --gold-gradient: linear-gradient(135deg, #e6c875 0%, #d4af37 40%, #aa7c11 75%, #f3e5ab 100%);
  --gold-shimmer: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.75) 50%, transparent 75%);
}

@font-face {
    font-family: 'Aston Script';
    src: url('/fonts/aston.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/fonts/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/fonts/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('/fonts/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 700;
    font-style: italic;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { display: none; }

#app { min-height: 100vh; padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 38px); }

/* =========================================================
   TOPBAR
========================================================= */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 12px) 20px 12px;
  background: rgba(242, 242, 247, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border-subtle);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 26px; height: 26px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.brand h1 { font-family: var(--font-d); font-size: 1.05rem; font-weight: 200; letter-spacing: -0.02em; }

.view { display: none; padding: 20px 18px 8px; max-width: 540px; margin: 0 auto; }
.view.active { display: block; animation: viewIn 0.32s var(--ease); }
@keyframes viewIn {
  from { opacity: 0; transform: scale(0.98) translateY(6px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* =========================================================
   BUTTONS & BADGES
========================================================= */
.btn-pill {
  padding: 0.65rem 1.3rem; border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px; transition: all 0.2s var(--ease);
}
.btn-pill.dark { background: var(--accent); color: var(--accent-text); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }
.btn-pill.glass {
  background: var(--glass); border: 1px solid var(--glass-border);
  box-shadow: var(--glass-specular), var(--shadow-sm); backdrop-filter: blur(16px);
}
.btn-pill:active { transform: scale(0.96); }

.avail-badge {
  background: #ffffff; padding: 3px 8px; border-radius: 100px;
  display: flex; align-items: center; gap: 5px; font-size: 0.65rem; font-weight: 700;
  box-shadow: var(--shadow-sm); border: 1px solid var(--glass-border-subtle);
}
.avail-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

/* =========================================================
   HOME — SOFT EDITORIAL GRADIENT
========================================================= */
.view[data-view="home"] {
  padding: 0 0 44px;
  background: linear-gradient(180deg, #b1b1b1 0%, #b1b1b1 18%, #b7abc0 38%, #93a0ae 60%, #e0dee3 82%, #f2f2f7 100%);
  border-radius: 0 0 36px 36px;
}

.hm-pad { padding-left: 18px; padding-right: 18px; }

/* HERO */
.hm-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  max-height: 640px;
  overflow: hidden;
}

.hm-hero-media, .hm-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hm-hero-media img {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.1s ease, transform 7s var(--ease);
}

.hm-hero-media img.active {
  opacity: 1;
  transform: scale(1.08);
}

.hm-hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(255, 255, 255, 0.6) 75%, #b1b1b1 100%);
  pointer-events: none;
}

.hm-hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  padding: 0 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
}

.hm-greet {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
}

.hm-greet-hi, .hm-greet-time {
  font-family: var(--font-d2);
  font-weight: 600;
  font-size: clamp(2.1rem, 10vw, 3rem);
  color: #ffffff;
  
}

/* 7. CHAT NARA: MASKOT DENGAN BUBBLE CHAT */
.hm-hero-chat {
  display: flex;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.hm-chat-bubble {
  position: relative;
  background: #ffffff;
  color: #1c1a19;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.6rem 1.1rem;
  border-radius: 100px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.hm-hero-chat:hover .hm-chat-bubble,
.hm-hero-chat:active .hm-chat-bubble {
  transform: scale(1.05) translateX(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.hm-chat-arrow {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #ffffff;
}

.hm-mascot-wrap {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin-left: 4px;
  position: relative;
  transition: transform 0.3s var(--ease-elastic);
}

.hm-hero-chat:hover .hm-mascot-wrap,
.hm-hero-chat:active .hm-mascot-wrap {
  transform: scale(1.1) rotate(5deg);
}

.hm-mascot-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

.hm-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}

.hm-dots .d {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: all 0.25s ease;
}

.hm-dots .d.active {
  width: 16px;
  border-radius: 10px;
  background: #ffffff;
}

/* 6. SPACER AMAN AGAR TIDAK TUMPANG TINDIH */
.hm-hero-spacer {
  height: 32px;
}

/* 1 & 2. ABOUT CARD: LIQUID GLASS + FULL HEIGHT FOTO & TRANSPARAN KANAN */
.hm-about-liquid {
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.541);
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hm-about-photo-wrap {
  height: 100%;
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.hm-about-full-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Gradasi transparan ke kanan */
.hm-photo-fade-right {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hm-about-body {
  flex: 1;
  min-width: 0;
  padding: 20px 18px 20px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hm-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hm-script {
  font-family: var(--font-script);
  font-weight: 400;
  color: #faf9f9;
  line-height: 1;
}

.hm-about-body .hm-script {
  font-size: 1.5rem;
  margin: 10px 0 6px;
  display: block;
}

.hm-about-desc {
  font-size: 0.76rem;
  line-height: 1.45;
  color: #fcfcfc;
  margin-bottom: 14px;
}

.hm-stats-liquid {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0);
  padding: 8px 12px;
  border-radius: 14px;
  border: 0px solid rgba(255, 255, 255, 0.6);
  width: fit-content;
}

.hm-stat-item strong {
  display: block;
  font-family: var(--font-d2);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hm-stat-item span {
  font-size: 0.62rem;
  color: #fcfcfc;
  font-weight: 600;
}

/* 3 & 9. LINKS & CHAT NOW */
.hm-linkrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 0 16px;
}

.hm-link-pills { display: flex; gap: 10px; }

.hm-link-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #241c1f;
  transition: transform 0.25s var(--ease), background 0.2s;
}

.hm-link-pill svg {
  width: 20px;
  height: 20px;
}

.hm-link-pill:hover,
.hm-link-pill:active {
  transform: translateY(-3px) scale(1.05);
  background: #ffffff;
}

.hm-chatnow {
  font-family: var(--font-d2);
  font-weight: 400;
  font-size: 0.92rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s;
}

.hm-chatnow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.hm-chatnow:hover svg {
  transform: translateX(4px);
}

.hm-divider {
  width: 140px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  margin: 0 auto 30px;
}

/* HEADINGS */
.hm-heading { margin: 0 0 16px; }
.hm-heading h2 { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hm-h-bold { font-family: var(--font-d2); font-weight: 600; font-size: 1.55rem; color: #ffffff; }
.hm-heading .hm-script { font-size: 1.8rem; color: #ffffff; }
.hm-heading-sub { text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.85); margin: -8px 0 0; }
.hm-heading.center { text-align: center; }
.hm-heading.center h2 { justify-content: center; }
.hm-eyebrow { text-align: center; font-size: 0.72rem; color: rgba(36,28,31,0.75); margin-bottom: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

/* MOMENTS GRID (3 KOLOM) */
.hm-moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 38px;
}

.hm-moment-card {
  aspect-ratio: 3/4;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.hm-moment-card:active,
.hm-moment-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,0.14);
}

.hm-moment-card img { width: 100%; height: 100%; object-fit: cover; }

/* 4. MOVING IMAGERY VIDEO */
/* =========================================================
   FEATURED VIDEO WITH AMBIENT BLUR GLOW
========================================================= */
.hm-video-feature-wrap {
  position: relative;
  width: calc(100% - 36px); /* Mengurangi lebar 18px kiri dan 18px kanan */
  margin: 28px auto 44px;    /* 'auto' membuat posisinya otomatis pas di tengah */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Video Ambient yang mekar & blur di belakang bingkai */
.hm-video-ambient {
  position: absolute;
  top: 5%;
  left: 3%;
  width: 94%;
  height: 90%;
  object-fit: cover;
  filter: blur(42px) saturate(220%) brightness(0.95);
  opacity: 0.85;
  transform: scale(1.1);
  pointer-events: none;
  z-index: 1;
  border-radius: 36px;
  transition: opacity 0.5s ease;
}

/* Kontainer Video Utama di depan */
.hm-video-feature {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #111113;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  
}



.hm-video-feature video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hm-vf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}

.hm-vf-title {
  position: absolute;
  left: 20px;
  bottom: 18px;
  right: 20px;
  color: #ffffff;
  font-family: var(--font-d2, var(--font-d));
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

/* 5. CREATIVE SOLUTIONS (PREMIUM GLASS CARDS WITH HOVER/CLICK ANIMATIONS) */
.hm-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 44px;
}

.hm-solution-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 22px 18px;
  cursor: pointer;
  box-shadow: inset 0 1px 1.5px rgba(255,255,255,0.9), 0 14px 30px -14px rgba(40,20,25,0.22);
  transition: transform 0.28s var(--ease), box-shadow 0.28s, background 0.25s;
  position: relative;
  overflow: hidden;
}

.hm-solution-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px -12px rgba(40,20,25,0.28);
}

.hm-solution-card:active {
  transform: scale(0.96);
}

.hm-sol-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--glass-border-subtle);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #241c1f;
  transition: transform 0.3s var(--ease-elastic), background 0.25s, color 0.25s;
}

.hm-sol-icon-box svg {
  width: 22px;
  height: 22px;
}

.hm-solution-card:hover .hm-sol-icon-box {
  transform: rotate(-8deg) scale(1.1);
  background: var(--accent);
  color: #ffffff;
}

.hm-solution-card h3 {
  font-family: var(--font-d2);
  font-size: 0.98rem;
  font-weight: 700;
  color: #241c1f;
  margin-bottom: 6px;
}

.hm-solution-card p {
  font-size: 0.74rem;
  color: #63575c;
  line-height: 1.45;
  margin: 0;
}

/* 6. CREATIVE TOOLKIT: INFINITE MARQUEE */
.hm-tools-marquee {
  overflow: hidden;
  position: relative;
  margin: 6px -18px 24px -18px;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.hm-tools-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: toolMarquee 26s linear infinite;
}

.hm-tools-track:hover {
  animation-play-state: paused;
}

@keyframes toolMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.hm-tool-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: var(--font-d2);
  font-size: 0.76rem;
  font-weight: 700;
  color: #241c1f;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.tool-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.tool-dot.pr { background: #9999ff; }
.tool-dot.ae { background: #d291ff; }
.tool-dot.ps { background: #31a8ff; }
.tool-dot.ai { background: #ff9a00; }
.tool-dot.lr { background: #55c8ff; }
.tool-dot.dv { background: #ff5252; }
.tool-dot.fg { background: #0acf83; }
.tool-dot.cc { background: #111113; }

/* 5. FAQ ACCORDION SECTION */
.hm-faq-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.hm-faq-item {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: background 0.2s;
}

.hm-faq-item[open] {
  background: rgba(255, 255, 255, 0.92);
}

.hm-faq-quest {
  list-style: none;
  font-family: var(--font-d2);
  font-size: 0.88rem;
  font-weight: 700;
  color: #241c1f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.hm-faq-quest::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 18px;
  height: 18px;
  stroke: #63575c;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 10px;
}

.hm-faq-item[open] .faq-icon {
  transform: rotate(180deg);
  stroke: var(--accent);
}

.hm-faq-ans {
  margin-top: 10px;
  font-size: 0.8rem;
  color: #63575c;
  line-height: 1.5;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 10px;
}

/* =========================================================
   WORK SECTION
========================================================= */
.segmented {
  display: flex; background: rgba(0, 0, 0, 0.04); padding: 3px; border-radius: 100px; margin-bottom: 16px; gap: 2px;
}
.seg-btn {
  flex: 1; padding: 0.55rem 0; border-radius: 100px; font-size: 0.78rem; font-weight: 600;
  color: var(--text-dim); transition: all 0.2s var(--ease);
}
.seg-btn.active {
  background: #ffffff; color: var(--text);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.03);
}

.work-pane { display: none; }
.work-pane.active { display: block; }
.filter-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 14px; }
.filter-btn {
  flex-shrink: 0; padding: 0.4rem 0.9rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  background: var(--glass); border: 1px solid var(--glass-border); color: var(--text-dim);
  box-shadow: var(--shadow-sm); transition: all 0.2s ease;
}
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }

.video-grid, .design-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v-tile {
  position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 9/13;
  background: #000; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.25s var(--ease);
}
.v-tile:hover { transform: scale(0.98); }
.v-tile video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.v-play {
  position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.v-play svg { width: 14px; height: 14px; fill: #000; margin-left: 2px; }
.v-tile .v-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  padding: 18px 10px 8px; color: #fff; font-size: 0.75rem; font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.photo-grid { column-count: 2; column-gap: 10px; }
.photo-grid img {
  width: 100%; border-radius: var(--r-md); margin-bottom: 10px; break-inside: avoid;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.2s var(--ease);
}
.photo-grid img:hover { transform: scale(1.02); }

.d-tile {
  position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/5;
  background: #e5e5ea; box-shadow: var(--shadow-sm); cursor: pointer; transition: transform 0.25s var(--ease);
}
.d-tile:hover { transform: scale(0.98); }
.d-tile img { width: 100%; height: 100%; object-fit: cover; }
.d-badge {
  position: absolute; top: 8px; left: 8px; background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px); font-size: 0.6rem; font-weight: 700; padding: 2px 7px;
  border-radius: 100px; box-shadow: var(--shadow-sm);
}

.web-list { display: flex; flex-direction: column; gap: 10px; }
.web-tile {
  display: flex; align-items: center; gap: 12px; background: var(--glass-card);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-specular), var(--shadow-sm);
  border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; transition: transform 0.2s var(--ease);
}
.web-tile:hover { transform: translateY(-2px); }
.web-tile img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.web-name { font-size: 0.86rem; font-weight: 700; margin-bottom: 2px; }
.web-tag { font-size: 0.68rem; color: var(--text-faint); font-weight: 500; }
.web-arr { margin-left: auto; font-size: 0.85rem; color: var(--text-faint); background: #ffffff; padding: 4px 10px; border-radius: 100px; }

.load-more {
  width: 100%; margin-top: 14px; padding: 0.75rem; border-radius: 100px;
  background: var(--glass-card); border: 1px solid var(--glass-border);
  font-size: 0.8rem; font-weight: 600; color: var(--text-dim); box-shadow: var(--shadow-sm);
}
.load-more[hidden] { display: none; }

.skeleton-card {
  aspect-ratio: 9/13; border-radius: var(--r-md);
  background: linear-gradient(90deg, #e5e5ea 25%, #f2f2f7 50%, #e5e5ea 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =========================================================
   RATES & SWIPEABLE CAROUSEL
========================================================= */
.rates-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.rate-item {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--glass-card); border: 1px solid var(--glass-border);
  box-shadow: var(--glass-specular), var(--shadow-sm);
  border-radius: var(--r-md); padding: 14px 18px; cursor: pointer; transition: transform 0.2s var(--ease);
}
.rate-item:hover { transform: translateY(-2px); }
.rate-item h4 { font-size: 0.88rem; font-weight: 700; }
.rate-item .price-badge {
  font-size: 0.76rem; font-weight: 700; background: #ffffff; padding: 4px 10px;
  border-radius: 100px; border: 1px solid var(--glass-border-subtle); box-shadow: var(--shadow-sm);
}

.pkg-carousel-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.swipe-hint { font-size: 0.7rem; color: var(--text-faint); font-weight: 600; }
.pkg-carousel {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 4px 18px 16px 18px; margin: 0 -18px;
}
.pkg-carousel::-webkit-scrollbar { display: none; }
.pkg-swipe-card {
  flex: 0 0 82%; max-width: 320px; scroll-snap-align: center; background: var(--glass-card);
  border: 1px solid var(--glass-border); box-shadow: var(--glass-specular), var(--shadow-md);
  backdrop-filter: blur(28px) saturate(180%); -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: var(--r-xl); padding: 22px 20px; display: flex; flex-direction: column;
  justify-content: space-between; cursor: pointer; transition: transform 0.25s var(--ease);
}
.pkg-swipe-card:active { transform: scale(0.97); }
.pkg-swipe-card.featured {
  background: rgba(255, 255, 255, 0.96); border-color: rgba(0, 0, 0, 0.08); box-shadow: var(--shadow-float);
}
.pkg-top-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pkg-pill {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; background: rgba(0, 0, 0, 0.05); color: var(--text-dim);
}

.pkg-pill.gold, .pop-card-badge.gold {
  position: relative; overflow: hidden; background: var(--gold-gradient); color: #2a1b02;
  font-weight: 600; letter-spacing: 0.04em; border: 1px solid rgba(255, 235, 160, 0.75);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.35), inset 0 1px 1.5px rgba(255, 255, 255, 0.7);
  animation: goldPulse 3.5s ease-in-out infinite; display: inline-flex; align-items: center;
}
.pkg-pill.gold::after, .pop-card-badge.gold::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gold-shimmer); pointer-events: none;
  animation: goldShimmerSweep 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes goldShimmerSweep { 0% { transform: translateX(-140%); } 45%, 100% { transform: translateX(140%); } }
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 2px 8px rgba(197, 155, 39, 0.3); }
  50% { box-shadow: 0 3px 14px rgba(212, 175, 55, 0.55); }
}

.pkg-badge-price { font-family: var(--font-d); font-size: 1.15rem; font-weight: 700; color: var(--text); }
.pkg-swipe-card h3 { font-family: var(--font-d); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.pkg-subtext { font-size: 0.78rem; color: var(--text-dim); line-height: 1.45; margin-bottom: 14px; }
.pkg-features { list-style: none; padding: 0; margin: 0 0 18px 0; display: flex; flex-direction: column; gap: 6px; }
.pkg-features li { font-size: 0.78rem; color: var(--text-dim); display: flex; align-items: center; gap: 7px; }
.pkg-features li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text); flex-shrink: 0; }
.pkg-card-cta {
  font-size: 0.78rem; font-weight: 700; color: var(--text); display: flex; align-items: center;
  justify-content: flex-end; border-top: 1px solid var(--glass-border-subtle); padding-top: 12px;
}

.pkg-dots { display: flex; justify-content: center; gap: 6px; margin: -4px 0 16px; }
.p-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(0, 0, 0, 0.15); transition: all 0.25s var(--ease); }
.p-dot.active { width: 18px; border-radius: 10px; background: var(--accent); }

/* =========================================================
   CONTACT
========================================================= */
.contact-card {
  background: var(--glass-card); border: 1px solid var(--glass-border);
  box-shadow: var(--glass-specular), var(--shadow-sm); border-radius: var(--r-lg); padding: 18px;
}
.contact-links { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.c-btn {
  padding: 0.55rem 1rem; border-radius: 100px; background: #ffffff;
  border: 1px solid var(--glass-border-subtle); font-size: 0.78rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.form-input {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--r-sm); background: #ffffff;
  border: 1px solid var(--glass-border-subtle); font-size: 0.85rem; font-family: inherit; margin-bottom: 10px; outline: none;
}
.form-input:focus { border-color: var(--accent); }
textarea.form-input { min-height: 95px; resize: none; }

/* =========================================================
   FLOATING PILL TAB BAR
========================================================= */
.pill-tabbar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 60; display: flex; align-items: center; gap: 3px; width: calc(100% - 32px); max-width: 380px;
  height: var(--tabbar-h); padding: 4px; background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(32px) saturate(200%); -webkit-backdrop-filter: blur(32px) saturate(200%);
  border-radius: 100px; border: 1px solid var(--glass-border); box-shadow: var(--glass-specular), var(--shadow-float);
}
.tab-btn {
  flex: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; border-radius: 100px; color: var(--text-faint); transition: all 0.2s var(--ease);
}
.tab-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.9; }
.tab-btn span { font-size: 0.62rem; font-weight: 600; }
.tab-btn.active { background: rgba(0, 0, 0, 0.06); color: var(--text); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04); }
.tab-btn:active { transform: scale(0.92); }

/* =========================================================
   UNIVERSAL POPUP & MODAL
========================================================= */
.popup-backdrop {
  position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%);
  display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.popup-backdrop.open { opacity: 1; pointer-events: auto; }
.popup-box {
  width: 100%; max-width: 440px; max-height: 84vh; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(40px) saturate(200%); -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid var(--glass-border); border-radius: var(--r-xl);
  box-shadow: var(--glass-specular), var(--shadow-float); display: flex; flex-direction: column; overflow: hidden;
  transform: scale(0.94) translateY(14px); transition: transform 0.32s var(--ease-elastic);
}
.popup-backdrop.open .popup-box { transform: scale(1) translateY(0); }
.p-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--glass-border-subtle); }
.p-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.p-close { width: 30px; height: 30px; border-radius: 50%; background: rgba(0, 0, 0, 0.05); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.p-body { overflow-y: auto; padding: 20px; }
.p-media { width: 100%; border-radius: var(--r-md); overflow: hidden; margin-bottom: 16px; background: #000; }
.p-media img, .p-media video { width: 100%; max-height: 42vh; object-fit: contain; }
.p-title { font-family: var(--font-d); font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.p-desc { font-size: 0.88rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 18px; }
.p-actions { display: flex; flex-direction: column; gap: 8px; }

/* Swipeable subcards in popup */
.pop-swipe-wrap { margin: 4px -20px 14px -20px; position: relative; }
.pop-swipe-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 4px 20px 14px 20px; }
.pop-swipe-track::-webkit-scrollbar { display: none; }
.pop-subcard {
  flex: 0 0 78%; max-width: 260px; scroll-snap-align: center; background: #ffffff;
  border: 1px solid var(--glass-border-subtle); border-radius: var(--r-lg); padding: 16px 14px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; justify-content: space-between;
}
.pop-subcard.featured { border-color: rgba(0, 0, 0, 0.12); box-shadow: var(--shadow-md); background: radial-gradient(circle at top right, rgba(0,0,0,0.03), #ffffff); }
.pop-card-badge {
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 2px 7px; border-radius: 100px; background: rgba(0, 0, 0, 0.05); color: var(--text-dim);
  align-self: flex-start; margin-bottom: 6px;
}
.pop-card-badge.gold { background: var(--gold-gradient); color: #2a1b02; }
.pop-subcard h4 { font-family: var(--font-d); font-size: 1.05rem; font-weight: 700; margin-bottom: 2px; color: var(--text); }
.pop-card-price { font-family: var(--font-d); font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.pop-subcard ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; }
.pop-subcard li { font-size: 0.74rem; color: var(--text-dim); line-height: 1.35; display: flex; align-items: center; gap: 6px; }
.pop-subcard li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text); flex-shrink: 0; }
.pop-dots-bar { display: flex; justify-content: center; gap: 5px; margin-top: 2px; }
.pop-dots-bar .p-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(0, 0, 0, 0.15); transition: all 0.2s var(--ease); }
.pop-dots-bar .p-dot.active { width: 14px; border-radius: 8px; background: var(--accent); }
.pop-addon-pill {
  background: rgba(0, 0, 0, 0.03); border: 1px solid var(--glass-border-subtle); border-radius: var(--r-md);
  padding: 10px 12px; font-size: 0.76rem; color: var(--text-dim); line-height: 1.45; margin-bottom: 14px;
}
.pop-pricing { font-family: var(--font-d); font-size: 1.25rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.pop-sub { font-size: 0.84rem; color: var(--text-dim); line-height: 1.45; margin-bottom: 14px; }
.pop-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.pop-list li { font-size: 0.82rem; color: var(--text-dim); position: relative; padding-left: 16px; }
.pop-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--text); }

/* =========================================================
   BOTTOM DRAWER (RESUME & NARA)
========================================================= */
.sheet-backdrop {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.35); z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease; backdrop-filter: blur(10px);
}
.sheet-backdrop.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 91; max-height: 84vh;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(36px); border-radius: 28px 28px 0 0;
  border: 1px solid var(--glass-border); border-bottom: none; box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(100%); transition: transform 0.35s var(--ease); display: flex; flex-direction: column;
  padding-bottom: env(safe-area-inset-bottom);
}
.sheet.open { transform: translateY(0); }
.sheet-bar { width: 36px; height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.15); margin: 10px auto 4px; }
.sheet-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px 14px; border-bottom: 1px solid var(--glass-border-subtle); }
.sheet-body { overflow-y: auto; padding: 20px; }

#naraSheet .sheet-body { padding: 0; display: flex; flex-direction: column; height: 58vh; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.c-bubble-bot { background: rgba(0, 0, 0, 0.04); border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: 0.85rem; line-height: 1.45; max-width: 82%; }
.c-bubble-user { align-self: flex-end; background: var(--accent); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: 0.85rem; max-width: 82%; }
.c-input-row { display: flex; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--glass-border-subtle); background: #fff; }
.c-input-row input { flex: 1; padding: 0.7rem 1.1rem; border-radius: 100px; background: rgba(0, 0, 0, 0.04); border: none; font-size: 0.85rem; outline: none; }
.c-input-row button { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* =========================================================
   IMMERSIVE PHOTO LIGHTBOX (BLURRED BACKDROP + NEXT/PREV)
========================================================= */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(8, 8, 10, 0.88);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: calc(env(safe-area-inset-top) + 16px) 16px calc(env(safe-area-inset-bottom) + 20px);
}

.photo-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

/* Topbar */
.lightbox-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.lightbox-counter {
  font-family: var(--font-d);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.2s;
}

.lightbox-close:active {
  transform: scale(0.9);
}

/* Stage Area & Image Wrap */
.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.lightbox-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  user-select: none;
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

/* Next / Prev Floating Glass Buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background 0.2s;
}

.lightbox-nav:active {
  transform: translateY(-50%) scale(0.9);
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav.prev { left: 8px; }
.lightbox-nav.next { right: 8px; }

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}