/* ==========================================================================
   Khushi Online Services — Theme
   Legal Services Website (Frontend presentation build)
   Developed by Arbaz Alam Agency
   ========================================================================== */

:root {
  --navy-900: #06192e;
  --navy-800: #0b2c4d;
  --navy-700: #113a63;
  --navy-600: #1b4d80;
  --gold-600: #a97f26;
  --gold-500: #c79a3a;
  --gold-400: #dfb861;
  --gold-100: #f7efdc;
  --ink: #17222e;
  --muted: #5a6a7c;
  --line: #e3e9f0;
  --bg: #f6f8fb;
  --bg-alt: #eef3f9;
  --white: #ffffff;
  --green: #1f8a5b;
  --red: #c0392b;

  --shadow-sm: 0 2px 10px rgba(11, 44, 77, .06);
  --shadow-md: 0 10px 30px rgba(11, 44, 77, .09);
  --shadow-lg: 0 24px 60px rgba(6, 25, 46, .16);
  --radius: 14px;

  --ff-display: "Marcellus", "Times New Roman", serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-hi: "Noto Sans Devanagari", "Inter", sans-serif;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .display-font { font-family: var(--ff-display); font-weight: 400; letter-spacing: .2px; color: var(--navy-800); }
h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.15; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.2; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { color: var(--muted); }
a { color: var(--navy-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-600); }
img { max-width: 100%; height: auto; }
.hi { font-family: var(--ff-hi); }
.text-muted-2 { color: var(--muted) !important; }
.bg-soft { background: var(--bg); }
.bg-soft-alt { background: var(--bg-alt); }
.bg-navy { background: var(--navy-800); }
.text-gold { color: var(--gold-500) !important; }
.fw-600 { font-weight: 600; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
::selection { background: var(--gold-400); color: var(--navy-900); }

/* Accessibility */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--gold-500); color: var(--navy-900); padding: 10px 18px; font-weight: 600; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gold-500); outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn { border-radius: 10px; font-weight: 600; padding: .72rem 1.5rem; transition: all .22s ease; font-size: .95rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); color: var(--navy-900); border: none; box-shadow: 0 8px 22px rgba(199, 154, 58, .3); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold-600), var(--gold-500)); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(199, 154, 58, .38); }
.btn-navy { background: var(--navy-800); color: #fff; border: none; }
.btn-navy:hover { background: var(--navy-700); color: #fff; transform: translateY(-2px); }
.btn-outline-navy { border: 1.5px solid var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; }
.btn-outline-white { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-white:hover { background: #fff; color: var(--navy-800); }
.btn-wa { background: var(--green); color: #fff; border: none; }
.btn-wa:hover { background: #176f49; color: #fff; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1rem; }
/* inline icons inside buttons / menus / alerts keep a sane size */
.btn svg { width: 17px; height: 17px; vertical-align: -3px; margin-left: 5px; }
.dropdown-item svg { width: 15px; height: 15px; vertical-align: -2px; margin-left: 4px; }
.alert svg { width: 20px; height: 20px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #cfdced; font-size: .84rem; }
.topbar a { color: #cfdced; }
.topbar a:hover { color: var(--gold-400); }
.topbar .sep { color: rgba(255, 255, 255, .22); margin: 0 .6rem; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; color: var(--gold-400); }

/* ---------- Navbar ---------- */
.navbar-main { background: #fff; box-shadow: var(--shadow-sm); padding: .55rem 0; transition: box-shadow .25s ease; }
.navbar-main.is-stuck { box-shadow: var(--shadow-md); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 46px; }
.brand-text .b1 { font-family: var(--ff-display); font-size: 1.18rem; color: var(--navy-800); line-height: 1.15; display: block; white-space: nowrap; }
.brand-text .b2 { font-size: .58rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-600); font-weight: 600; white-space: nowrap; }
.navbar-main .nav-link {
  color: var(--navy-800); font-weight: 500; font-size: .9rem; padding: .5rem .62rem !important; border-radius: 8px; position: relative; white-space: nowrap;
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .brand-text .b1 { font-size: 1.02rem; }
  .brand-text .b2 { font-size: .52rem; letter-spacing: 1px; }
  .navbar-main .nav-link { font-size: .84rem; padding: .5rem .48rem !important; }
}
.navbar-main .nav-link:hover, .navbar-main .nav-link.active { color: var(--gold-600); }
.navbar-main .nav-link.active::after {
  content: ""; position: absolute; left: .62rem; right: .62rem; bottom: .18rem; height: 2px; background: var(--gold-500); border-radius: 2px;
}
.navbar-main .btn-gold { white-space: nowrap; padding: .62rem 1.1rem; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: .5rem; margin-top: .6rem !important; }
.dropdown-item { border-radius: 8px; font-size: .9rem; padding: .55rem .8rem; color: var(--navy-800); }
.dropdown-item:hover { background: var(--gold-100); color: var(--navy-900); }
.dropdown-item small { display: block; color: var(--muted); font-size: .74rem; }
.navbar-toggler { border: 1px solid var(--line); padding: .35rem .6rem; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative; padding: 92px 0 74px; background: var(--navy-800); color: #fff; overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(120deg, rgba(6, 25, 46, .93) 20%, rgba(11, 44, 77, .78)), var(--banner-img, none);
  background-size: cover; background-position: center;
}
.page-banner > .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: .5rem; }
.page-banner p { color: rgba(255, 255, 255, .8); max-width: 620px; }
.breadcrumb-bar { background: var(--bg); border-bottom: 1px solid var(--line); padding: .8rem 0; font-size: .85rem; }
.breadcrumb-bar a { color: var(--muted); }
.breadcrumb-bar .current { color: var(--navy-800); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(105deg, rgba(6, 25, 46, .96) 32%, rgba(11, 44, 77, .82) 62%, rgba(11, 44, 77, .55)),
                    var(--hero-img, url("../img/hero-court.jpg"));
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 2; padding: 96px 0 104px; }
.hero h1 { color: #fff; }
.hero .lead-hi { font-family: var(--ff-hi); color: var(--gold-400); font-size: 1.05rem; margin-bottom: 1rem; }
.hero p.lead { color: rgba(255, 255, 255, .84); font-size: 1.05rem; max-width: 560px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: 2.4px; text-transform: uppercase;
  font-weight: 600; color: var(--gold-400); background: rgba(199, 154, 58, .12); border: 1px solid rgba(199, 154, 58, .34);
  padding: .4rem .9rem; border-radius: 40px; margin-bottom: 1.1rem;
}
.eyebrow.dark { color: var(--gold-600); background: var(--gold-100); border-color: rgba(199, 154, 58, .35); }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .55rem; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .88); font-size: .95rem; }
.hero-points svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--gold-400); margin-top: 3px; }
.hero-card {
  background: rgba(255, 255, 255, .97); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); color: var(--ink);
  border-top: 4px solid var(--gold-500);
}
.hero-card h3 { font-size: 1.22rem; margin-bottom: .3rem; }
.hero-step { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.hero-step:last-of-type { border-bottom: none; }
.hero-step .n {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem;
}
.hero-step strong { display: block; font-size: .95rem; color: var(--navy-800); }
.hero-step span { font-size: .82rem; color: var(--muted); }

/* trust strip */
.trust-strip { background: var(--navy-900); border-top: 1px solid rgba(255, 255, 255, .08); position: relative; z-index: 2; }
.trust-strip .item { display: flex; align-items: center; gap: 12px; padding: 18px 6px; color: rgba(255, 255, 255, .85); font-size: .88rem; }
.trust-strip svg { width: 26px; height: 26px; color: var(--gold-400); flex: 0 0 26px; }

/* ---------- Section heading ---------- */
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { margin-bottom: 0; }
.title-rule { width: 64px; height: 3px; background: var(--gold-500); border-radius: 3px; margin: 14px auto 18px; }
.section-head.left .title-rule { margin-left: 0; }

/* ---------- Service cards ---------- */
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(199, 154, 58, .5); }
.svc-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-card:hover .thumb img { transform: scale(1.06); }
.svc-card .tag {
  position: absolute; left: 12px; top: 12px; background: rgba(6, 25, 46, .85); color: #fff; font-size: .68rem;
  letter-spacing: 1px; text-transform: uppercase; padding: .3rem .65rem; border-radius: 20px; font-weight: 600;
}
.svc-card .tag.featured { background: var(--gold-500); color: var(--navy-900); }
.svc-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.svc-icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center; margin-bottom: 12px;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-size: 1.12rem; margin-bottom: .15rem; }
.svc-card .hi-name { font-family: var(--ff-hi); font-size: .82rem; color: var(--gold-600); margin-bottom: .5rem; display: block; }
.svc-card p { font-size: .9rem; margin-bottom: 1rem; }
.svc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; margin-bottom: 14px; }
.chip {
  font-size: .74rem; background: var(--bg); border: 1px solid var(--line); color: var(--muted);
  padding: .28rem .6rem; border-radius: 20px; display: inline-flex; align-items: center; gap: 5px; font-weight: 500;
}
.chip svg { width: 13px; height: 13px; color: var(--gold-600); }
.svc-link { font-weight: 600; font-size: .9rem; color: var(--navy-800); display: inline-flex; align-items: center; gap: 6px; }
.svc-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.svc-card:hover .svc-link svg { transform: translateX(4px); }
.svc-link:hover { color: var(--gold-600); }

/* compact service list item */
.svc-mini {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; height: 100%; transition: all .22s ease;
}
.svc-mini:hover { border-color: var(--gold-400); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.svc-mini .svc-icon { margin-bottom: 0; flex: 0 0 46px; }
.svc-mini strong { display: block; color: var(--navy-800); font-size: .96rem; }
.svc-mini span { font-size: .8rem; color: var(--muted); }

/* ---------- Feature / step cards ---------- */
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; height: 100%; transition: all .25s ease; }
.feature-card:hover { border-color: rgba(199, 154, 58, .5); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-800); color: var(--gold-400); margin-bottom: 14px; }
.feature-card .ic svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.feature-card p { font-size: .89rem; margin-bottom: 0; }

.step-card { text-align: center; padding: 26px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 100%; position: relative; }
.step-card .num {
  width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-400);
  font-family: var(--ff-display); font-size: 1.35rem; box-shadow: 0 8px 18px rgba(11, 44, 77, .22);
}
.step-card h3 { font-size: 1.05rem; }
.step-card p { font-size: .88rem; margin-bottom: 0; }
.steps-row { position: relative; }
.steps-row::before {
  content: ""; position: absolute; top: 54px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 20px); z-index: 0;
}
@media (max-width: 991.98px) { .steps-row::before { display: none; } }

/* ---------- Stats ---------- */
.stats-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; position: relative; overflow: hidden; }
.stats-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%;
  background: rgba(199, 154, 58, .1);
}
.stat { text-align: center; padding: 34px 10px; position: relative; z-index: 2; }
.stat .v { font-family: var(--ff-display); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--gold-400); line-height: 1; }
.stat .l { font-size: .85rem; color: rgba(255, 255, 255, .78); margin-top: 8px; letter-spacing: .4px; }

/* ---------- Documents / checklist ---------- */
.doc-item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; height: 100%; }
.doc-item .ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; }
.doc-item .ic svg { width: 20px; height: 20px; }
.doc-item strong { display: block; font-size: .93rem; color: var(--navy-800); }
.doc-item span { font-size: .78rem; color: var(--muted); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink); }
.check-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--green); margin-top: 3px; }
.check-list.gold svg { color: var(--gold-500); }

/* ---------- Testimonials ---------- */
.t-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; height: 100%; position: relative; transition: all .25s ease; }
.t-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.t-card .quote { position: absolute; right: 20px; top: 14px; font-family: var(--ff-display); font-size: 3.6rem; color: var(--gold-100); line-height: 1; }
.stars { color: var(--gold-500); display: flex; gap: 3px; margin-bottom: 12px; }
.stars svg { width: 16px; height: 16px; }
.t-card p { font-size: .93rem; color: var(--ink); position: relative; z-index: 2; }
.t-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.avatar {
  width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-400); font-weight: 600; font-size: .95rem;
}
.t-person strong { display: block; font-size: .93rem; color: var(--navy-800); }
.t-person span { font-size: .78rem; color: var(--muted); }

/* ---------- Accordion ---------- */
.accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; background: #fff; }
.accordion-button {
  font-weight: 600; color: var(--navy-800); font-size: .98rem; padding: 1.05rem 1.2rem; background: #fff;
}
.accordion-button:not(.collapsed) { background: var(--gold-100); color: var(--navy-900); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--gold-400); }
.accordion-button::after { background-size: 1rem; }
.accordion-body { font-size: .93rem; color: var(--muted); padding-top: .4rem; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--navy-800); font-size: .86rem; font-weight: 600;
  padding: .5rem 1.1rem; border-radius: 30px; transition: all .2s ease;
}
.filter-btn:hover { border-color: var(--gold-400); color: var(--gold-600); }
.filter-btn.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.gal-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--navy-900); display: block; width: 100%; border: none; padding: 0; }
.gal-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.gal-item:hover img { transform: scale(1.07); opacity: .72; }
.gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; text-align: left; color: #fff;
  background: linear-gradient(transparent, rgba(6, 25, 46, .9));
}
.gal-cap strong { display: block; font-size: .95rem; }
.gal-cap span { font-size: .76rem; color: var(--gold-400); letter-spacing: .6px; text-transform: uppercase; }
.is-hidden { display: none !important; }

/* ---------- Forms ---------- */
.form-label { font-weight: 600; font-size: .87rem; color: var(--navy-800); margin-bottom: .35rem; }
.form-label .req { color: var(--red); }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: 10px; padding: .72rem .9rem; font-size: .94rem; color: var(--ink); background-color: #fff;
}
.form-control:focus, .form-select:focus { border-color: var(--gold-400); box-shadow: 0 0 0 .2rem rgba(199, 154, 58, .15); }
.form-control::placeholder { color: #9dabb9; }
.form-text { font-size: .78rem; }
textarea.form-control { min-height: 120px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-md); padding: 30px; }
.is-invalid-msg { color: var(--red); font-size: .78rem; margin-top: .3rem; display: none; }
.field-error .form-control, .field-error .form-select, .field-error .dropzone { border-color: var(--red); }
.field-error .is-invalid-msg { display: block; }

/* Wizard */
.wizard-steps { display: flex; gap: 6px; margin-bottom: 30px; flex-wrap: wrap; }
.wizard-steps .ws { flex: 1 1 130px; text-align: center; position: relative; padding-top: 6px; }
.wizard-steps .ws .dot {
  width: 38px; height: 38px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line); color: var(--muted); font-weight: 700; font-size: .9rem; transition: all .25s ease;
}
.wizard-steps .ws .lbl { font-size: .78rem; color: var(--muted); font-weight: 600; }
.wizard-steps .ws.active .dot { background: var(--navy-800); border-color: var(--navy-800); color: var(--gold-400); }
.wizard-steps .ws.active .lbl { color: var(--navy-800); }
.wizard-steps .ws.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.wizard-steps .ws::before {
  content: ""; position: absolute; top: 25px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: -1;
}
.wizard-steps .ws:first-child::before { display: none; }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Dropzone */
.dropzone {
  border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; background: var(--bg);
  transition: all .2s ease; cursor: pointer;
}
.dropzone:hover, .dropzone.dragover { border-color: var(--gold-500); background: var(--gold-100); }
.dropzone svg { width: 30px; height: 30px; color: var(--gold-600); margin-bottom: 6px; }
.dropzone .dz-title { font-weight: 600; font-size: .92rem; color: var(--navy-800); }
.dropzone .dz-hint { font-size: .76rem; color: var(--muted); }
.file-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.file-row { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.file-row .fi { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 8px; background: var(--gold-100); color: var(--gold-600); display: grid; place-items: center; overflow: hidden; }
.file-row .fi img { width: 100%; height: 100%; object-fit: cover; }
.file-row .fi svg { width: 18px; height: 18px; }
.file-row .meta { flex: 1; min-width: 0; }
.file-row .meta strong { display: block; font-size: .84rem; color: var(--navy-800); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-row .meta span { font-size: .74rem; color: var(--muted); }
.file-row .rm { border: none; background: transparent; color: var(--red); font-size: 1.1rem; line-height: 1; padding: 4px 8px; border-radius: 6px; }
.file-row .rm:hover { background: #fdecea; }

.review-table { width: 100%; font-size: .9rem; }
.review-table th { width: 40%; color: var(--muted); font-weight: 500; padding: .5rem .4rem; vertical-align: top; }
.review-table td { color: var(--navy-800); font-weight: 600; padding: .5rem .4rem; }
.side-note { background: var(--navy-800); color: #fff; border-radius: 16px; padding: 24px; }
.side-note h3 { color: #fff; font-size: 1.1rem; }
.side-note p, .side-note li { color: rgba(255, 255, 255, .78); font-size: .87rem; }
.side-note a { color: var(--gold-400); }
.side-note a.btn-gold { color: var(--navy-900); }
.side-note a.btn-wa, .side-note a.btn-navy { color: #fff; }
.secure-badge { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: rgba(255, 255, 255, .82); padding: 8px 0; }
.secure-badge svg { width: 18px; height: 18px; color: var(--gold-400); flex: 0 0 18px; }

/* success */
.success-box { text-align: center; padding: 40px 24px; }
.success-box .tick { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: rgba(31, 138, 91, .12); color: var(--green); display: grid; place-items: center; }
.success-box .tick svg { width: 44px; height: 44px; }
.app-id { font-family: var(--ff-display); font-size: 1.6rem; color: var(--navy-800); letter-spacing: 1px; background: var(--gold-100); display: inline-block; padding: .4rem 1.2rem; border-radius: 10px; margin: 10px 0 6px; }

/* ---------- Contact ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; height: 100%; transition: all .25s ease; }
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(199, 154, 58, .5); }
.contact-card .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; margin-bottom: 14px; }
.contact-card .ic svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.contact-card p, .contact-card a { font-size: .9rem; color: var(--muted); margin-bottom: 0; }
.contact-card a:hover { color: var(--gold-600); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-900) 30%, var(--navy-600)); color: #fff; border-radius: 20px; padding: 46px 40px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -40px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(199, 154, 58, .12); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-bottom: 0; }
.cta-band > * { position: relative; z-index: 2; }

/* ---------- Legal / policy pages ---------- */
.legal-body h2 { font-size: 1.4rem; margin-top: 2.2rem; margin-bottom: .7rem; scroll-margin-top: 120px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: .95rem; color: var(--muted); }
.legal-body ul { padding-left: 1.1rem; }
.legal-body li { margin-bottom: .45rem; }
.toc { position: sticky; top: 110px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.toc h3 { font-size: 1rem; margin-bottom: .7rem; }
.toc ol { padding-left: 1.1rem; margin: 0; }
.toc li { margin-bottom: .4rem; font-size: .86rem; }

/* ---------- Service detail ---------- */
.detail-side { position: sticky; top: 110px; }
.price-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold-500); border-radius: 16px; padding: 24px; box-shadow: var(--shadow-md); }
.price-card .amt { font-family: var(--ff-display); font-size: 2rem; color: var(--navy-800); line-height: 1; }
.price-card .amt small { font-size: .8rem; color: var(--muted); font-family: var(--ff-body); }
.kv { display: flex; justify-content: space-between; gap: 10px; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.kv:last-child { border-bottom: none; }
.kv span { color: var(--muted); }
.kv strong { color: var(--navy-800); text-align: right; }
.proc-step { display: flex; gap: 16px; padding-bottom: 22px; position: relative; }
.proc-step:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.proc-step .n {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400);
  display: grid; place-items: center; font-weight: 700; font-size: .88rem; z-index: 2;
}
.proc-step strong { display: block; color: var(--navy-800); font-size: 1rem; }
.proc-step p { font-size: .89rem; margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); padding: 66px 0 0; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; font-family: var(--ff-display); }
.footer a { color: rgba(255, 255, 255, .72); font-size: .89rem; }
.footer a:hover { color: var(--gold-400); }
.footer a.btn-gold { color: var(--navy-900); }
.footer a.btn-gold:hover { color: var(--navy-900); }
.footer p { color: rgba(255, 255, 255, .66); font-size: .89rem; }
.footer .flist { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer .brand-text .b1 { color: #fff; }
.f-contact { display: flex; gap: 10px; align-items: flex-start; font-size: .89rem; margin-bottom: .8rem; }
.f-contact svg { width: 17px; height: 17px; color: var(--gold-400); flex: 0 0 17px; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; color: #fff;
  transition: all .2s ease;
}
.socials a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 46px; padding: 20px 0; font-size: .83rem; }
.footer-bottom a { font-size: .83rem; }

/* ---------- Floating actions ---------- */
.float-wa, .to-top {
  position: fixed; right: 20px; z-index: 900; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-md); border: none; transition: all .25s ease;
}
.float-wa { bottom: 84px; background: var(--green); color: #fff; }
.float-wa:hover { transform: scale(1.08); color: #fff; }
.float-wa svg { width: 26px; height: 26px; }
.to-top { bottom: 22px; background: var(--navy-800); color: var(--gold-400); opacity: 0; pointer-events: none; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--navy-700); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 60px 0; }
  .hero-inner { padding: 70px 0 80px; }
  .navbar-collapse { background: #fff; margin-top: .6rem; padding: .6rem; border-radius: 12px; box-shadow: var(--shadow-sm); }
  .navbar-main .nav-link.active::after { display: none; }
  .detail-side, .toc { position: static; }
  .cta-band { padding: 34px 24px; text-align: center; }
}
@media (max-width: 575.98px) {
  .brand { gap: 9px; }
  .brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
  .brand-text .b1 { font-size: .98rem; }
  .brand-text .b2 { font-size: .46rem; letter-spacing: .7px; }
  .form-card { padding: 20px; }
  .wizard-steps .ws { flex: 1 1 70px; }
  .wizard-steps .ws .lbl { font-size: .68rem; }
  .page-banner { padding: 60px 0 48px; }
}

/* ---------- Print ---------- */
@media print {
  .navbar-main, .topbar, .footer, .float-wa, .to-top, .cta-band { display: none !important; }
  body { font-size: 12pt; }
}
