:root {
  /* Palette — 60% Crisp Neutral, 30% Layered Surfaces, 10% Brand Accent */
  --momo-primary: #a50064;
  --momo-bright: #d82d8b;
  --momo-soft: rgba(165, 0, 100, 0.08);
  --momo-light: #fdf2f8;
  --momo-border: rgba(165, 0, 100, 0.22);

  --navy-dark: #0b1120;
  --navy-mid: #1e293b;
  --emerald: #047857;
  --emerald-light: #ecfdf5;

  --bg-page: #f7f8fa;
  --bg-surface: #ffffff;
  --bg-surface-muted: #f1f3f7;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --bg-glass-strong: rgba(255, 255, 255, 0.9);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  /* Hairline Borders */
  --border-hairline: rgba(15, 23, 42, 0.08);
  --border-hairline-strong: rgba(15, 23, 42, 0.14);
  --border-subtle: rgba(15, 23, 42, 0.08);

  /* Soft Layered Shadows (Apple / Linear Depth) */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-md:
    0 2px 4px rgba(15, 23, 42, 0.03),
    0 12px 28px -6px rgba(15, 23, 42, 0.08),
    0 24px 48px -12px rgba(165, 0, 100, 0.06);
  --shadow-lg:
    0 2px 6px rgba(15, 23, 42, 0.04),
    0 16px 36px -8px rgba(15, 23, 42, 0.1),
    0 32px 64px -16px rgba(15, 23, 42, 0.08);
  --shadow-accent:
    0 1px 2px rgba(165, 0, 100, 0.16),
    0 8px 20px -4px rgba(165, 0, 100, 0.28);
  --shadow-accent-hover:
    0 2px 6px rgba(165, 0, 100, 0.22),
    0 14px 28px -6px rgba(165, 0, 100, 0.36);

  /* Radii Scale */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  /* Motion & Easing System */
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-quint: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring-soft: cubic-bezier(0.34, 1.32, 0.64, 1);

  --dur-micro: 200ms;
  --dur-ui: 320ms;
  --dur-reveal: 620ms;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

/* Tabular numerals for financial accuracy & zero jitter */
.tabular-nums,
.stat-item strong,
.result-main-num,
.result-row strong,
.service-meta strong,
.range-labels,
.amount-input-wrap input,
table td,
.step-num {
  font-variant-numeric: tabular-nums;
}

/* Accessible focus rings */
:focus-visible {
  outline: 2px solid var(--momo-primary);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   Scroll Reveal & Entrance Choreography (GPU-Only)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity var(--dur-reveal) var(--ease-out-expo),
    transform var(--dur-reveal) var(--ease-out-expo);
  transition-delay: calc(var(--stagger, 0) * 75ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

/* Hero load-in choreography (never waits for scroll) */
.hero-anim {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  animation: heroEnter 680ms var(--ease-out-expo) forwards;
  animation-delay: calc(var(--hero-step, 0) * 85ms);
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* =========================================================
   Spotlight Interactive Card Surface
   ========================================================= */
.spotlight-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(165, 0, 100, 0.065),
    transparent 62%
  );
  opacity: 0;
  transition: opacity var(--dur-micro) var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card > * {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Header & Sticky Frosted Navbar
   ========================================================= */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border-hairline);
  transition:
    background-color var(--dur-ui) var(--ease-out-expo),
    box-shadow var(--dur-ui) var(--ease-out-expo),
    border-color var(--dur-ui) var(--ease-out-expo);
}

header.is-scrolled {
  background: var(--bg-glass-strong);
  border-bottom-color: var(--border-hairline-strong);
  box-shadow: 0 4px 24px -6px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--momo-primary) 0%, var(--momo-bright) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 12px -2px rgba(165, 0, 100, 0.32);
  transition: transform var(--dur-micro) var(--ease-out-expo);
}

.brand:hover .brand-badge {
  transform: scale(1.05);
}

.brand span em {
  font-style: normal;
  color: var(--momo-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--dur-micro) var(--ease-out-expo);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--momo-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms var(--ease-out-expo);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* =========================================================
   Buttons & Micro-Interactions (180ms–220ms)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  min-height: 42px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: inherit;
  transition:
    transform var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-micro) var(--ease-out-expo),
    background-color var(--dur-micro) var(--ease-out-expo),
    border-color var(--dur-micro) var(--ease-out-expo),
    color var(--dur-micro) var(--ease-out-expo);
}

.btn:active {
  transform: translate3d(0, 0, 0) scale(0.98);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--momo-primary) 0%, #c11b7a 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    var(--shadow-accent);
}

.btn-primary:hover {
  transform: translate3d(0, -1.5px, 0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    var(--shadow-accent-hover);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--navy-dark);
  border-color: var(--border-hairline-strong);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  transform: translate3d(0, -1.5px, 0);
  border-color: rgba(165, 0, 100, 0.35);
  color: var(--momo-primary);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mobile-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline-strong);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  color: var(--navy-dark);
  cursor: pointer;
  transition:
    background-color var(--dur-micro) var(--ease-out-expo),
    transform var(--dur-micro) var(--ease-out-expo);
}

.mobile-toggle:active {
  transform: scale(0.95);
}

/* =========================================================
   Hero Section — Layered Atmospheric Depth + Subtle Parallax
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.hero-ambient {
  position: absolute;
  inset: -10% -5%;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.55;
}

.hero-orb-1 {
  top: -120px;
  right: 4%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(216, 45, 139, 0.16) 0%, rgba(216, 45, 139, 0) 70%);
}

.hero-orb-2 {
  bottom: -160px;
  left: -6%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0) 70%);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 52px;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Clean editorial eyebrow (zero loud capsule clutter) */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--momo-primary);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.05rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 20px;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(120deg, var(--momo-primary) 0%, var(--momo-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--border-hairline);
}

.stat-item strong {
  display: block;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-dark);
  margin-bottom: 2px;
}

.stat-item span {
  font-size: 0.84rem;
  color: var(--text-subtle);
  font-weight: 500;
}

/* Hero Layered Frosted Card */
.hero-card {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
  transition:
    transform var(--dur-ui) var(--ease-out-expo),
    border-color var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-ui) var(--ease-out-expo);
}

.hero-card:hover {
  border-color: rgba(165, 0, 100, 0.22);
}

.hero-card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.hero-card h3 {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
  color: var(--navy-dark);
}

.hero-card-sub {
  font-size: 0.88rem;
  color: var(--text-subtle);
  margin-bottom: 22px;
}

/* Hairline-separated list (no nested boxed cards inside card) */
.quick-feature-list {
  list-style: none;
  display: grid;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-hairline);
}

.quick-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-hairline);
}

.quick-feature-list li strong {
  color: var(--navy-dark);
  font-weight: 600;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald-light);
  color: var(--emerald);
  display: inline-grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* =========================================================
   Sections General
   ========================================================= */
section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  color: var(--momo-primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.24;
  color: var(--navy-dark);
  margin-bottom: 14px;
  text-wrap: balance;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* =========================================================
   Segmented Filter Bar with Sliding Indicator + Bento Grid
   ========================================================= */
.filter-bar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 5px;
  border-radius: 14px;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-hairline);
}

.filter-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  border-radius: 10px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-hairline);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition:
    transform var(--dur-ui) var(--ease-out-expo),
    width var(--dur-ui) var(--ease-out-expo),
    opacity var(--dur-micro) var(--ease-out-expo);
  will-change: transform, width;
}

.filter-btn {
  position: relative;
  z-index: 1;
  padding: 9px 18px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--dur-micro) var(--ease-out-expo);
}

.filter-btn:hover {
  color: var(--navy-dark);
}

.filter-btn.active {
  color: var(--momo-primary);
}

/* Modern Asymmetric Bento Grid (6-column system) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  grid-column: span 2;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-ui) var(--ease-out-expo),
    border-color var(--dur-micro) var(--ease-out-expo),
    opacity 260ms var(--ease-out-expo);
}

/* Marquee featured cards span 3 columns each on Row 1 */
.services-grid:not(.is-filtered) .service-card.bento-wide {
  grid-column: span 3;
}

/* Combo card spans full width as a refined Bento banner on Row 3 */
.services-grid:not(.is-filtered) .service-card.bento-full {
  grid-column: span 6;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: center;
}

.services-grid:not(.is-filtered) .service-card.bento-full .bento-full-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.services-grid.is-filtered {
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.services-grid.is-filtered .service-card {
  grid-column: span 1;
}

.service-card:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: var(--shadow-md);
  border-color: var(--momo-border);
}

.service-card.featured {
  background: linear-gradient(180deg, #ffffff 0%, #fffafd 100%);
  border-color: rgba(165, 0, 100, 0.22);
}

.service-card.is-hidden {
  display: none;
}

.service-card.is-entering {
  animation: cardFadeIn 380ms var(--ease-out-expo) both;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.service-index {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.featured-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--momo-primary);
  letter-spacing: 0.01em;
}

.service-card h3 {
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--navy-dark);
}

.service-card p {
  font-size: 0.91rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.62;
}

.service-meta {
  list-style: none;
  border-top: 1px solid var(--border-hairline);
  padding-top: 14px;
  margin-bottom: 22px;
  display: grid;
  gap: 10px;
  font-size: 0.86rem;
}

.service-meta li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  color: var(--text-subtle);
}

.service-meta strong {
  color: var(--navy-dark);
  font-weight: 600;
  text-align: right;
}

/* =========================================================
   Interactive Fee Calculator (Layered Bento + Obsidian Panel)
   ========================================================= */
.calc-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.calc-box {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 28px;
  background: var(--bg-page);
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
}

.calc-controls {
  padding: 8px 4px;
}

/* Segmented Mode Switch with Smooth Sliding Background */
.mode-switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-hairline);
  padding: 5px;
  border-radius: 13px;
  margin-bottom: 26px;
}

.mode-slider-bg {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(50% - 7px);
  height: calc(100% - 10px);
  border-radius: 9px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-ui) var(--ease-out-expo);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.mode-switch[data-mode="card"] .mode-slider-bg {
  transform: translate3d(calc(100% + 4px), 0, 0);
}

.mode-btn {
  position: relative;
  z-index: 1;
  padding: 11px 14px;
  border: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.91rem;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--dur-micro) var(--ease-out-expo);
  font-family: inherit;
}

.mode-btn:hover {
  color: var(--navy-dark);
}

.mode-btn.active {
  color: var(--momo-primary);
}

.control-group {
  margin-bottom: 24px;
}

.control-group:last-child {
  margin-bottom: 0;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}

.control-header label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-dark);
}

.amount-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline-strong);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  box-shadow: var(--shadow-xs);
  transition:
    border-color var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-micro) var(--ease-out-expo);
}

.amount-input-wrap:focus-within {
  border-color: var(--momo-primary);
  box-shadow: 0 0 0 3px rgba(165, 0, 100, 0.12);
}

.amount-input-wrap input {
  border: none;
  outline: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--momo-primary);
  width: 138px;
  text-align: right;
  font-family: inherit;
  background: transparent;
}

.amount-input-wrap span {
  margin-left: 6px;
  font-weight: 700;
  color: var(--text-subtle);
  font-size: 0.84rem;
}

/* Custom Refined Range Input */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #dde2eb;
  cursor: pointer;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--momo-primary);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(165, 0, 100, 0.35);
  transition: transform var(--dur-micro) var(--ease-out-expo), box-shadow var(--dur-micro) var(--ease-out-expo);
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.14);
  box-shadow: 0 4px 12px rgba(165, 0, 100, 0.45);
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--momo-primary);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(165, 0, 100, 0.35);
  transition: transform var(--dur-micro) var(--ease-out-expo);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: 8px;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-hairline-strong);
  background: var(--bg-surface);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy-mid);
  cursor: pointer;
  font-family: inherit;
  transition:
    transform var(--dur-micro) var(--ease-out-expo),
    border-color var(--dur-micro) var(--ease-out-expo),
    color var(--dur-micro) var(--ease-out-expo),
    background-color var(--dur-micro) var(--ease-out-expo);
}

.chip-btn:hover {
  transform: translate3d(0, -1px, 0);
  border-color: var(--momo-primary);
  color: var(--momo-primary);
  background: #fff;
}

.chip-btn:active {
  transform: scale(0.97);
}

.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.radio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline-strong);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition:
    transform var(--dur-micro) var(--ease-out-expo),
    border-color var(--dur-micro) var(--ease-out-expo),
    background-color var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-micro) var(--ease-out-expo);
}

.radio-card:hover {
  border-color: rgba(165, 0, 100, 0.35);
  transform: translate3d(0, -1px, 0);
}

.radio-card.active {
  border-color: var(--momo-primary);
  background: rgba(253, 242, 248, 0.65);
  box-shadow: 0 0 0 1px var(--momo-primary);
}

.radio-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy-dark);
  margin-bottom: 3px;
}

.radio-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.45;
}

/* Calculator Obsidian Summary Panel */
.calc-result {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(216, 45, 139, 0.24) 0%, transparent 52%),
    linear-gradient(165deg, #0b1120 0%, #1a0b1d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-label {
  font-size: 0.84rem;
  color: rgba(226, 232, 240, 0.78);
  letter-spacing: 0.01em;
  margin-bottom: 6px;
}

.result-main-num {
  font-size: clamp(1.85rem, 2.6vw, 2.25rem);
  font-weight: 800;
  color: #f9a8d4;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  transition: transform 220ms var(--ease-out-expo), opacity 220ms var(--ease-out-expo);
}

.result-main-num.is-updating {
  opacity: 0.82;
  transform: translate3d(0, -2px, 0);
}

.result-rows {
  display: grid;
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.result-row span {
  color: rgba(203, 213, 225, 0.85);
}

.result-row strong {
  color: #fff;
  font-weight: 600;
  text-align: right;
  letter-spacing: 0.005em;
}

.ratio-bar-wrap {
  margin-bottom: 22px;
}

/* GPU-composited ratio bar using scaleX */
.ratio-bar {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(244, 114, 182, 0.85);
  overflow: hidden;
  margin-bottom: 10px;
}

.ratio-net {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  transform-origin: left center;
  transform: scaleX(0.935);
  transition: transform 360ms var(--ease-out-expo);
  will-change: transform;
}

.ratio-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.79rem;
  color: rgba(203, 213, 225, 0.85);
  letter-spacing: 0.01em;
}

/* =========================================================
   Fee Table (Hairline Precision & Tabular Numerals)
   ========================================================= */
.table-wrap {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

th, td {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-hairline);
}

th {
  background: var(--bg-page);
  color: var(--text-subtle);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

tbody tr {
  transition: background-color var(--dur-micro) var(--ease-out-expo);
}

tbody tr:hover {
  background-color: rgba(253, 242, 248, 0.45);
}

tr:last-child td {
  border-bottom: none;
}

/* Clean unboxed highlight text instead of loud capsule badges */
.badge-green {
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.86rem;
}

/* =========================================================
   Process 4 Steps — Layered Connected Timeline
   ========================================================= */
.process-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-page);
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  position: relative;
  transition:
    transform var(--dur-micro) var(--ease-out-expo),
    background-color var(--dur-micro) var(--ease-out-expo),
    border-color var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-ui) var(--ease-out-expo);
}

.step-card:hover {
  transform: translate3d(0, -3px, 0);
  background: var(--bg-surface);
  border-color: var(--momo-border);
  box-shadow: var(--shadow-md);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline-strong);
  color: var(--momo-primary);
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
}

.step-card h4 {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--navy-dark);
}

.step-card p {
  font-size: 0.89rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =========================================================
   Smooth Accordion FAQ & Registration Form
   ========================================================= */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.faq-heading {
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy-dark);
  margin-bottom: 24px;
  text-wrap: balance;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition:
    border-color var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-ui) var(--ease-out-expo);
}

.faq-item.open {
  border-color: var(--momo-border);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--navy-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: color var(--dur-micro) var(--ease-out-expo);
}

.faq-question:hover {
  color: var(--momo-primary);
}

.faq-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-subtle);
  transition:
    transform var(--dur-ui) var(--ease-out-expo),
    color var(--dur-micro) var(--ease-out-expo);
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
  color: var(--momo-primary);
}

/* Smooth Grid-Row Accordion Transition (No abrupt display jump) */
.faq-answer-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 340ms var(--ease-out-expo);
}

.faq-item.open .faq-answer-wrap {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 0 20px;
  opacity: 0;
  transform: translate3d(0, -6px, 0);
  transition:
    opacity 280ms var(--ease-out-expo),
    transform 320ms var(--ease-out-expo),
    padding-bottom 320ms var(--ease-out-expo);
}

.faq-item.open .faq-answer {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  padding-bottom: 18px;
}

/* Registration Form Card */
.form-card {
  background: var(--bg-surface);
  padding: 34px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--navy-dark);
}

.form-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--navy-dark);
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border-hairline-strong);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--navy-dark);
  background: var(--bg-surface);
  transition:
    border-color var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-micro) var(--ease-out-expo);
}

.form-control:focus {
  outline: none;
  border-color: var(--momo-primary);
  box-shadow: 0 0 0 3px rgba(165, 0, 100, 0.12);
}

.error-msg {
  color: #dc2626;
  font-size: 0.81rem;
  margin-top: 5px;
  display: none;
}

.success-banner {
  display: none;
  background: var(--emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: #065f46;
  padding: 18px;
  border-radius: var(--radius-md);
  margin-top: 18px;
  font-size: 0.9rem;
  animation: cardFadeIn 360ms var(--ease-out-expo) both;
}

.code-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(5, 150, 105, 0.45);
  margin-top: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* =========================================================
   Smooth Frosted Modal (GPU opacity + transform)
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 17, 32, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 200;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 280ms var(--ease-out-expo),
    visibility 280ms var(--ease-out-expo);
}

.modal-backdrop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface);
  max-width: 520px;
  width: 100%;
  border-radius: var(--radius-xl);
  padding: 32px;
  border: 1px solid var(--border-hairline);
  box-shadow: var(--shadow-lg);
  position: relative;
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.97);
  transition:
    transform 340ms var(--ease-out-expo),
    opacity 280ms var(--ease-out-expo);
  will-change: transform, opacity;
}

.modal-backdrop.show .modal-box {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-hairline);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  transition:
    background-color var(--dur-micro) var(--ease-out-expo),
    color var(--dur-micro) var(--ease-out-expo),
    transform var(--dur-micro) var(--ease-out-expo);
}

.modal-close:hover {
  background: var(--navy-dark);
  color: #fff;
  transform: rotate(90deg);
}

/* =========================================================
   Footer & Refined Floating Support
   ========================================================= */
footer {
  background: var(--navy-dark);
  color: rgba(203, 213, 225, 0.85);
  padding: 56px 0 32px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

footer p {
  line-height: 1.7;
  margin-bottom: 6px;
}

.footer-link {
  color: #f9a8d4;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(249, 168, 212, 0.35);
  transition: color var(--dur-micro) var(--ease-out-expo), border-color var(--dur-micro) var(--ease-out-expo);
}

.footer-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.form-alt-contact {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-alt-contact a {
  color: #1877f2;
  font-weight: 600;
  text-decoration: none;
  margin-left: 4px;
  transition: opacity var(--dur-micro) var(--ease-out-expo);
}

.form-alt-contact a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 22px;
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.65;
}

.floating-support {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.float-btn {
  padding: 11px 16px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  font-size: 0.86rem;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    transform var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-micro) var(--ease-out-expo);
}

.float-btn:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow: var(--shadow-lg);
}

.float-momo {
  background: rgba(165, 0, 100, 0.92);
}

.float-fb {
  background: rgba(24, 119, 242, 0.92);
}

.float-zalo {
  background: rgba(15, 23, 42, 0.9);
}

/* =========================================================
   Completed Receipts Gallery & Auto-Watermark Uploader
   ========================================================= */
.receipts-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.receipts-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.receipts-toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.receipt-filter-group {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--bg-page);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
}

.receipt-filter-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: color var(--dur-micro) var(--ease-out-expo),
    background-color var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-micro) var(--ease-out-expo);
}

.receipt-filter-btn:hover {
  color: var(--text-main);
}

.receipt-filter-btn.active {
  background: var(--bg-surface);
  color: var(--momo-primary);
  box-shadow: var(--shadow-xs);
}

.receipts-count {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.receipts-admin-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-user-label {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.83rem;
}

.receipt-status {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  border: 1px solid var(--border-hairline);
  background: var(--bg-page);
  color: var(--text-main);
}

.receipt-status.is-success {
  background: var(--emerald-light);
  border-color: rgba(4, 120, 87, 0.22);
  color: var(--emerald);
}

.receipt-status.is-error {
  background: #fef2f2;
  border-color: rgba(185, 28, 28, 0.22);
  color: #b91c1c;
}

.receipt-status.is-info {
  background: var(--momo-light);
  border-color: var(--momo-border);
  color: var(--momo-primary);
}

/* Smooth Grid-Row Collapsible Admin Upload Drawer */
.receipt-upload-drawer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
  transition: grid-template-rows 420ms var(--ease-out-expo),
    opacity 280ms var(--ease-out-expo),
    margin-bottom 360ms var(--ease-out-expo);
}

.receipt-upload-drawer.open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-bottom: 32px;
  pointer-events: auto;
}

.receipt-upload-drawer-inner {
  overflow: hidden;
}

.receipt-upload-card {
  background: var(--bg-page);
  border: 1px solid var(--border-hairline-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.receipt-upload-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.receipt-upload-head h3 {
  font-size: 1.08rem;
  color: var(--navy-dark);
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}

.receipt-upload-head p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.watermark-note {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--momo-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.receipt-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.receipt-form-grid .form-group {
  margin-bottom: 0;
}

.receipt-dropzone {
  border: 1.5px dashed var(--border-hairline-strong);
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur-micro) var(--ease-out-expo),
    background-color var(--dur-micro) var(--ease-out-expo),
    transform var(--dur-micro) var(--ease-out-expo);
}

.receipt-dropzone:hover,
.receipt-dropzone:focus-visible,
.receipt-dropzone.is-dragover {
  border-color: var(--momo-primary);
  background: var(--momo-light);
  outline: none;
}

.receipt-dropzone.is-dragover {
  transform: scale(0.995);
}

.dropzone-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--momo-soft);
  color: var(--momo-primary);
  font-size: 1.15rem;
  font-weight: 700;
}

.dropzone-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.dropzone-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pending-preview-wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
}

.pending-preview-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 14px;
}

.pending-preview-head strong {
  font-size: 0.9rem;
  color: var(--navy-dark);
}

.pending-preview-head span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pending-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.pending-preview-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pending-preview-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-select: none;
}

.pending-preview-actions {
  display: flex;
  gap: 6px;
  padding: 8px;
  justify-content: space-between;
  border-top: 1px solid var(--border-hairline);
}

.pending-preview-actions .chip-btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
  padding: 5px 8px;
  font-size: 0.78rem;
}

.pending-preview-footer {
  display: flex;
  justify-content: flex-end;
}

/* Public Receipts Gallery Grid (Compact Thumbnails) */
.receipts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 196px));
  gap: 14px;
}

.receipt-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: zoom-in;
  box-shadow: var(--shadow-xs);
  animation: cardFadeIn 420ms var(--ease-out-expo) both;
  transition: transform var(--dur-micro) var(--ease-out-expo),
    box-shadow var(--dur-ui) var(--ease-out-expo),
    border-color var(--dur-micro) var(--ease-out-expo);
}

.receipt-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hairline-strong);
  box-shadow: var(--shadow-md);
}

.receipt-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-page);
  overflow: hidden;
  cursor: zoom-in;
  border-bottom: 1px solid var(--border-hairline);
}

.receipt-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 420ms var(--ease-out-expo);
}

.receipt-card:hover .receipt-media img {
  transform: scale(1.04);
}

.receipt-zoom-hint {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 7px;
  background: rgba(11, 17, 32, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--dur-micro) var(--ease-out-expo),
    transform var(--dur-micro) var(--ease-out-expo);
  pointer-events: none;
}

.receipt-card:hover .receipt-zoom-hint,
.receipt-media:focus-visible .receipt-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.receipt-body {
  padding: 10px 12px 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.receipt-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 0.7rem;
  color: var(--text-subtle);
  font-weight: 500;
}

.receipt-meta strong {
  color: var(--momo-primary);
  font-weight: 700;
}

.receipt-body h4 {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--navy-dark);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.receipt-foot {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.7rem;
  color: var(--text-subtle);
  border-top: 1px solid var(--border-hairline);
}

.receipt-del-btn {
  border: 1px solid rgba(185, 28, 28, 0.25);
  background: #fef2f2;
  color: #b91c1c;
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--dur-micro) var(--ease-out-expo),
    color var(--dur-micro) var(--ease-out-expo);
}

.receipt-del-btn:hover {
  background: #b91c1c;
  color: #ffffff;
}

.receipt-del-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.receipts-pagination {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.receipts-pagination button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.receipt-page-info {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 96px;
  text-align: center;
}

.receipts-empty {
  text-align: center;
  padding: 44px 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-hairline-strong);
  background: var(--bg-page);
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Lightbox Modal */
.receipt-lightbox .lightbox-box {
  position: relative;
  width: min(94vw, 720px);
  max-height: 92vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline-strong);
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(12px) scale(0.96);
  transition: transform 320ms var(--ease-out-expo);
}

.receipt-lightbox.show .lightbox-box {
  transform: translateY(0) scale(1);
}

.lightbox-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--navy-dark);
  display: grid;
  place-items: center;
  max-height: 76vh;
}

.lightbox-media img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(11, 17, 32, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background-color var(--dur-micro) var(--ease-out-expo),
    opacity var(--dur-micro) var(--ease-out-expo);
}

.lightbox-nav:hover:not(:disabled) {
  background: rgba(165, 0, 100, 0.9);
}

.lightbox-nav:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-caption h4 {
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 3px;
}

.lightbox-caption p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* =========================================================
   Responsive Breakpoints
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid,
  .calc-box,
  .bottom-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .services-grid:not(.is-filtered) {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid:not(.is-filtered) .service-card,
  .services-grid:not(.is-filtered) .service-card.bento-wide,
  .services-grid:not(.is-filtered) .service-card.bento-full {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .receipts-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 180px));
    gap: 12px;
  }

  .receipt-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  section {
    padding: 60px 0;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .container {
    padding: 0 18px;
  }

  .nav-wrap {
    height: 62px;
  }

  .nav-links,
  .nav-actions .btn-outline {
    display: none;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 18px 20px 22px;
    border-bottom: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-md);
    animation: cardFadeIn 240ms var(--ease-out-expo) both;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-item strong {
    font-size: 1.15rem;
  }

  .services-grid,
  .services-grid:not(.is-filtered),
  .steps-grid,
  .radio-cards {
    grid-template-columns: 1fr;
  }

  .receipts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .receipt-upload-card {
    padding: 18px;
  }

  .receipts-toolbar {
    align-items: flex-start;
  }

  .calc-box,
  .form-card,
  .hero-card {
    padding: 22px;
  }

  .control-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .amount-input-wrap {
    width: 100%;
    justify-content: space-between;
  }

  .amount-input-wrap input {
    width: 100%;
    text-align: left;
  }

  /* Compact single-row floating action bar on mobile (respects 15% sticky height cap) */
  .floating-support {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
  }

  .float-btn {
    flex: 1;
    padding: 10px 10px;
    font-size: 0.76rem;
  }

  /* Disable heavy desktop hover effects on mobile touch */
  .spotlight-card::before {
    display: none;
  }

  .hero-orb {
    filter: blur(48px);
    opacity: 0.35;
  }
}

/* Disable hover-only spotlight on touch devices */
@media (hover: none) {
  .spotlight-card::before {
    display: none;
  }
}

/* Temporarily hide & lock phone number / call buttons until correct number is provided */
.phone-temp-locked {
  display: none !important;
  pointer-events: none !important;
  user-select: none !important;
}

/* =========================================================
   SEO Sub-Pages, Breadcrumbs, Footer Navigation & 404
   ========================================================= */
.footer-seo-links {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

.footer-seo-links a {
  color: rgba(248, 250, 252, 0.78);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: color var(--dur-micro) var(--ease-out-expo);
}

.footer-seo-links a:hover {
  color: #f9a8d4;
}

.seo-page-hero {
  padding: 46px 0 38px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-page) 100%);
  border-bottom: 1px solid var(--border-hairline);
}

.seo-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-subtle);
  margin-bottom: 16px;
}

.seo-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
}

.seo-breadcrumb a:hover {
  color: var(--momo-primary);
}

.seo-page-hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--navy-dark);
  margin-bottom: 14px;
  max-width: 820px;
}

.seo-page-hero h1 span {
  color: var(--momo-primary);
}

.seo-page-lead {
  font-size: 1.02rem;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 780px;
}

.seo-meta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.seo-content-section {
  padding: 56px 0 72px;
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.seo-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-xs);
}

.seo-article h2 {
  font-size: 1.32rem;
  color: var(--navy-dark);
  letter-spacing: -0.02em;
  margin: 28px 0 12px;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  font-size: 1.04rem;
  color: var(--navy-dark);
  margin: 20px 0 8px;
}

.seo-article p {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.seo-article ul,
.seo-article ol {
  padding-left: 20px;
  margin-bottom: 16px;
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.seo-article strong {
  color: var(--navy-dark);
}

.seo-article a {
  color: var(--momo-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border-hairline-strong);
  border-left: 3px solid var(--momo-primary);
}

.seo-callout strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy-dark);
  font-size: 0.92rem;
}

.seo-callout p {
  margin-bottom: 0;
  font-size: 0.89rem;
}

.seo-sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 88px;
}

.seo-side-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.seo-side-card h3 {
  font-size: 1rem;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.seo-side-card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.seo-side-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.seo-side-links a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
  background: var(--bg-page);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: border-color var(--dur-micro) var(--ease-out-expo),
    color var(--dur-micro) var(--ease-out-expo);
}

.seo-side-links a:hover,
.seo-side-links a.is-current {
  border-color: var(--momo-border);
  color: var(--momo-primary);
  background: var(--momo-light);
}

.seo-cta-stack {
  display: grid;
  gap: 10px;
}

.seo-cta-stack .btn {
  width: 100%;
  text-align: center;
}

.seo-404-wrap {
  padding: 96px 0;
  text-align: center;
}

.seo-404-wrap h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy-dark);
  margin-bottom: 12px;
}

.seo-404-wrap p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.inline-seo-link {
  color: var(--momo-pink, #a50064);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-seo-link:hover {
  opacity: 0.82;
}

.service-card-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.service-card-actions .btn {
  width: 100%;
}

.service-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--momo-pink, #a50064);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service-detail-link:hover {
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-more-link {
  margin-top: 16px;
}

.faq-more-link .service-detail-link {
  justify-content: flex-start;
}

.nav-links a.is-active {
  color: var(--momo-pink, #a50064);
  font-weight: 700;
}

.seo-related-box {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline, #e2e8f0);
}

.seo-related-box h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
  color: var(--navy-dark, #0f172a);
}

.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.seo-related-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border-hairline, #e2e8f0);
  background: var(--bg-page, #f8fafc);
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.seo-related-card:hover {
  border-color: var(--momo-pink, #a50064);
  transform: translateY(-2px);
}

.seo-related-card strong {
  font-size: 0.92rem;
  color: var(--navy-dark, #0f172a);
}

.seo-related-card span {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted, #475569);
}

@media (max-width: 960px) {
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .seo-sidebar {
    position: static;
  }

  .seo-article {
    padding: 24px 20px;
  }

  .seo-related-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Respect prefers-reduced-motion Strictly
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero-anim {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-ambient,
  .hero-card {
    transform: none !important;
  }
}
