/* Maxwell Money Lender: static site styles. Brand = gold on black (logo + shop signage). */
:root {
  --ink: #0e1013;
  --ink-2: #171a1f;
  --ink-3: #22262d;
  --line-d: rgba(255, 255, 255, .1);
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --line: #e6e3da;
  --text: #1c1e22;
  --muted: #5d6169;
  --muted-d: #a9adb5;
  --gold: #f6c915;
  --gold-2: #ffc04d;
  --gold-ink: #6b5200;
  --green: #87d141;   /* logo arrows */
  --blue: #183cd2;    /* logo sail */
  --teal: #3dc6ae;    /* logo "MONEY LENDER" */
  --wa: #128c4b;
  --wa-2: #0b7a3e;
  --danger: #b42318;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(14, 16, 19, .08);
  --wrap: 1180px;
  --f: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-body: 16px;
  --fs-lead: clamp(17px, 1.4vw, 19px);
  --fs-h3: clamp(19px, 1.6vw, 22px);
  --fs-h2: clamp(26px, 3.2vw, 38px);
  --fs-h1: clamp(32px, 4.6vw, 54px);
  --hdr: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; font-family: var(--f); font-size: var(--fs-body); line-height: 1.65; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; }
h2 > svg, h3 > svg { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; margin-right: .3em; color: var(--gold-ink); }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Scam alert ---------- */
.alert { background: var(--danger); color: #fff; font-size: var(--fs-sm); line-height: 1.45; }
.alert .wrap { display: flex; gap: 10px; align-items: center; padding: 8px 0; }
.alert a { color: #fff; font-weight: 700; white-space: nowrap; }
.alert__icon { flex: none; width: 18px; height: 18px; }
.lic-pill svg { flex: none; }
@media (max-width: 600px) {
  .alert { font-size: 12.5px; }
  .alert .wrap { padding: 6px 0; }
  .alert__long { display: none; }
  .lic-pill { font-size: 12.5px; border-radius: 12px; }
  .hero .btns .btn { flex: 1 1 100%; }
}

/* ---------- Languages ---------- */
html[lang^="zh"] { --f: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif; }
html[lang^="zh"] body { line-height: 1.75; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { letter-spacing: 0; line-height: 1.3; }
html[lang^="zh"] .eyebrow { letter-spacing: .06em; }
.lang { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.lang svg { width: 16px; height: 16px; margin-right: 4px; opacity: .85; }
.lang a { text-decoration: none; font-weight: 700; font-size: 13px; padding: 3px 8px; border-radius: 999px; color: inherit; opacity: .85; }
.lang a:hover { opacity: 1; background: rgba(255, 255, 255, .15); }
.lang a[aria-current] { background: #fff; color: var(--danger); opacity: 1; }
.lang--bar { margin-left: auto; padding-left: 12px; }
.alert .wrap > p { flex: 1; min-width: 0; }
.lang--menu { display: none; }
@media (max-width: 1100px) {
  .lang--menu { display: flex !important; justify-content: center; color: #fff; gap: 6px; margin-bottom: 6px; }
  .lang--menu a { font-size: 15px; padding: 8px 16px; border: 1px solid var(--line-d); }
  .lang--menu a[aria-current] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
  .nav .lang--menu a { width: auto; justify-content: center; font-size: 15px; padding: 9px 18px; border: 1px solid var(--line-d); border-radius: 999px; line-height: 1; }
  .nav .lang--menu a[aria-current] { background: var(--gold); color: var(--ink); border-color: var(--gold); }
}
@media (max-width: 600px) { .lang--bar svg { display: none; } .lang--bar a { padding: 3px 6px; } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(14, 16, 19, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-d); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: var(--hdr); }
.logo { display: flex; align-items: center; flex: none; }
.logo img { width: 220px; height: auto; }
@media (max-width: 420px) { .logo img { width: 180px; } }
.nav { margin-left: auto; }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.nav a, .nav button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 11px; white-space: nowrap; border-radius: 8px; color: #e9eaec; text-decoration: none; font: 600 15px/1 var(--f); background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover, .nav [aria-current="page"] { color: var(--gold); }
.nav .has-sub { position: relative; }
.nav .chev { width: 10px; height: 10px; transition: transform .2s; }
.sub { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); min-width: 280px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transition: .18s; }
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub a { display: flex; flex-direction: column; align-items: flex-start; gap: 0; white-space: normal; color: var(--text); padding: 12px 14px; width: 100%; line-height: 1.3; }
.sub a:hover, .sub [aria-current="page"] { background: var(--paper-2); color: var(--ink); }
.sub small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; margin-top: 2px; }
.has-sub:hover .sub, .has-sub.open .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub.open .chev { transform: rotate(180deg); }
.hdr__cta { flex: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-d); background: var(--ink-3); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

@media (max-width: 1100px) {
  .burger { display: inline-flex; }
  .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ink); }
  .hdr__cta { display: none; }
  .nav { position: fixed; inset: var(--hdr-off, 0) 0 0 0; top: 0; background: var(--ink); padding: 84px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; margin: 0; z-index: 60; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line-d); }
  .nav a, .nav button { width: 100%; padding: 16px 4px; font-size: 18px; justify-content: space-between; }
  .sub { position: static; transform: none; opacity: 1; visibility: visible; background: transparent; box-shadow: none; padding: 0 0 10px 10px; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; transform: none; }
  .has-sub:hover .sub { transform: none; }
  .sub a { color: #d5d7db; padding: 10px 4px; font-size: 16px; }
  .sub a:hover, .sub [aria-current="page"] { background: none; color: var(--gold); }
  .sub small { color: var(--muted-d); }
  .nav__close { position: absolute; top: 18px; right: 16px; }
  .nav__extra { display: grid !important; gap: 10px; margin-top: 24px; }
  .nav .nav__extra .btn { justify-content: center; font-size: 16px; padding: 12px 22px; border: 2px solid transparent; }
  .nav .nav__extra .btn--wa { background: var(--wa); color: #fff; }
  .nav .nav__extra .btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
  body.nav-open { overflow: hidden; }
}
.nav .nav__close, .nav__extra { display: none; }
@media (max-width: 1100px) { .nav .nav__close { display: inline-flex; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 10px; border: 1px solid var(--line-d); background: var(--ink-3); color: #fff; } .nav__close svg { width: 22px; height: 22px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font: 700 16px/1.2 var(--f); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background-color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(18, 140, 75, .28); }
.btn--wa:hover { background: var(--wa-2); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); box-shadow: 0 8px 20px rgba(246, 201, 21, .25); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 9px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 85% 0%, rgba(246, 201, 21, .16), transparent 60%), linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px) 0 0 / 100% 48px; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 64px 0 72px; }
.hero--page .wrap { grid-template-columns: 1.2fr .8fr; padding: 48px 0 56px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: var(--fs-lead); color: #d3d6db; max-width: 60ch; }
.hero__media img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); border: 1px solid var(--line-d); width: 100%; aspect-ratio: auto; }
.lic-pill { display: inline-flex; flex-wrap: nowrap; line-height: 1.35; align-items: center; gap: 8px 12px; padding: 8px 14px; border-radius: 999px; background: rgba(246, 201, 21, .12); border: 1px solid rgba(246, 201, 21, .4); color: var(--gold); font-size: var(--fs-sm); font-weight: 700; margin-bottom: 20px; }
.lic-pill svg { width: 16px; height: 16px; }
.hero__facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #c9ccd2; font-size: var(--fs-sm); font-weight: 600; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.crumbs { font-size: var(--fs-sm); color: var(--muted-d); margin-bottom: 18px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { color: #e5e7ea; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
@media (max-width: 900px) {
  .hero .wrap, .hero--page .wrap { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; }
}

/* ---------- Sections ---------- */
.sec { padding: 80px 0; }
.sec--alt { background: var(--paper-2); }
.sec--dark { background: var(--ink); color: #e6e7ea; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--tight { padding: 56px 0; }
.eyebrow { display: inline-block; font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 12px; }
.sec--dark .eyebrow, .hero .eyebrow { color: var(--gold); }
.head { max-width: 760px; margin-bottom: 40px; }
.head--c { margin-inline: auto; text-align: center; }
.head p { color: var(--muted); font-size: var(--fs-lead); }
.sec--dark .head p { color: var(--muted-d); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--top { align-items: start; }
.split > *, .grid > *, .hero .wrap > * { min-width: 0; }
.split img { border-radius: var(--radius); width: 100%; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .sec { padding: 56px 0; } }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.lead { font-size: var(--fs-lead); color: var(--muted); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; }
.sec--dark .card { background: var(--ink-2); border-color: var(--line-d); }
.sec--dark .card p { color: var(--muted-d); }
.svc { display: flex; flex-direction: column; }
.svc .tags { margin-top: auto; }
.svc__rate { display: inline-block; font-weight: 700; color: var(--ink); background: rgba(246, 201, 21, .22); border-radius: 6px; padding: 2px 8px; font-size: var(--fs-sm); margin-bottom: 14px; }
.svc a.more { font-weight: 700; color: var(--ink); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; }
.svc a.more::after { content: "→"; transition: transform .15s; }
.svc:hover a.more::after { transform: translateX(4px); }
.svc a.more::before { content: ""; position: absolute; inset: 0; }
.svc:hover { border-color: var(--gold); transform: translateY(-3px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 12px 0 0; }
.tags li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--paper-2); color: var(--text); border: 1px solid var(--line); }

/* ---------- Lists ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1013' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.ticks--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 640px) { .ticks--2 { grid-template-columns: 1fr; } }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.sec--alt .box { background: #fff; }
.box--gold { background: linear-gradient(135deg, #fff8dc, #fff3cf); border-color: #f2df9a; }
.box h3 { margin-top: 0; }
.note { display: flex; gap: 12px; align-items: flex-start; background: #fff8dc; border: 1px solid #f2df9a; border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; color: #4a3b00; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.example { background: var(--ink); color: #e6e7ea; border-radius: var(--radius); padding: 28px; }
.example h3 { color: #fff; }
.example table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.example td { padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.example td:last-child { text-align: right; font-weight: 700; color: #fff; }
.example tr.total td { border-bottom: 0; color: var(--gold); font-size: 18px; }

/* ---------- Key facts (for people and AI answers) ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; margin: 0; }
.facts div { padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: -1px -1px 0 0; }
.facts dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); line-height: 1.4; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.steps li::before { content: "0" counter(s); display: block; font-size: 40px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 16px; }
.steps strong { display: block; color: #fff; font-size: 17px; margin-bottom: 6px; line-height: 1.35; }
.steps span { color: var(--muted-d); font-size: 15px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps--v { grid-template-columns: 1fr !important; gap: 0; position: relative; }
.steps--v li { background: none; border: 0; padding: 0 0 22px 64px; }
.steps--v li::before { position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--ink); -webkit-text-stroke: 0; background: linear-gradient(135deg, var(--gold), var(--gold-2)); margin: 0; }
.steps--v li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 48px; bottom: 4px; width: 2px; background: linear-gradient(var(--gold), rgba(246, 201, 21, .1)); }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Licence ---------- */
.lic { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lic button { padding: 0; border: 1px solid var(--line-d); border-radius: var(--radius); overflow: hidden; background: #fff; cursor: zoom-in; position: relative; }
.lic button img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; transition: transform .3s; }
.lic button:hover img { transform: scale(1.03); }
.lic figcaption { margin-top: 10px; font-size: var(--fs-sm); color: var(--muted-d); text-align: center; }
.zoom { border: 0; padding: 0; background: transparent; max-width: min(92vw, 720px); max-height: 92vh; }
.zoom::backdrop { background: rgba(0, 0, 0, .85); }
.zoom img { max-height: 88vh; width: auto; margin: auto; border-radius: 8px; }
.zoom__x { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 24px; cursor: pointer; }

/* ---------- Calculator ---------- */
.calc { position: relative; background: #fff; border-radius: 20px; padding: 26px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, .28); color: var(--text); }
.calc::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 20px 20px 0 0; background: linear-gradient(90deg, var(--green), var(--gold), var(--teal)); }
.calc__head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.calc__head h3 { margin: 0; font-size: 20px; }
.calc__head p { margin: 0; color: var(--muted); font-size: 14px; }
.calc__badge { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; }
.calc__badge svg { width: 22px; height: 22px; }
.calc__row { margin-bottom: 18px; }
.calc__row label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.calc__row output { color: var(--ink); background: rgba(246, 201, 21, .3); padding: 2px 10px; border-radius: 999px; font-size: 14px; }
.calc__amt { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 12px; padding: 0 14px; transition: border-color .15s; }
.calc__amt:focus-within { border-color: var(--gold); }
.calc__amt span { font-weight: 800; color: var(--muted); }
.calc__amt input { flex: 1; min-width: 0; border: 0; outline: 0; font: 800 26px var(--f); padding: 10px 8px; color: var(--ink); background: transparent; }
.calc__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.calc__chips button { font: 700 13px var(--f); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); cursor: pointer; color: var(--text); }
.calc__chips button:hover, .calc__chips button.on { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.calc input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), #e8e5dc var(--p, 50%)); outline: none; margin: 8px 0 4px; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); cursor: grab; }
.calc input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); cursor: grab; }
.calc input[type="range"]:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.calc__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.calc__result { display: grid; grid-template-columns: 92px 1fr; grid-template-areas: "ring pay" "split split"; gap: 14px 18px; align-items: center; background: var(--ink); color: #fff; border-radius: 16px; padding: 18px 20px; margin: 6px 0 14px; }
.calc__ring { grid-area: ring; width: 92px; height: 92px; transform: rotate(-90deg); }
.calc__ring circle { fill: none; stroke-width: 6; }
.calc__ring .r-bg { stroke: var(--green); }
.calc__ring .r-int { stroke: var(--gold); stroke-linecap: round; transition: stroke-dasharray .35s ease; }
.calc__pay { grid-area: pay; }
.calc__pay span { display: block; color: var(--muted-d); font-size: 14px; font-weight: 600; }
.calc__pay strong { font-size: clamp(28px, 3vw, 36px); color: var(--gold); line-height: 1.1; font-weight: 800; }
.calc__pay b { font-weight: 800; }
.calc__split { grid-area: split; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding-top: 14px; border-top: 1px solid var(--line-d); }
.calc__split dt { font-size: 12px; color: var(--muted-d); display: flex; align-items: center; gap: 6px; }
.calc__split dd { margin: 2px 0 0; font-weight: 800; font-size: 15px; }
.calc__split i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.k-p { background: var(--green); } .k-i { background: var(--gold); }
.calc .btn b { font-weight: 800; }
.calc small { color: var(--muted); display: block; line-height: 1.5; margin-top: 12px; font-size: 12.5px; }
@media (max-width: 420px) { .calc { padding: 20px 16px; } .calc__result { grid-template-columns: 72px 1fr; padding: 16px; } .calc__ring { width: 72px; height: 72px; } .calc__split { grid-template-columns: 1fr 1fr; } }

/* ---------- Hero with calculator ---------- */
.hero--calc .wrap { grid-template-columns: 1fr minmax(0, 460px); align-items: start; padding: 56px 0 64px; }
.hero__bg { position: absolute; left: -2%; bottom: -10px; width: min(56%, 640px); height: auto; opacity: .55; pointer-events: none; }
.hb rect, .hb path { transform-box: fill-box; transform-origin: bottom; animation: hb-rise 1.1s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d); }
.hb-sail { stroke-dasharray: 700; stroke-dashoffset: 700; animation: hb-draw 1.8s .5s ease-out forwards; }
@keyframes hb-rise { from { transform: scaleY(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hb-draw { to { stroke-dashoffset: 0; } }
.hero__sign { margin-top: 30px; max-width: 520px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-d); box-shadow: 0 20px 40px rgba(0, 0, 0, .4); background: #000; }
.hero__sign img { width: 100%; }
@media (max-width: 900px) { .hero--calc .wrap { grid-template-columns: 1fr; } .hero__bg { width: 90%; opacity: .35; } }

/* ---------- Trust strip ---------- */
.trust { background: #090a0c; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); color: #fff; }
.trust__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item img { width: 52px; height: 52px; border-radius: 50%; background: #fff; flex: none; }
.trust__item strong { display: block; font-size: 15px; line-height: 1.3; }
.trust__item small { color: var(--muted-d); font-size: 13px; }
.trust__ic { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(246, 201, 21, .4); color: var(--gold); background: rgba(246, 201, 21, .08); }
.trust__ic svg { width: 24px; height: 24px; }
@media (max-width: 1000px) { .trust__row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust__row { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Rate cap graphic ---------- */
.rates { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 24px; margin-top: 24px; }
.rates__t { font-weight: 700; margin-bottom: 14px; color: #fff; }
.rates__bar { display: grid; grid-template-columns: 110px 1fr 52px; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--muted-d); }
.rates__bar b { color: var(--gold); font-size: 22px; text-align: right; }
.rates__track { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rates__track i { display: block; height: 100%; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--gold)); transform-origin: left; animation: grow 1.2s .2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.rates__n { margin: 6px 0 0; font-size: 13px; color: var(--muted-d); }

/* ---------- Office ---------- */
.office__media { position: relative; padding-bottom: 70px; }
.office__photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.office__photo img { width: 100%; }
.office__photo figcaption { position: absolute; left: 14px; top: 14px; display: flex; align-items: center; gap: 6px; background: rgba(14, 16, 19, .85); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.office__photo figcaption svg { width: 15px; height: 15px; color: var(--gold); }
.office__sign { position: absolute; right: -18px; bottom: 0; width: 78%; border-radius: 10px; overflow: hidden; background: #000; border: 4px solid #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.office__sign img { width: 100%; }
@media (max-width: 900px) { .office__sign { right: 8px; } }

/* ---------- Checklist ---------- */
.chk { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: c; }
.chk li { counter-increment: c; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; }
.chk li::after { content: "0" counter(c); position: absolute; right: 18px; top: 16px; font-weight: 800; font-size: 28px; color: transparent; -webkit-text-stroke: 1.2px #d8d3c4; }
.chk__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), #5fae2a); color: #fff; margin-bottom: 14px; }
.chk__ic svg { width: 22px; height: 22px; }
.chk strong { display: block; font-size: 17px; margin-bottom: 4px; }
.chk span:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .chk { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .chk { grid-template-columns: 1fr; } }
.facts--dark { background: var(--ink-2); border-color: var(--line-d); }
.facts--dark div { border-color: var(--line-d); }
.facts--dark dt { color: var(--muted-d); }
.facts--dark dd, .facts--dark a { color: #fff; }

/* ---------- Form ---------- */
.form { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); color: var(--text); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.field label span { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; font: 16px var(--f); padding: 12px 14px; border: 1px solid #d5d2c8; border-radius: 10px; background: #fff; color: var(--text); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: #d9a900; }
.form small { color: var(--muted); display: block; margin-top: 10px; line-height: 1.5; }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; margin: 14px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font-size: 20px; font-weight: 600; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; background: var(--gold); }
.faq details[open] { border-color: #e7cf6f; }
.faq .ans { padding: 0 22px 20px; color: #3b3e44; }
.faq .ans ul { margin-bottom: .6em; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--gold-ink); margin-top: 3px; }
.contact-list a { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list li > span { min-width: 0; }
.contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: var(--muted); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.maprow { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: 20px; align-items: stretch; }
.maprow .map { height: 100%; min-height: 380px; }
@media (max-width: 760px) { .maprow { grid-template-columns: 1fr; } }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); background: var(--paper-2); filter: grayscale(.2); }

/* ---------- CTA band ---------- */
.cta { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--ink); }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 0; flex-wrap: wrap; }
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; font-weight: 600; }
.cta .btn--line:hover { background: var(--ink); }

/* ---------- Footer ---------- */
.ftr { background: #08090b; color: #b7bac1; font-size: 15px; }
.ftr__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 40px; }
.ftr h2 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ftr a { color: #e2e4e8; text-decoration: none; }
.ftr a:hover { color: var(--gold); }
.ftr__brand img { width: 230px; margin-bottom: 18px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 10px; background: var(--ink-3); display: grid; place-items: center; }
.social svg { width: 20px; height: 20px; }
.ftr__bot { border-top: 1px solid var(--line-d); padding: 24px 0 32px; font-size: 13px; line-height: 1.6; color: #8d919a; }
.ftr__bot p { margin: 0 0 8px; }
@media (max-width: 1000px) { .ftr__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr__top { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.fab svg { width: 26px; height: 26px; }
.fab:hover { background: var(--wa-2); }
@media (max-width: 560px) { .fab span { display: none; } .fab { padding: 14px; } }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hb rect, .hb path, .rates__track i { animation: none; } .hb-sail { animation: none; stroke-dashoffset: 0; } html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } .btn:hover { transform: none; } }

@media print { .alert, .hdr, .fab, .cta, .ftr__top, .map { display: none !important; } body { color: #000; } }
