/* ==========================================================================
   Fix Your Phone Ltd — public site theme
   Bootstrap 5 supplies the grid/utilities; everything visual lives here.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg2: #f7f8fa;
  --bg3: #eef0f4;
  --card: #ffffff;
  --border: #e2e5eb;
  --accent: #1a73e8;
  --accent-dark: #1558b0;
  --accent-soft: #e8f0fd;
  --accent-tint: #f0f6ff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --light: #9ca3af;
  --green: #2e7d32;
  --green-soft: #e8f5e9;
  --orange: #e67e22;
  --orange-soft: #fff3e0;
  --orange-dark: #b45309;
  --red: #dc2626;
  --red-soft: #fce4e4;
  --radius: 10px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-ui: 'Roboto', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
a:hover { color: inherit; }

/* Anchor jumps must clear the sticky navbar. */
section[id] { scroll-margin-top: 70px; }

/* ── PROMO BANNER ───────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(90deg, #1a73e8, #1558b0);
  color: #fff;
  text-align: center;
  padding: 10px 44px;
  font-size: 0.83rem;
  font-family: var(--font-ui);
  position: relative;
}
.promo-banner strong { font-weight: 600; }
.promo-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}
.promo-close:hover { color: #fff; }

/* ── NAV ────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  min-height: 60px;
  padding: 0 32px;
}
.site-nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  min-height: 60px;
}
.nav-logo { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.nav-logo span { color: var(--accent); }
.nav-links a {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-ui);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-ui);
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); }

.ham {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
}
.ham span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; }

.mob-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
  flex-direction: column;
  gap: 2px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--muted);
  border-bottom: 1px solid var(--bg3);
  font-family: var(--font-ui);
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero { padding: 60px 32px; background: #fff; }
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-family: var(--font-ui);
}
.hero h1 {
  font-family: var(--font-head);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 14px;
}
.hero h1 span { color: var(--accent); }
.hero-sub { color: var(--muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; max-width: 420px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item { font-size: 0.8rem; color: var(--muted); font-family: var(--font-ui); }
.trust-item strong { color: var(--text); display: block; font-weight: 600; font-size: 0.82rem; }

.hero-right { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.hero-right h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.stat-box { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 14px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.stat-lbl { font-size: 0.7rem; color: var(--muted); margin-top: 2px; font-family: var(--font-ui); }
.hs-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-ui);
  margin-bottom: 8px;
}
.hs-item:last-child { margin-bottom: 0; }
.hs-item strong { color: var(--text); font-weight: 600; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn-primary-fyp {
  background: var(--accent);
  color: #fff;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-ui);
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary-fyp:hover { background: var(--accent-dark); color: #fff; }
.btn-outline-fyp {
  background: #fff;
  color: var(--text);
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-ui);
  cursor: pointer;
  border: 1px solid var(--border);
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline-fyp:hover { border-color: var(--accent); color: var(--accent); }
.btn-green-fyp { background: var(--green); }
.btn-green-fyp:hover { background: #256628; }

/* ── SECTIONS ───────────────────────────────────────────────── */
.fyp-section { padding: 64px 32px; }
.fyp-section.bg-soft { background: var(--bg2); }
.fyp-section.bg-white { background: #fff; }
.fyp-container { max-width: 1100px; margin: 0 auto; }
.sec-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: var(--font-ui);
  margin-bottom: 8px;
}
.sec-title { font-family: var(--font-head); font-size: 1.55rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.sec-sub { color: var(--muted); font-size: 0.9rem; max-width: 480px; line-height: 1.7; }

/* ── BOOKING ────────────────────────────────────────────────── */
.booking-box { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 32px; }
.booking-top {
  padding: 18px 26px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.booking-top h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; margin: 0; }
.steps-bar { display: flex; align-items: center; overflow-x: auto; padding: 2px 0; }
.sbar-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg3);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 600; color: var(--muted);
  font-family: var(--font-ui);
  flex-shrink: 0;
  transition: all 0.2s;
}
.sbar-num.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.sbar-num.done { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.sbar-line { width: 24px; height: 2px; background: var(--border); transition: background 0.2s; }
.sbar-line.done { background: var(--accent); }

.booking-body { padding: 26px; }
.step-panel { display: none; }
.step-panel.active { display: block; }
.step-h { font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.step-s { font-size: 0.82rem; color: var(--muted); margin-bottom: 20px; font-family: var(--font-ui); }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.repair-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 10px; }

.sel-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.sel-card:hover, .sel-card.selected { border-color: var(--accent); background: var(--accent-tint); }
.sel-card .sc-name { font-size: 0.82rem; font-weight: 600; color: var(--text); font-family: var(--font-ui); }

.series-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.series-card:hover, .series-card.selected { border-color: var(--accent); background: var(--accent-tint); }
.series-card .sc-name { font-size: 0.84rem; font-weight: 600; color: var(--text); font-family: var(--font-ui); }
.series-card .sc-count { font-size: 0.7rem; color: var(--muted); margin-top: 3px; font-family: var(--font-ui); }

.model-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 7px;
  padding: 11px 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  font-family: var(--font-ui);
}
.model-card:hover, .model-card.selected { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); }

.repair-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.repair-card:hover, .repair-card.selected { border-color: var(--accent); background: var(--accent-tint); }
.repair-card h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); font-family: var(--font-head); margin-bottom: 4px; }
.repair-card .rc-price { font-size: 1rem; font-weight: 700; color: var(--accent); font-family: var(--font-head); }
.repair-card .rc-time { font-size: 0.72rem; color: var(--muted); font-family: var(--font-ui); margin-top: 2px; }
.repair-card.unavailable { opacity: 0.45; pointer-events: none; }
.repair-card.unavailable::after {
  content: 'Unavailable';
  position: absolute; top: 8px; right: 8px;
  background: var(--red); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-ui);
}
.repair-card.in-cart { border-color: var(--green); background: #f0fdf4; }
.repair-card.in-cart::after {
  content: '✓ Added';
  position: absolute; top: 8px; right: 8px;
  background: var(--green); color: #fff;
  font-size: 0.62rem; font-weight: 700;
  padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-ui);
}

.svc-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.svc-card:hover, .svc-card.selected { border-color: var(--accent); background: var(--accent-tint); }
.svc-card h4 { font-size: 0.88rem; font-weight: 600; color: var(--text); font-family: var(--font-head); margin-bottom: 3px; }
.svc-card p { font-size: 0.78rem; color: var(--muted); font-family: var(--font-ui); margin: 0; }
.sc-extra {
  display: inline-block; margin-top: 8px;
  font-size: 0.72rem; background: var(--orange-soft); color: var(--orange);
  border-radius: 4px; padding: 2px 8px;
  font-family: var(--font-ui); font-weight: 500;
}
.sc-extra .sc-extra-note { font-size: 0.65rem; }
.sc-free {
  display: inline-block; margin-top: 8px;
  font-size: 0.72rem; background: var(--green-soft); color: var(--green);
  border-radius: 4px; padding: 2px 8px;
  font-family: var(--font-ui); font-weight: 500;
}

/* ── FORM CONTROLS ──────────────────────────────────────────── */
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.79rem; font-weight: 600; color: var(--text); margin-bottom: 5px; font-family: var(--font-ui); }
.form-input {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 10px 13px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 0.87rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-input:focus { border-color: var(--accent); box-shadow: none; }
.form-input::placeholder { color: var(--light); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; }
.form-input.is-invalid { border-color: var(--red); }
.field-error { color: var(--red); font-size: 0.75rem; font-family: var(--font-ui); margin-top: 4px; display: block; }
.input-narrow { max-width: 260px; }
.input-tiny { max-width: 100px; }
.input-small { max-width: 140px; }

.info-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-ui);
  line-height: 1.6;
}
.info-box strong { color: var(--text); font-weight: 600; display: block; margin-bottom: 3px; }

.price-summary { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.ps-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.84rem;
  font-family: var(--font-ui);
  gap: 12px;
}
.ps-row:last-child { border: none; padding-top: 10px; }
.ps-row span:first-child { color: var(--muted); }
.ps-row span:last-child { font-weight: 500; color: var(--text); text-align: right; }
.ps-row.total span { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; }
.ps-row.total span:last-child { color: var(--accent); }

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.pay-card { background: #fff; border: 2px solid var(--border); border-radius: 8px; padding: 16px; cursor: pointer; transition: all 0.2s; }
.pay-card:hover, .pay-card.selected { border-color: var(--accent); background: var(--accent-tint); }
.pay-card h4 { font-size: 0.88rem; font-weight: 600; font-family: var(--font-head); margin-bottom: 3px; }
.pay-card p { font-size: 0.78rem; color: var(--muted); font-family: var(--font-ui); margin: 0; }

.bank-table { width: 100%; margin-top: 14px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.bank-row { display: flex; justify-content: space-between; padding: 9px 14px; font-size: 0.82rem; border-bottom: 1px solid var(--border); font-family: var(--font-ui); }
.bank-row:last-child { border: none; }
.bank-row span:first-child { color: var(--muted); }
.bank-row span:last-child { font-weight: 500; }

.time-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; margin-top: 12px; }
.time-slot {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 7px;
  padding: 9px;
  text-align: center;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-ui);
  transition: all 0.2s;
}
.time-slot:hover, .time-slot.selected { border-color: var(--accent); background: var(--accent-tint); color: var(--accent); }
.time-slot.night-slot { background: #fff8f0; border-color: var(--orange); color: var(--orange-dark); }
.time-slot.night-slot:hover, .time-slot.night-slot.selected { background: var(--orange-soft); border-color: var(--orange-dark); color: #7c3500; }
.time-slot .slot-note { display: block; font-size: 0.58rem; color: var(--orange-dark); margin-top: 1px; }

.preview-bar {
  background: var(--accent-tint);
  border: 1px solid #c8ddf8;
  border-radius: 7px;
  padding: 10px 14px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-family: var(--font-ui);
  color: var(--text);
}
.preview-bar strong { font-weight: 600; }

.night-notice {
  background: var(--orange-soft);
  border: 1px solid var(--orange);
  border-radius: 7px;
  padding: 9px 14px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-family: var(--font-ui);
  color: var(--orange-dark);
}
.night-notice-sm {
  background: var(--orange-soft);
  border: 1px solid var(--orange);
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 10px;
  font-size: 0.78rem;
  font-family: var(--font-ui);
  color: var(--orange-dark);
}

.upload-area {
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-ui);
  transition: border-color 0.2s;
  margin-top: 8px;
}
.upload-area:hover { border-color: var(--accent); }
.upload-name { font-size: 0.77rem; color: var(--accent); margin-top: 5px; font-family: var(--font-ui); }

.repair-cart { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 14px; margin-top: 14px; }
.repair-cart h4 { font-family: var(--font-head); font-size: 0.84rem; font-weight: 600; margin-bottom: 10px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  font-family: var(--font-ui);
}
.cart-item:last-child { border: none; }
.cart-item-name { color: var(--text); font-weight: 500; }
.cart-item-price { color: var(--accent); font-weight: 600; }
.cart-item-right { display: flex; align-items: center; gap: 8px; }
.cart-remove { background: none; border: none; cursor: pointer; color: var(--red); font-size: 0.8rem; padding: 0 4px; line-height: 1; }
.cart-total {
  display: flex; justify-content: space-between;
  padding-top: 10px; margin-top: 4px;
  border-top: 2px solid var(--accent);
  font-family: var(--font-head); font-weight: 700; font-size: 0.9rem;
}
.cart-total span:last-child { color: var(--accent); }

.step-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.btn-next {
  background: var(--accent); color: #fff;
  padding: 10px 22px; border-radius: 6px;
  font-size: 0.87rem; font-weight: 500; font-family: var(--font-ui);
  cursor: pointer; border: none; transition: background 0.2s;
}
.btn-next:hover { background: var(--accent-dark); }
.btn-next:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-prev {
  background: #fff; color: var(--muted);
  padding: 10px 18px; border-radius: 6px;
  font-size: 0.87rem; font-weight: 500; font-family: var(--font-ui);
  cursor: pointer; border: 1px solid var(--border); transition: all 0.2s;
}
.btn-prev:hover { color: var(--text); border-color: var(--text); }

.booking-success { display: none; text-align: center; padding: 52px 28px; }
.booking-success.show { display: block; }
.booking-success h3 { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; margin-bottom: 10px; }
.booking-success p { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; font-family: var(--font-ui); }
.booking-ref {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 0.9rem;
}
.success-actions { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.loyalty-box {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-tint));
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 16px;
  display: none;
}
.loyalty-box.show { display: block; }
.loyalty-title { font-size: 0.85rem; font-weight: 600; font-family: var(--font-head); margin-bottom: 4px; }
.loyalty-text { font-size: 0.81rem; color: var(--muted); font-family: var(--font-ui); margin-bottom: 6px; }
.loyalty-note { font-size: 0.75rem; color: var(--muted); font-family: var(--font-ui); }
.loyalty-code {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  background: #fff;
  border: 2px dashed var(--accent);
  border-radius: 6px;
  padding: 8px 16px;
  display: inline-block;
  margin: 8px 0;
}

/* ── HOW IT WORKS ───────────────────────────────────────────── */
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 40px;
  position: relative;
}
.hiw-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #60a5fa);
  z-index: 0;
}
.hiw-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s, transform 0.5s;
}
.hiw-step.visible { opacity: 1; transform: translateY(0); }
.hiw-step.delay-1 { transition-delay: 0.12s; }
.hiw-step.delay-2 { transition-delay: 0.24s; }
.hiw-step.delay-3 { transition-delay: 0.36s; }
.hiw-step.delay-4 { transition-delay: 0.48s; }
.hiw-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
  border: 4px solid #fff;
  flex-shrink: 0;
  position: relative;
}
.hiw-num {
  position: absolute;
  top: -6px; right: -10px;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 0.65rem; font-weight: 700;
  font-family: var(--font-ui);
  display: flex; align-items: center; justify-content: center;
}
.hiw-title { font-family: var(--font-head); font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; }
.hiw-desc { font-size: 0.78rem; color: var(--muted); font-family: var(--font-ui); line-height: 1.6; }

/* ── REVIEWS ────────────────────────────────────────────────── */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 26px; }
.review-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 18px; }
.review-card .rv-name { font-family: var(--font-head); font-size: 0.88rem; font-weight: 600; }
.review-card .rv-stars { color: #f59e0b; font-size: 0.95rem; letter-spacing: 2px; margin: 3px 0; }
.review-card .rv-msg { font-size: 0.83rem; color: var(--muted); font-family: var(--font-ui); }
.review-card .rv-time { font-size: 0.72rem; color: var(--light); font-family: var(--font-ui); margin-top: 8px; }
.review-form-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 26px; }
.review-form-box h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; }
.star-row { display: flex; gap: 4px; margin-bottom: 14px; }
.star-btn {
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1; padding: 0;
  color: var(--bg3);
  transition: color 0.15s, transform 0.15s;
}
.star-btn:hover { transform: scale(1.12); }
.star-btn.active { color: #f59e0b; }
.review-success { display: none; }
.review-success.show { display: block; }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 28px; align-items: start; }
.contact-left p { font-size: 0.88rem; color: var(--muted); line-height: 1.8; margin-bottom: 16px; font-family: var(--font-body); }
.cd-item { font-size: 0.84rem; color: var(--muted); font-family: var(--font-ui); margin-bottom: 8px; line-height: 1.6; }
.cd-item strong { color: var(--text); font-weight: 600; }
.cd-item a { color: var(--accent); }
.contact-form-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 26px; }
.contact-form-box h3 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 600; margin-bottom: 18px; }

/* ── TRACK ORDER ────────────────────────────────────────────── */
.track-box { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 28px; max-width: 520px; margin-top: 24px; }
.track-form { display: flex; gap: 10px; flex-wrap: wrap; }
.track-form .form-input { flex: 1; min-width: 180px; }
.track-result { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; margin-top: 18px; display: none; }
.track-result.show { display: block; }
.track-status { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.track-status strong { font-family: var(--font-head); font-size: 0.95rem; }
.track-status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.track-status-dot.confirmed { background: var(--green); }
.track-status-dot.completed { background: var(--accent); }
.track-status-dot.cancelled { background: var(--red); }
.track-status-text { text-transform: capitalize; }
.track-status-text.pending { color: var(--orange); }
.track-status-text.confirmed { color: var(--green); }
.track-status-text.completed { color: var(--accent); }
.track-status-text.cancelled { color: var(--red); }
.track-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 0.83rem; font-family: var(--font-ui); gap: 12px; }
.track-row:last-child { border: none; }
.track-row span:first-child { color: var(--muted); }
.track-row span:last-child { font-weight: 500; text-align: right; }
.track-actions { margin-top: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.track-note { margin-top: 10px; font-size: 0.78rem; color: var(--muted); font-family: var(--font-ui); }
.track-error { color: var(--red); font-size: 0.85rem; font-family: var(--font-ui); padding: 10px 0; }

/* ── MAP ────────────────────────────────────────────────────── */
.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-top: 20px; height: 280px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: #1a1a2e; color: #fff; padding: 36px 32px 22px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 24px;
  margin-bottom: 28px; padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.footer-brand span { color: #60a5fa; }
.footer-brand p {
  font-size: 0.79rem; color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-ui); font-weight: 400;
  margin-top: 8px; max-width: 260px; line-height: 1.7;
}
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-ui);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.footer-col a {
  display: block; font-size: 0.81rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-ui);
  margin-bottom: 8px;
  transition: color 0.2s;
  cursor: pointer;
}
.footer-col a:hover { color: rgba(255, 255, 255, 0.85); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 0.74rem; color: rgba(255, 255, 255, 0.3); font-family: var(--font-ui); margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, 0.45); }

/* ── FLOATING BUTTONS ───────────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--accent); color: #fff;
  border: none; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 0.85rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  z-index: 50;
}
.scroll-top.show { opacity: 1; pointer-events: auto; }

.wa-bubble {
  position: fixed; bottom: 72px; right: 20px;
  width: 50px; height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 51;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s;
}
.wa-bubble:hover { transform: scale(1.08); }
.wa-bubble svg { width: 26px; height: 26px; fill: #fff; }
.wa-tooltip {
  position: absolute; right: 58px;
  background: #1a1a2e; color: #fff;
  font-size: 0.75rem; padding: 5px 10px;
  border-radius: 5px; white-space: nowrap;
  font-family: var(--font-ui);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.wa-bubble:hover .wa-tooltip { opacity: 1; }

/* ── MODALS (booking confirmation / request) ────────────────── */
.fyp-modal-card { border-radius: 16px; border: none; }
.confirm-header { text-align: center; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--accent); }
.confirm-check {
  width: 60px; height: 60px;
  background: var(--green-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.8rem;
}
.confirm-header h2 { font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.confirm-header p { font-size: 0.82rem; color: var(--muted); font-family: var(--font-ui); margin: 0; }
.confirm-ref {
  display: inline-block;
  background: var(--accent-soft); color: var(--accent);
  padding: 6px 18px; border-radius: 6px;
  font-weight: 700; font-family: var(--font-head);
  font-size: 0.9rem; margin-top: 6px;
}
.confirm-section { margin-bottom: 16px; }
.confirm-section h4 {
  font-family: var(--font-head); font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin-bottom: 8px;
}
.confirm-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 0.83rem; font-family: var(--font-ui); gap: 12px; }
.confirm-row:last-child { border: none; }
.confirm-row span:first-child { color: var(--muted); }
.confirm-row span:last-child { font-weight: 500; text-align: right; max-width: 60%; }
.confirm-total {
  display: flex; justify-content: space-between;
  padding: 12px 0 0;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700;
  border-top: 2px solid var(--accent); margin-top: 8px;
}
.confirm-total span:last-child { color: var(--accent); }
.confirm-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.confirm-actions button, .confirm-actions a { flex: 1; min-width: 120px; text-align: center; }
.confirm-footer { text-align: center; margin-top: 16px; font-size: 0.73rem; color: var(--muted); font-family: var(--font-ui); line-height: 1.6; }

.request-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.request-card > p { font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; font-family: var(--font-ui); }
.req-type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.req-type-btn {
  padding: 12px;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer; text-align: center;
  font-family: var(--font-ui);
  background: #fff;
  transition: all 0.2s;
}
.req-type-btn:hover, .req-type-btn.active { border-color: var(--accent); background: var(--accent-tint); }
.req-type-btn .rt-icon { font-size: 1.4rem; margin-bottom: 4px; }
.req-type-btn .rt-lbl { font-size: 0.8rem; font-weight: 600; color: var(--text); }
.hidden { display: none !important; }

/* ── ALERTS / TOASTS ────────────────────────────────────────── */
.fyp-toast-wrap { position: fixed; top: 76px; right: 20px; z-index: 2000; display: flex; flex-direction: column; gap: 8px; }
.fyp-toast {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: 8px; padding: 12px 16px;
  font-size: 0.84rem; font-family: var(--font-ui);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 240px; max-width: 340px;
}
.fyp-toast.success { border-left-color: var(--green); }
.fyp-toast.error { border-left-color: var(--red); }

.empty-note { color: var(--muted); font-size: 0.84rem; font-family: var(--font-ui); }

/* ── PRINTABLE CONFIRMATION PAGE ────────────────────────────── */
.print-page { max-width: 640px; margin: 0 auto; padding: 32px 28px; background: #fff; }
.print-check { font-size: 2rem; text-align: center; margin-bottom: 8px; }
.print-title { text-align: center; font-size: 1.15rem; font-weight: 700; font-family: var(--font-head); margin-bottom: 4px; }
.print-sub { text-align: center; color: var(--muted); font-size: 0.84rem; margin-bottom: 20px; font-family: var(--font-ui); }
.print-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: 3px solid var(--accent);
  padding-bottom: 16px; margin-bottom: 20px;
}
.print-brand { font-size: 1.1rem; font-weight: 700; font-family: var(--font-head); }
.print-brand span { color: var(--accent); }
.print-meta { text-align: right; font-size: 0.75rem; color: var(--muted); font-family: var(--font-ui); }
.print-ref {
  background: var(--accent-soft); color: var(--accent);
  padding: 8px 16px; border-radius: 6px;
  font-weight: 700; font-size: 0.9rem; margin-top: 6px; display: inline-block;
  font-family: var(--font-head);
}
.print-page h3 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted); margin: 18px 0 6px; font-weight: 600; font-family: var(--font-ui);
}
.print-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); }
.print-table td { padding: 7px 12px; font-size: 0.84rem; border-bottom: 1px solid #eee; }
.print-table td:last-child { text-align: right; font-weight: 500; }
.print-table tr.total-row td { border-top: 3px solid var(--accent); border-bottom: none; font-weight: 700; font-size: 1rem; padding-top: 12px; }
.print-table tr.total-row td:last-child { color: var(--accent); }
.night-badge {
  background: var(--orange-soft); color: var(--orange-dark);
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.72rem; font-weight: 600; margin-left: 6px;
}
.print-footer {
  margin-top: 24px; padding-top: 14px;
  border-top: 1px solid #eee;
  text-align: center; font-size: 0.74rem;
  color: var(--light); line-height: 1.7; font-family: var(--font-ui);
}
.print-actions { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }

@media print {
  .print-actions, .no-print { display: none !important; }
  .print-page { max-width: none; padding: 0; }
}

/* ── RESPONSIVE — TABLET (≤900px) ───────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 20px; }
  .hiw-steps::before { display: none; }
  .hiw-steps { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ── RESPONSIVE — MOBILE (≤768px) ───────────────────────────── */
@media (max-width: 768px) {
  .site-nav { padding: 0 14px; }
  .nav-links { display: none !important; }
  .ham { display: flex; }

  .fyp-section { padding: 36px 16px; }
  .hero { padding: 36px 16px; }

  .hero h1 { font-size: 1.55rem; line-height: 1.2; }
  .hero-sub { font-size: 0.88rem; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns a { text-align: center; }
  .hero-trust { gap: 16px; }

  .booking-body { padding: 14px; }
  .booking-top { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .steps-bar { overflow-x: auto; width: 100%; padding-bottom: 4px; }
  .sbar-num { width: 24px; height: 24px; font-size: 0.62rem; }
  .sbar-line { width: 12px; }
  .brand-grid, .series-grid, .model-grid { grid-template-columns: repeat(2, 1fr); }
  .repair-grid, .svc-grid, .pay-grid, .form-row2 { grid-template-columns: 1fr; }
  .time-grid { grid-template-columns: repeat(3, 1fr); }
  .btn-next, .btn-prev { flex: 1; text-align: center; font-size: 0.82rem; padding: 10px 8px; }
  .price-summary { font-size: 0.82rem; }
  .ps-row { flex-wrap: wrap; gap: 4px; }

  .confirm-actions { flex-direction: column; gap: 8px; }
  .confirm-actions button, .confirm-actions a { width: 100%; }

  .hiw-steps { grid-template-columns: 1fr; gap: 20px; }
  .hiw-icon { width: 56px; height: 56px; font-size: 1.3rem; }

  .track-box { padding: 18px 16px; }
  .site-footer { padding: 24px 16px 16px; }
  .footer-links { flex-direction: column; gap: 16px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 4px; }
  .fyp-toast-wrap { left: 12px; right: 12px; top: 68px; }
  .fyp-toast { max-width: none; }
}

/* ── RESPONSIVE — SMALL MOBILE (≤480px) ─────────────────────── */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.35rem; }
  .sec-title { font-size: 1.2rem; }
  .sbar-line { width: 8px; }
  .sbar-num { width: 22px; height: 22px; font-size: 0.6rem; }
  .time-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-top h3 { font-size: 0.85rem; }
  .promo-banner { font-size: 0.75rem; padding: 8px 36px 8px 14px; }
}
