/* ============================================
   MAWKOST — Design System & Global Styles
   Palette derived from mawkost paw logo
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  /* Brand Colors — from logo */
  --primary: #8B5E3C;
  --primary-light: #DEB8A0;
  --primary-lighter: #F5E6DB;
  --primary-dark: #5C3D2E;
  --primary-rgb: 139, 94, 60;

  /* CTA */
  --cta: #E8734A;
  --cta-hover: #D4622E;
  --cta-rgb: 232, 115, 74;

  /* Neutrals */
  --bg: #FFF9F5;
  --surface: #FFFFFF;
  --text: #3D2B1F;
  --text-muted: #8C7A6E;
  --text-light: #B09A8D;
  --border: #E8DDD5;
  --border-light: #F0E8E1;

  /* Semantic */
  --danger: #DC3545;
  --success: #28A745;
  --warning: #FFC107;
  --info: #17A2B8;

  /* Layout */
  --max-w: 1280px;
  --nav-h: 72px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(92, 61, 46, .06);
  --shadow: 0 4px 12px rgba(92, 61, 46, .08);
  --shadow-md: 0 8px 24px rgba(92, 61, 46, .1);
  --shadow-lg: 0 16px 48px rgba(92, 61, 46, .12);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(232, 221, 213, 0.5);
  --glass-blur: blur(16px);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: 200ms;
  --dur-md: 300ms;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--cta);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1.4;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-cta {
  background: var(--cta);
  color: #fff;
  border-color: var(--cta);
}

.btn-cta:hover {
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(var(--cta-rgb), .3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: none;
  padding: 8px 16px;
}

.btn-ghost:hover {
  background: var(--primary-lighter);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: .85rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Cards (Glass) ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  transition: all var(--dur-md) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: .02em;
}

.badge-primary {
  background: var(--primary-lighter);
  color: var(--primary-dark);
}

.badge-cta {
  background: rgba(var(--cta-rgb), .12);
  color: var(--cta-hover);
}

.badge-success {
  background: #28a745;
  color: #ffffff;
}

.badge-unavailable {
  background: #6c757d;
  color: #ffffff;
}

.badge-putra,
.badge-putri,
.badge-campur {
  background: #e8734a;
  color: #ffffff;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all var(--dur-md) var(--ease);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary-dark);
}

.nav-brand img {
  width: 36px;
  height: 36px;
}

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

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text);
  font-size: .95rem;
  padding: 8px 0;
  position: relative;
  transition: color var(--dur) var(--ease);
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--dur) var(--ease);
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
  width: 100%;
}

.nav-links a.active:not(.btn) {
  color: var(--primary);
  font-weight: 600;
}

.btn.nav-cta {
  padding: 10px 24px;
  margin-left: 12px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-full);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(92, 61, 46, 0.15);
  letter-spacing: 0.02em;
}

.btn.nav-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(139, 94, 60, 0.3);
  transform: translateY(-2px);
  color: #fff;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-text h1 {
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.hero-text h1 span {
  color: var(--cta);
}

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

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Search Component */
.hero-search-container {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: 32px;
  overflow: hidden;
}

.search-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid var(--border-light);
}

.search-tab {
  flex: 1;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  border-bottom: 2px solid transparent;
}

.search-tab:hover {
  background: rgba(255, 255, 255, 0.6);
  color: var(--primary);
}

.search-tab.active {
  color: var(--primary-dark);
  background: var(--surface);
  border-bottom: 2px solid var(--cta);
}

.hero-search {
  padding: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-search .search-group {
  flex: 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  padding: 8px 16px;
  border-right: 1px solid var(--border-light);
}

.hero-search .search-group:last-of-type {
  border-right: none;
}

.hero-search .search-group label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.hero-search .search-group select,
.hero-search .search-group input {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-dark);
  width: 100%;
  cursor: pointer;
  padding: 0;
}

.hero-search .search-group select:focus,
.hero-search .search-group input:focus {
  color: var(--primary);
}

.hero-search .btn-search {
  width: 100%;
  padding: 16px 32px;
  border-radius: var(--radius);
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.hero-stat span {
  font-size: .85rem;
  color: var(--text-muted);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: var(--primary-lighter);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: .5;
}

/* Floating badge on hero image */
.hero-float-badge {
  position: absolute;
  top: 24px;
  left: -30px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatBadge1 4s ease-in-out infinite;
}

@keyframes floatBadge1 {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

@keyframes floatBadge2 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  40% {
    transform: translate(5px, -8px) rotate(1.5deg);
  }

  80% {
    transform: translate(-3px, 2px) rotate(-0.5deg);
  }
}

@keyframes floatBadge3 {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  30% {
    transform: translate(-6px, -5px) rotate(-1deg);
  }

  70% {
    transform: translate(4px, -10px) rotate(1deg);
  }
}

.hero-float-badge svg {
  width: 28px;
  height: 28px;
  color: var(--cta);
}

.hero-float-badge--top {
  top: auto;
  bottom: 32px;
  left: -36px;
  right: auto;
  animation: floatBadge2 5s ease-in-out 0.7s infinite;
}

.hero-float-badge--right {
  top: 50%;
  right: -44px;
  bottom: auto;
  left: auto;
  transform: translateY(-50%);
  animation: floatBadge3 4.5s ease-in-out 1.3s infinite;
}

.hero-float-badge .count {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.hero-float-badge .label {
  font-size: .8rem;
  color: var(--text-muted);
}

/* Decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .3;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-light);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: var(--cta);
  bottom: -50px;
  left: -80px;
  opacity: .15;
}

/* ---------- City Cards ---------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.city-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  text-decoration: none;
}

.city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.city-card:hover img {
  transform: scale(1.08);
}

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, .1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}

.city-card-overlay h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.city-card-overlay p {
  font-size: .9rem;
  opacity: .85;
}

/* ---------- Listing Grid ---------- */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.listing-card {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.listing-card .card-img {
  height: 200px;
  position: relative;
}

.listing-card .card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 6px;
}

.listing-card .listing-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-dark);
}

.listing-card .listing-price span {
  font-weight: 400;
  font-size: .85rem;
  color: var(--text-muted);
}

.listing-card .listing-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 8px;
  color: var(--text);
}

.listing-card .listing-area {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: .88rem;
  color: var(--text-muted);
}

.listing-card .listing-area svg {
  width: 14px;
  height: 14px;
  color: var(--cta);
  flex-shrink: 0;
}

.listing-card .listing-facilities {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.listing-card .facility-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  color: var(--text-muted);
}

.listing-card .facility-item svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* ---------- How It Works (Premium) ---------- */
.steps-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(var(--primary-rgb), .04) 0%, transparent 70%);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--primary-lighter);
  color: var(--primary-dark);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .03em;
  margin-bottom: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
}

.step-card {
  position: relative;
  display: flex;
  align-items: center;
}

.step-card-inner {
  text-align: center;
  padding: 36px 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  position: relative;
  flex: 1;
  min-width: 0;
  transition: transform var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease);
}

.step-card-inner:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Step badge (Langkah N) */
.step-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: var(--primary-dark);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(92, 61, 46, .2);
}

.step-badge--success {
  background: var(--success);
  box-shadow: 0 2px 8px rgba(40, 167, 69, .25);
}

/* Icon wrap — icon + floating number */
.step-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 20px;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary-lighter), var(--primary-light));
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), .15);
  transition: transform var(--dur-md) var(--ease), box-shadow var(--dur-md) var(--ease);
}

.step-card-inner:hover .step-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), .25);
}

.step-icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary-dark);
}

.step-icon--accent {
  background: linear-gradient(145deg, rgba(var(--cta-rgb), .15), rgba(var(--cta-rgb), .3));
  box-shadow: 0 4px 16px rgba(var(--cta-rgb), .12);
}

.step-icon--accent svg {
  color: var(--cta-hover);
}

.step-icon--success {
  background: linear-gradient(145deg, rgba(40, 167, 69, .1), rgba(40, 167, 69, .22));
  box-shadow: 0 4px 16px rgba(40, 167, 69, .12);
}

.step-icon--success svg {
  color: #1e7e34;
}

/* Floating step number */
.step-number {
  position: absolute;
  bottom: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  box-shadow: 0 2px 8px rgba(92, 61, 46, .25);
  border: 2px solid var(--surface);
}

.step-number--accent {
  background: var(--cta);
  box-shadow: 0 2px 8px rgba(var(--cta-rgb), .3);
}

.step-number--success {
  background: var(--success);
  box-shadow: 0 2px 8px rgba(40, 167, 69, .3);
}

/* Card headings + text */
.step-card-inner h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.step-card-inner p {
  font-size: .92rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}

/* Step tags (Aman & Terproteksi, etc.) */
.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(var(--cta-rgb), .08);
  color: var(--cta-hover);
  font-size: .78rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
}

.step-tag svg {
  flex-shrink: 0;
}

.step-tag--success {
  background: rgba(40, 167, 69, .08);
  color: #1e7e34;
}

/* Connector arrow between steps */
.step-connector {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.step-connector svg {
  width: 100%;
  height: 24px;
}

/* Animate the dashed line */
@keyframes dashFlow {
  to {
    stroke-dashoffset: -20;
  }
}

.connector-dash {
  animation: dashFlow 1.2s linear infinite;
}

.step-card:last-child .step-connector {
  display: none;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.testimonial-card .stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-card .stars svg {
  width: 16px;
  height: 16px;
  color: #FBBF24;
  fill: #FBBF24;
}

.testimonial-card p {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: .85rem;
}

.testimonial-info strong {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .9rem;
}

.testimonial-info span {
  display: block;
  font-size: .8rem;
  color: var(--text-muted);
}

/* ---------- Blur Section (Detail Page) ---------- */
.blur-section {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--cta);
  background: linear-gradient(135deg, rgba(var(--cta-rgb), .05), rgba(var(--primary-rgb), .05));
}

.blur-content {
  padding: 28px;
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.blur-content p {
  color: var(--text-muted);
  margin-bottom: 8px;
}

.blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 249, 245, .6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.blur-overlay .lock-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(var(--cta-rgb), .3);
  flex-shrink: 0;
}

.blur-overlay .lock-icon svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.blur-overlay h4 {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.blur-overlay .blur-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cta);
}

.blur-overlay .social-proof {
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.blur-overlay .social-proof svg {
  width: 14px;
  height: 14px;
  color: var(--success);
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.filter-group select,
.filter-group input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  transition: border-color var(--dur) var(--ease);
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1);
}

/* ---------- Detail Page — Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 8px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 420px;
}

.gallery-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-side {
  display: grid;
  gap: 8px;
}

.gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Detail Info Grid ---------- */
.kost-title {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  margin-bottom: 8px;
}

.kost-price {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.kost-price span {
  font-size: clamp(0.85rem, 3vw, 1rem);
  font-weight: 500;
}

.info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-top: 32px;
}

.info-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-block {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.info-block h3 {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-block h3 svg {
  width: 20px;
  height: 20px;
  color: var(--cta);
}

/* Building stats */
.building-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--primary-lighter);
  border-radius: var(--radius);
}

.stat-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

.stat-item .stat-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary-dark);
}

.stat-item .stat-label {
  font-size: .8rem;
  color: var(--text-muted);
}

/* Facilities */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.facility-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--text);
}

.facility-tag svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Strategic Location */
.location-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: .92rem;
  color: var(--text);
}

.location-list li svg {
  width: 16px;
  height: 16px;
  color: var(--cta);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  margin-top: 32px;
}

.checkout-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
}

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

.form-group label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--danger);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: 1rem;
  transition: all var(--dur) var(--ease);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12);
  background: var(--surface);
}

.form-control::placeholder {
  color: var(--text-light);
}

/* Payment methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.payment-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.payment-method svg {
  width: 28px;
  height: 28px;
}

.payment-method:hover,
.payment-method.active {
  border-color: var(--primary);
  background: var(--primary-lighter);
  color: var(--primary-dark);
}

/* Order Summary */
.order-summary {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.order-summary h3 {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.order-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

.order-item img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.order-item-info h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.order-item-info p {
  font-size: .82rem;
  color: var(--text-muted);
}

.order-divider {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 16px 0;
}

.order-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: .92rem;
}

.order-row.total {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
  padding-top: 12px;
  border-top: 2px solid var(--border);
  margin-top: 12px;
}

/* ---------- Success Page ---------- */
.success-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 24px 60px;
}

.success-card {
  max-width: 560px;
  width: 100%;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #28A745, #20c997);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: successPop .5s var(--ease) both;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  60% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-checkmark svg {
  width: 36px;
  height: 36px;
  color: #fff;
  animation: checkDraw .4s .3s var(--ease) both;
}

@keyframes checkDraw {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.success-card h2 {
  margin-bottom: 12px;
  color: #28A745;
}

.success-card>p {
  color: var(--text-muted);
  margin-bottom: 32px;
}

.success-info {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 20px;
  text-align: left;
  margin-bottom: 28px;
}

.success-info h4 {
  margin-bottom: 12px;
  font-size: .95rem;
}

.success-info .info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: .9rem;
  border-bottom: 1px solid var(--border-light);
}

.success-info .info-row:last-child {
  border-bottom: none;
}

.success-info .info-row .label {
  color: var(--text-muted);
}

.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 12px;
  height: 460px;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease), filter .4s var(--ease);
}

.gallery-main {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.gallery-main:hover img {
  transform: scale(1.03);
}

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 100%;
  min-height: 0;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 0;
}

.gallery-thumb:first-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.gallery-thumb:last-child {
  border-radius: 0 0 var(--radius-lg) 0;
}

.gallery-thumb:hover img {
  transform: scale(1.05);
}

.gallery-more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  transition: background .3s var(--ease);
}

.gallery-more-overlay i {
  font-size: 1.6rem;
}

.gallery-more:hover .gallery-more-overlay {
  background: rgba(0, 0, 0, 0.6);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  animation: lightboxZoomIn .3s var(--ease);
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, .3);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, .3);
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .05em;
}


/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .8);
  padding: 60px 0 24px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-brand span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.footer-desc {
  font-size: .9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  transition: color var(--dur) var(--ease);
}

.footer ul a:hover {
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
}

.footer-social a:hover {
  background: var(--cta);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(var(--nav-h) + 24px) 0 16px;
  font-size: .88rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb .sep {
  color: var(--text-light);
}

.breadcrumb .current {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lighter);
}

.pagination .active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: 300px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-search {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .hero-search .search-group {
    min-width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 8px 4px;
  }

  .hero-search .search-group:nth-child(even),
  .hero-search .search-group:nth-child(odd) {
    border-right: none;
  }

  .hero-search .search-group:last-of-type {
    border-bottom: none;
  }

  .hero-search .btn-search {
    margin-top: 8px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-float-badge {
    left: 16px;
    top: 16px;
  }

  .hero-float-badge--top {
    left: 16px;
    bottom: 16px;
    top: auto;
  }

  .hero-float-badge--right {
    right: 16px;
    bottom: 16px;
    top: auto;
    left: auto;
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 249, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 16px;
    gap: 8px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open a {
    width: 100%;
    text-align: center;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
    margin-top: 8px;
  }

  .city-grid {
    grid-template-columns: 1fr;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    height: auto;
  }

  .gallery-main {
    height: 280px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .gallery-side {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    height: 160px;
  }

  .gallery-thumb:first-child {
    border-radius: 0 0 0 var(--radius-lg);
  }

  .gallery-thumb:last-child {
    border-radius: 0 0 var(--radius-lg) 0;
  }

  .building-stats {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .info-block {
    padding: 16px;
  }

  .blur-content {
    padding: 16px;
  }

  .blur-overlay {
    padding: 16px;
  }

  .blur-overlay h4 {
    font-size: 1rem;
  }

  .blur-overlay .blur-price {
    font-size: 1.25rem;
  }

  .blur-overlay .lock-icon {
    width: 40px;
    height: 40px;
  }

  .blur-overlay .lock-icon svg {
    width: 18px;
    height: 18px;
  }

  .listing-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-float-badge {
    padding: 8px 12px;
    gap: 8px;
    left: 12px;
    top: 12px;
  }

  .hero-float-badge--top {
    left: 12px;
    bottom: 12px;
    top: auto;
  }

  .hero-float-badge--right {
    right: 12px;
    bottom: 12px;
    top: auto;
    left: auto;
    transform: none;
  }

  .hero-float-badge svg {
    width: 20px;
    height: 20px;
  }

  .hero-float-badge .count {
    font-size: .95rem;
  }

  .hero-float-badge .label {
    font-size: .7rem;
  }

  .filter-bar {
    flex-direction: column;
  }

  .hero-search {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
  }

  .hero-search .search-group {
    border-right: none !important;
    border-bottom: 1px solid var(--border-light);
    padding: 8px 4px;
    min-width: unset;
  }

  .hero-search .search-group:last-of-type {
    border-bottom: none;
    margin-bottom: 8px;
  }


  .filter-group {
    min-width: 100%;
  }

  .building-stats {
    grid-template-columns: 1fr;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }
}

/* ---------- Xendit style Checkout ---------- */
.xendit-checkout-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 16px;
}

.xendit-card {
  width: 100%;
  max-width: 480px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.xendit-header {
  background: #fff;
  padding: 32px 32px 24px;
  border-bottom: 2px dashed var(--border-light);
  text-align: center;
}

.xendit-merchant {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-dark);
}

.xendit-merchant img {
  width: 40px;
  height: 40px;
}

.xendit-amount-box p {
  font-size: .95rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.xendit-amount-box h2 {
  font-size: 2.25rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.xendit-order-id {
  font-size: .85rem;
  color: var(--text-muted);
  background: #F4F7F9;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-block;
  letter-spacing: .05em;
}

.xendit-body {
  padding: 32px;
  background: #F9FBFC;
}

.xendit-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  border-left: 3px solid var(--cta);
  padding-left: 12px;
}

.xendit-input {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: all var(--dur) var(--ease);
}

.xendit-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.xendit-payment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xendit-payment-option {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.xendit-payment-option:hover {
  border-color: var(--primary);
  background: #FFF9F5;
}

.xendit-payment-option.active {
  border-color: var(--primary-dark);
  background: #FFF9F5;
  box-shadow: 0 2px 8px rgba(92, 61, 46, 0.08);
}

.xendit-payment-icon {
  width: 40px;
  height: 40px;
  background: #F4F7F9;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  margin-right: 16px;
}

.xendit-payment-icon svg {
  width: 20px;
  height: 20px;
}

.xendit-payment-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.xendit-payment-name {
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
}

.xendit-payment-desc {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.xendit-radio-circle {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  position: relative;
}

.xendit-payment-option.active .xendit-radio-circle {
  border-color: var(--primary-dark);
}

.xendit-payment-option.active .xendit-radio-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--primary-dark);
  border-radius: 50%;
}

.xendit-btn-pay {
  background: var(--cta);
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px;
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}

.xendit-btn-pay:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 115, 74, 0.3);
}

.xendit-footer {
  background: #fff;
  padding: 16px;
  text-align: center;
  font-size: .85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--border-light);
}

/* ---------- Steps Responsive ---------- */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-card {
    flex-direction: column;
  }

  .step-connector {
    display: none;
  }

  .step-card-inner {
    padding: 32px 20px 28px;
  }
}

/* ---------- Layanan Kami ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--dur-md) var(--ease);
  border: 1px solid var(--border-light);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cta);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-lighter);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

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

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Premium Dual Range Slider ---------- */
.multi-range {
  position: relative;
  width: 100%;
  height: 46px;
  display: flex;
  align-items: center;
}

.multi-range input[type=range] {
  position: absolute;
  width: 100%;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  outline: none;
  height: 8px;
  margin: 0;
  z-index: 2;
}

.multi-range input[type=range]::-webkit-slider-thumb {
  pointer-events: all;
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cta);
  cursor: grab;
  box-shadow: 0 2px 4px rgba(232, 115, 74, 0.4);
  border: 3px solid #fff;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.multi-range input[type=range]::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(232, 115, 74, 0.5);
}

.price-range-wrapper {
  flex: 1.5;
  min-width: 180px;
}

.range-label {
  display: block;
}

.range-tooltip {
  position: absolute;
  bottom: -16px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s var(--ease);
  pointer-events: none;
  z-index: 3;
}

.range-tooltip::after {
  content: '';
  position: absolute;
  top: -4px;
  left: var(--pseudo-left, 50%);
  transform: translateX(-50%);
  border-width: 0 4px 4px;
  border-style: solid;
  border-color: transparent transparent var(--primary-dark) transparent;
}

.multi-range:hover .range-tooltip {
  opacity: 1;
}