:root {
  --bg: #faf8f5;
  --bg-soft: #f3eee7;
  --surface: #ffffff;
  --ink: #191817;
  --ink-secondary: #57534e;
  --ink-muted: #8a847c;
  --accent: #d97757;
  --accent-hover: #c46243;
  --accent-soft: rgba(217, 119, 87, 0.12);
  --zalo: #0068ff;
  --zalo-soft: rgba(0, 104, 255, 0.1);
  --border: #e6dfd5;
  --border-strong: #d4cabb;
  --success: #1f7a4c;
  --success-bg: #eaf6f0;
  --danger: #c93b2b;
  --shadow-sm: 0 2px 8px rgba(25, 24, 23, 0.04);
  --shadow-md: 0 12px 32px rgba(25, 24, 23, 0.07);
  --shadow-lg: 0 20px 48px rgba(25, 24, 23, 0.1);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(217, 119, 87, 0.09), transparent 36%),
    radial-gradient(circle at 88% 16%, rgba(0, 104, 255, 0.05), transparent 32%);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Lang Switcher */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(250, 248, 245, 0.86);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d97757 0%, #bf5b3b 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(217, 119, 87, 0.3);
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.lang-btn:hover {
  color: var(--ink);
}

.lang-btn.active {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Main Hero + Two Column Layout */
.hero-section {
  padding: 44px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: start;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-soft);
  color: #b55335;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--ink);
}

.hero-title .highlight {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  margin-bottom: 22px;
  max-width: 540px;
}

.reward-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, #1f1d1b 0%, #332e2a 100%);
  color: #ffffff;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}

.reward-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffb088;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.reward-label {
  font-size: 0.82rem;
  color: #d6cfc7;
  margin-bottom: 2px;
}

.reward-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.reward-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 600;
  color: #f7f3ee;
  white-space: nowrap;
}

.req-notice {
  background: #fff8f3;
  border: 1.5px solid #f3c6b1;
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: #8c3b1f;
  line-height: 1.5;
}

.req-notice strong {
  font-weight: 700;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.feature-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--bg-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.feature-item h3 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

/* Redesigned 1-2-3-4 Process Timeline Cards */
.process-box {
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--border);
}

.process-title {
  font-size: 1.08rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
}

.process-pill {
  background: var(--accent-soft);
  color: #b54d2e;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.step-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: start;
  background: #ffffff;
  border: 1.5px solid #e7dfd4;
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 3px 10px rgba(25, 24, 23, 0.04);
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.step-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(217, 119, 87, 0.12);
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, #d97757 0%, #b84f2f 100%);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(217, 119, 87, 0.28);
  flex-shrink: 0;
}

.step-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.step-card strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: #141312;
  line-height: 1.35;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 6px;
  background: #f5efe8;
  border: 1px solid #e2d7c8;
  color: #7c3a21;
  font-size: 0.75rem;
  font-weight: 700;
}

.step-desc {
  font-size: 0.92rem;
  color: #2c2926;
  line-height: 1.58;
  font-weight: 500;
}

.plan-tier-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.tier-box {
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: 13px;
  padding: 13px 15px;
  box-shadow: var(--shadow-sm);
}

.tier-box-badge {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--accent-soft);
  color: #b54d2e;
  margin-bottom: 5px;
}

.tier-box-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--ink);
}

.tier-box-sub {
  font-size: 0.8rem;
  color: #44403c;
  margin-top: 2px;
}

.notice-card {
  background: #fff9f5;
  border: 1.5px solid #efb9a1;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.notice-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 800;
  color: #9a3412;
  margin-bottom: 10px;
}

.notice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.notice-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: #292524;
  line-height: 1.56;
}

.notice-list li::before {
  content: "•";
  position: absolute;
  left: 3px;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

/* Form Card */
.booking-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.booking-card-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.booking-card-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.booking-card-header p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.req {
  color: var(--accent);
  margin-left: 3px;
}

.zalo-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--zalo);
  font-weight: 700;
}

.copy-phone-btn {
  border: 1px solid rgba(0, 104, 255, 0.25);
  background: var(--zalo-soft);
  color: var(--zalo);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.copy-phone-btn:hover {
  background: rgba(0, 104, 255, 0.18);
}

.input-control,
.select-control,
.textarea-control {
  width: 100%;
  padding: 11px 13px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fcfbf9;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s, box-shadow 0.16s, background 0.16s;
  outline: none;
}

.input-control:focus,
.select-control:focus,
.textarea-control:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.15);
}

.phone-input-wrap {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 8px;
}

/* Plan Pills */
.plan-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.plan-option {
  position: relative;
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-label {
  display: flex;
  flex-direction: column;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fcfbf9;
  cursor: pointer;
  transition: all 0.15s ease;
}

.plan-label strong {
  font-size: 0.88rem;
  color: var(--ink);
}

.plan-label span {
  font-size: 0.76rem;
  color: var(--ink-secondary);
}

.plan-option input:checked + .plan-label {
  border-color: var(--accent);
  background: var(--accent-soft);
}

/* City Quick Chips */
.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.city-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-secondary);
  font-size: 0.79rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.city-chip:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.city-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.time-interval-preview {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--ink-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.time-interval-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink-secondary);
  font-weight: 700;
  font-size: 0.82rem;
  transition: all 0.15s ease;
}

.time-interval-badge.active {
  background: var(--accent-soft);
  color: #b54d2e;
  border: 1px solid #efb9a1;
}

/* Custom Localized Date Picker (VI / EN) */
.datepicker-wrap {
  position: relative;
}

.datepicker-display {
  cursor: pointer;
  padding-right: 38px;
  background-color: #fcfbf9;
}

.datepicker-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.datepicker-pop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 80;
  width: 286px;
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 16px 36px rgba(25, 24, 23, 0.14);
  display: none;
}

.datepicker-pop.open {
  display: block;
}

.dp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.dp-month-label {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink);
}

.dp-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.dp-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.dp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 6px;
}

.dp-weekdays span {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
  padding: 4px 0;
}

.dp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.dp-day {
  height: 34px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s;
}

.dp-day:hover:not(:disabled) {
  background: var(--accent-soft);
  color: #b54d2e;
}

.dp-day.today {
  border: 1.5px solid var(--accent);
}

.dp-day.selected {
  background: var(--accent) !important;
  color: #ffffff !important;
}

.dp-day:disabled {
  color: #d0cbc3;
  cursor: not-allowed;
}

.dp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.dp-foot-btn {
  border: none;
  background: transparent;
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}

.dp-foot-clear {
  color: var(--ink-secondary);
}

.dp-foot-clear:hover {
  background: var(--bg-soft);
}

.dp-foot-today {
  color: var(--accent);
}

.dp-foot-today:hover {
  background: var(--accent-soft);
}

.submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #d97757 0%, #c05938 100%);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(217, 119, 87, 0.32);
  transition: transform 0.14s ease, box-shadow 0.14s ease, opacity 0.14s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(217, 119, 87, 0.4);
}

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

.privacy-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.form-error {
  display: none;
  margin-bottom: 14px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 500;
}

/* Success Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(25, 24, 23, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-backdrop.show {
  display: flex;
}

.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: popIn 0.22s ease-out;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.modal-box h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.modal-box p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.receipt-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: left;
  margin-bottom: 18px;
  font-size: 0.86rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px dashed var(--border);
  gap: 12px;
}

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

.receipt-row span:first-child {
  color: var(--ink-muted);
  flex-shrink: 0;
}

.receipt-row strong {
  text-align: right;
  word-break: break-word;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.zalo-direct-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--zalo);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}

.close-modal-btn {
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

/* FAQ / Info Footer */
.faq-section {
  padding: 20px 0 64px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.faq-card h4 {
  font-size: 0.98rem;
  margin-bottom: 8px;
}

.faq-card p {
  font-size: 0.86rem;
  color: var(--ink-secondary);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-section {
    padding: 24px 0 44px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .navbar-inner {
    height: auto;
    padding: 12px 0;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 0.98rem;
  }
  .lang-btn {
    padding: 5px 9px;
    font-size: 0.78rem;
  }
  .booking-card {
    padding: 20px 16px;
  }
  .feature-cards,
  .form-row,
  .plan-tier-strip {
    grid-template-columns: 1fr;
  }
  .step-card {
    grid-template-columns: 40px 1fr;
    padding: 14px;
    gap: 12px;
  }
  .step-num {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .phone-input-wrap {
    grid-template-columns: 106px 1fr;
  }
  .reward-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .reward-tags {
    flex-direction: row;
    flex-wrap: wrap;
    text-align: left;
  }
  .plan-selector {
    grid-template-columns: 1fr;
  }
}
