/* Asaan Filer — mobile-first styles. Colors ONLY via tokens.css vars. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--af-font-body);
  color: var(--af-text);
  background: var(--af-white);
  font-size: 1rem;
  line-height: 1.65;
}
h1, h2, h3 { font-family: var(--af-font-heading); color: var(--af-dark); line-height: 1.25; }
a { color: var(--af-accent); }
a:hover { color: var(--af-accent-dark); }
img { max-width: 100%; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
.section-alt { background: var(--af-grey-light); }
.section-title { font-size: 1.6rem; text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; margin-bottom: 36px; }

/* buttons — 44px+ touch targets */
.btn {
  display: inline-block; padding: 14px 26px; min-height: 48px;
  border-radius: var(--af-radius); font-family: var(--af-font-heading);
  font-weight: 600; font-size: 1rem; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: all .15s ease;
}
.btn-primary { background: var(--af-accent); color: var(--af-white); }
.btn-primary:hover { background: var(--af-accent-dark); color: var(--af-white); border-color: var(--af-gold); }
.btn-outline { background: var(--af-white); color: var(--af-primary); border-color: var(--af-primary); }
.btn-outline:hover { border-color: var(--af-gold); color: var(--af-dark); }
.btn-wa { background: transparent; color: var(--af-white); border-color: var(--af-white); }
.btn-wa:hover { color: var(--af-white); border-color: var(--af-gold); }
.success-card .btn-wa { background: var(--af-primary); border-color: var(--af-primary); } /* light card par */
.success-card .btn-wa:hover { border-color: var(--af-gold); }
.btn-block { display: block; width: 100%; }

/* header + hero */
header.site {
  background: var(--af-primary); padding: 14px 0;
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo {
  display: inline-flex; align-items: center;
  font-family: var(--af-font-heading); font-weight: 700; font-size: 1.15rem;
  color: var(--af-white); text-decoration: none;
}
.logo:hover { color: var(--af-white); }
.logo img { height: 30px; width: auto; display: block; margin-right: 9px; }
.logo .af-dot { color: var(--af-gold); }
.hero { background: var(--af-primary); color: var(--af-white); padding: 56px 0 64px; text-align: center; }
.hero h1 { color: var(--af-white); font-size: 2rem; margin-bottom: 14px; }
.hero h1 .gold-line { display: block; border-bottom: 4px solid var(--af-gold); width: 88px; margin: 14px auto 0; }
.hero p { max-width: 34rem; margin: 0 auto 28px; color: var(--af-grey-light); }
.hero .cta-row { display: flex; flex-direction: column; gap: 12px; max-width: 20rem; margin: 0 auto; }
.hero-points { font-size: .88rem; color: var(--af-grey-light); margin: 22px auto 0; max-width: 34rem; }
.hero-points .sep { color: var(--af-gold); padding: 0 6px; }

/* steps */
.steps { display: grid; gap: 18px; }
.step { background: var(--af-white); border: 1px solid var(--af-grey-border); border-radius: var(--af-radius); padding: 22px; box-shadow: var(--af-shadow); }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; margin-bottom: 12px;
  background: var(--af-accent); color: var(--af-white);
  font-family: var(--af-font-number); font-weight: 700; font-size: 1.1rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.steps-note { text-align: center; margin-top: 26px; font-weight: 600; color: var(--af-primary); }

/* pricing */
.price-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.price { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--af-white); border-radius: var(--af-radius); overflow: hidden; box-shadow: var(--af-shadow); }
table.price th, table.price td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--af-grey-border); }
table.price thead th { background: var(--af-primary); color: var(--af-white); font-family: var(--af-font-heading); font-size: .9rem; }
table.price td.tier-name { text-align: left; font-weight: 600; color: var(--af-dark); font-size: .92rem; max-width: 220px; }
table.price td.amount { font-family: var(--af-font-number); font-weight: 700; color: var(--af-dark); font-size: 1.05rem; white-space: nowrap; }
.addons { margin-top: 26px; display: grid; gap: 8px; }
.addon { display: flex; justify-content: space-between; gap: 12px; background: var(--af-white); border: 1px solid var(--af-grey-border); border-radius: var(--af-radius); padding: 12px 16px; }
.addon .amount { font-family: var(--af-font-number); font-weight: 700; color: var(--af-dark); white-space: nowrap; }
.no-hidden-fee { text-align: center; margin-top: 24px; font-weight: 700; color: var(--af-primary); border-top: 3px solid var(--af-gold); display: table; padding-top: 14px; margin-left: auto; margin-right: auto; }

/* trust */
.trust-grid { display: grid; gap: 16px; }
.trust { background: var(--af-white); border-left: 4px solid var(--af-gold); border-radius: var(--af-radius); padding: 18px 20px; box-shadow: var(--af-shadow); }
.trust h3 { font-size: 1rem; margin-bottom: 4px; }

/* faq */
.faq details { background: var(--af-white); border: 1px solid var(--af-grey-border); border-radius: var(--af-radius); margin-bottom: 10px; padding: 0 18px; }
.faq summary { font-family: var(--af-font-heading); font-weight: 600; color: var(--af-dark); cursor: pointer; padding: 15px 0; list-style-position: inside; }
.faq details p { padding: 0 0 16px; }

/* CSP-safe utilities — inline style attributes render nahi hote (style-src 'self') */
.text-center { text-align: center; }
.hidden { display: none; }
.mt-6 { margin-top: 6px; } .mt-8 { margin-top: 8px; } .mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; } .mt-14 { margin-top: 14px; } .mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; }
.mb-4 { margin-bottom: 4px; } .mb-10 { margin-bottom: 10px; }
.mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; }
.text-left { text-align: left; }
.gap-16 { margin: 16px 0; } .gap-14-24 { margin: 14px 0 24px; }
.policy-wrap { max-width: 720px; }
.policy-h3 { margin: 20px 0 8px; }
.mock-card { border: 3px dashed var(--af-orange); }
.small { font-size: .9rem; } .smaller { font-size: .85rem; }
.strong-dark { color: var(--af-dark); }
.num-font { font-family: var(--af-font-number); font-weight: 700; }
.card-box { border: 1px solid var(--af-grey-border); border-radius: var(--af-radius); padding: 14px 16px; margin-top: 10px; text-align: left; }
.divider-top { border-top: 1px solid var(--af-grey-border); margin-top: 14px; padding-top: 14px; }
.card-title-sm { font-size: 1.3rem; }
.narrow-wrap { max-width: 32rem; }
.dashed-box { border: 1px dashed var(--af-grey-border); border-radius: var(--af-radius); padding: 14px; text-align: center; font-size: .92rem; }
.file-input { padding: 10px; border: 1.5px dashed var(--af-grey-border); border-radius: var(--af-radius); width: 100%; }
.btn-lg { font-size: 1.1rem; }
.btn-header { padding: 9px 16px; min-height: 0; }
.price-hero-md { font-family: var(--af-font-number); font-size: 2.4rem; font-weight: 700; color: var(--af-dark); text-align: center; margin: 8px 0; }
.price-hero-sm { font-family: var(--af-font-number); font-size: 1.6rem; font-weight: 700; color: var(--af-dark); text-align: center; }

/* intake — progress bar */
.progress { margin-bottom: 18px; }
.progress-label {
  text-align: center; font-family: var(--af-font-number); font-weight: 700;
  color: var(--af-primary); font-size: .85rem; margin-bottom: 8px;
}
.progress-track { height: 6px; background: var(--af-grey-light); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--af-accent); border-radius: 3px; transition: width .3s ease; }
/* CSP: width inline nahi de sakte — 10% steps ki classes */
.pw-10 { width: 10%; } .pw-20 { width: 20%; } .pw-30 { width: 30%; } .pw-40 { width: 40%; }
.pw-50 { width: 50%; } .pw-60 { width: 60%; } .pw-70 { width: 70%; } .pw-80 { width: 80%; }
.pw-90 { width: 90%; } .pw-100 { width: 100%; }

/* intake — tappable option cards (radios/checkboxes).
   Selectors carry .lead-card too so they beat the generic .lead-card label/input rules. */
.option-list { display: grid; gap: 10px; margin-top: 14px; }
.option-list-2 { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.option-card, .lead-card label.option-card {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1.5px solid var(--af-grey-border); border-radius: var(--af-radius);
  padding: 14px 16px; margin: 0; cursor: pointer; background: var(--af-white);
  color: var(--af-dark); font-weight: 500; font-size: 1rem; line-height: 1.45;
  transition: border-color .15s ease, background .15s ease;
}
.option-card:hover { border-color: var(--af-accent); }
.option-card input, .lead-card .option-card input {
  width: 20px; height: 20px; min-height: 0; margin-top: 1px; padding: 0;
  flex-shrink: 0; accent-color: var(--af-accent);
}
.option-card:has(input:checked) { border-color: var(--af-accent); background: var(--af-accent-tint); }
.option-card span { flex: 1; }
.option-card small { display: block; font-weight: 400; color: var(--af-text); font-size: .85rem; }

/* fee / quote */
.fee-amount {
  font-family: var(--af-font-number); font-size: 3rem; font-weight: 700;
  color: var(--af-dark); margin: 8px 0; line-height: 1.1;
}
.fee-breakdown {
  text-align: left; border: 1px solid var(--af-grey-border);
  border-radius: var(--af-radius); padding: 14px 16px; margin-top: 10px; font-size: .92rem;
}
.fee-breakdown .row { display: flex; justify-content: space-between; gap: 12px; }
.fee-breakdown .row + .row { margin-top: 6px; }
.fee-breakdown strong { font-family: var(--af-font-number); color: var(--af-dark); white-space: nowrap; }

/* reusable notice boxes */
.notice { background: var(--af-grey-light); border-radius: var(--af-radius); padding: 12px 14px; font-size: .9rem; }
.notice-warn { background: var(--af-white); border: 2px solid var(--af-orange); }

/* otp */
.otp-input {
  text-align: center; font-family: var(--af-font-number);
  font-size: 1.6rem; letter-spacing: .4em; font-weight: 700;
}

.steps-note-sm { font-weight: 600; color: var(--af-primary); }

/* welcome mini steps */
.mini-steps { text-align: left; margin: 18px 0; display: grid; gap: 4px; }
.mini-step { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--af-dark); font-weight: 500; }
.mini-step .num-sm {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--af-accent); color: var(--af-white);
  font-family: var(--af-font-number); font-weight: 700; font-size: .9rem;
}

/* form */
.lead-card { background: var(--af-white); border-radius: var(--af-radius); box-shadow: var(--af-shadow); padding: 26px 22px; max-width: 30rem; margin: 0 auto; }
.lead-card label { display: block; font-weight: 600; color: var(--af-dark); margin: 14px 0 6px; font-size: .95rem; }
.lead-card input {
  width: 100%; padding: 13px 14px; min-height: 48px; font-size: 1rem;
  border: 1.5px solid var(--af-grey-border); border-radius: var(--af-radius);
  font-family: var(--af-font-body); color: var(--af-dark);
}
.lead-card input:focus { border-color: var(--af-accent); outline: none; }
.lead-card select {
  width: 100%; padding: 13px 14px; min-height: 48px; font-size: 1rem;
  border: 1.5px solid var(--af-grey-border); border-radius: var(--af-radius);
  font-family: var(--af-font-body); color: var(--af-dark); background: var(--af-white);
}
.lead-card select:focus { border-color: var(--af-accent); outline: none; }
.field-error { color: var(--af-accent-dark); font-size: .88rem; margin-top: 4px; font-weight: 600; }
.lead-card .btn { margin-top: 20px; }
.form-note { font-size: .85rem; margin-top: 14px; text-align: center; }
.success-card { text-align: center; }
.success-card .tick {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--af-green); display: flex; align-items: center; justify-content: center;
}
.success-card .tick svg { width: 34px; height: 34px; }

/* footer */
footer.site { background: var(--af-primary); color: var(--af-grey-light); padding: 32px 0; text-align: center; font-size: .9rem; }
footer.site a { color: var(--af-white); }
footer.site a:hover { color: var(--af-white); border-bottom: 2px solid var(--af-gold); }

/* admin */
.admin-body { padding: 20px; font-family: var(--af-font-body); }
.admin-body h1 { font-size: 1.3rem; margin-bottom: 14px; }
.admin-table-scroll { overflow-x: auto; }
table.admin { border-collapse: collapse; width: 100%; min-width: 720px; background: var(--af-white); }
table.admin th, table.admin td { border: 1px solid var(--af-grey-border); padding: 9px 10px; font-size: .9rem; text-align: left; }
table.admin th { background: var(--af-grey-light); color: var(--af-dark); }
tr.contacted-yes td { background: var(--af-grey-light); color: var(--af-text); }
.chip { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .8rem; font-weight: 700; }
/* per spec §2: green/orange never carry text — chips use dark text + colored border */
.chip-done { background: var(--af-white); border: 1.5px solid var(--af-green); color: var(--af-dark); }
.chip-todo { background: var(--af-white); border: 1.5px solid var(--af-orange); color: var(--af-dark); }
.conflict-banner { background: var(--af-gold); color: var(--af-black); padding: 10px 14px; border-radius: var(--af-radius); font-weight: 700; display: inline-block; margin-bottom: 14px; }
.admin-actions { margin-bottom: 16px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ≥720px */
@media (min-width: 720px) {
  .hero h1 { font-size: 2.7rem; }
  .hero .cta-row { flex-direction: row; max-width: none; justify-content: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .addons { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 2rem; }
}

/* Phase 7 — status tracker (CSP-safe) */
.track { border: 1px solid var(--af-grey-border); border-radius: var(--af-radius); padding: 14px 16px; text-align: left; }
.track-step { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.track-dot {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--af-font-number); font-weight: 700; font-size: .85rem;
  border: 2px solid var(--af-grey-border); color: var(--af-text); background: var(--af-white);
}
.track-done .track-dot { background: var(--af-green); border-color: var(--af-green); color: var(--af-white); }
.track-current .track-dot { border-color: var(--af-primary); color: var(--af-primary); }
.track-done .track-label { color: var(--af-dark); }
.track-current .track-label { color: var(--af-primary); font-weight: 700; }
.track-pending .track-label { color: var(--af-text); }

/* Feedback #3 (2026-08-01) — button press feedback */
.btn, .chip, button { transition: transform .06s ease, filter .06s ease; }
.btn:active, .chip:active, button:active { transform: scale(.96); filter: brightness(.88); }

/* Staff console shell (2026-08-01 best-tool run) — CSP-safe, koi inline nahi */
.staff-nav {
  background: var(--af-primary); padding: 10px 16px;
  display: flex; gap: 4px 14px; align-items: center; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 10;
}
.staff-nav-logo {
  font-family: var(--af-font-heading); font-weight: 700; font-size: 1rem;
  color: var(--af-white); text-decoration: none; margin-right: 8px;
}
.staff-nav-link {
  color: var(--af-white); text-decoration: none; font-weight: 600;
  font-size: .92rem; padding: 5px 8px; border-radius: 6px;
}
.staff-nav-link:hover { background: rgba(255,255,255,.14); color: var(--af-white); }
.staff-nav-user { margin-left: auto; }
.staff-nav-user .chip { cursor: pointer; }
.admin-body h1 { margin-bottom: 6px; }
.admin td small a { color: inherit; }
.stage-age { font-size: .78rem; color: var(--af-text); white-space: nowrap; }
.stage-age-hot { color: #B7791F; font-weight: 700; }
.search-row { display: flex; gap: 8px; margin: 10px 0; flex-wrap: wrap; }
.search-row input { flex: 1; min-width: 200px; padding: 9px 12px; border: 1.5px solid var(--af-grey-border); border-radius: var(--af-radius); }
.search-row button { cursor: pointer; }

/* Client floating WhatsApp help (CSP-safe) */
.wa-fab {
  position: fixed; right: 14px; bottom: 14px; z-index: 20;
  background: #25D366; color: #fff; text-decoration: none;
  border-radius: 24px; padding: 10px 16px; font-weight: 700; font-size: .9rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.wa-fab:hover { color: #fff; filter: brightness(1.05); }

/* Landing FAQ accordion — <details>, zero JS */
.faq details { border: 1px solid var(--af-grey-border); border-radius: var(--af-radius); padding: 12px 16px; margin-top: 10px; background: var(--af-white); }
.faq summary { font-weight: 700; color: var(--af-dark); cursor: pointer; }
.faq details[open] summary { margin-bottom: 8px; }

/* Receipt (print-friendly) */
.receipt-box { max-width: 480px; margin: 0 auto; border: 1px solid var(--af-grey-border); border-radius: var(--af-radius); padding: 22px; }
.receipt-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--af-grey-border); }
.receipt-row:last-child { border-bottom: none; }
@media print { .site, .wa-fab, .no-print { display: none !important; } }
.inline-form { display: inline-block; margin: 2px 4px 2px 0; }
