/* ==========================================================
   V-Sarps — Design tokens
   Palette: deep navy (trust) + muted gold (official/premium)
   Type: Sora (display), Inter (body), IBM Plex Mono (numbers)
   ========================================================== */
:root {
  --navy: #0B1F3A;
  --navy-2: #12294D;
  --navy-light: #1B3B66;
  --gold: #C89B3C;
  --gold-light: #E4C878;
  --teal: #1B6B63;
  --bg: #F9FAFB;
  --bg-alt: #EFF2F6;
  --paper: #FFFFFF;
  --ink: #1B2430;
  --muted: #5B6472;
  --border: #DDE3EA;
  --danger: #B4433A;
  --radius: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(11, 31, 58, 0.15);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; color: var(--navy); margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { padding: 0; margin: 0; list-style: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'IBM Plex Mono', monospace; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #C9D4E3; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.topbar-right a { color: #E4C878; margin-left: 4px; }
.topbar-right .sep { margin: 0 8px; color: #3A5175; }
@media (max-width: 640px) { .topbar-item { display: none; } .topbar-inner { justify-content: flex-end; } }

/* ---------- Header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; color: var(--navy); }
.brand-name.light { color: var(--paper); }
.brand-sub { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.brand-sub.light { color: var(--gold-light); }

.main-nav { display: flex; gap: 8px; }
.nav-link { padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--navy); border-radius: 8px; transition: background .15s, color .15s; }
.nav-link:hover { background: var(--bg-alt); }
.nav-link.active { color: var(--gold); position: relative; }
.nav-link.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--navy); display: block; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-whatsapp { background: var(--navy); color: #fff; }
.btn-whatsapp:hover { background: var(--navy-light); }
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-navy-outline { border-color: var(--navy); color: var(--navy); }
.btn-navy-outline:hover { background: var(--navy); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; position: relative; overflow: hidden; padding: 88px 0 110px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(200,155,60,0.18) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); display: inline-block; }
.hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; margin-bottom: 20px; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero-lede { color: #C9D4E3; font-size: 17px; max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: 'IBM Plex Mono', monospace; font-size: 22px; color: var(--gold-light); }
.hero-trust span { font-size: 12.5px; color: #9FB1CB; }

/* Signature element: the compliance seal / filing card */
.seal-card { background: var(--paper); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); position: relative; transform: rotate(-1.2deg); }
.seal-card::after { content: ""; position: absolute; inset: 10px; border: 1px dashed var(--border); border-radius: 10px; pointer-events: none; }
.seal-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.seal-badge { display: flex; align-items: center; gap: 8px; background: var(--bg-alt); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--teal); }
.seal-badge .pip { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.seal-stamp { color: var(--gold); font-family: 'Sora', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: .06em; border: 1.5px solid var(--gold); border-radius: 50%; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(8deg); line-height: 1.15; }
.filing-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.filing-row:last-of-type { border-bottom: none; }
.filing-row .label { color: var(--muted); }
.filing-row .val { font-family: 'IBM Plex Mono', monospace; font-weight: 600; color: var(--navy); }
.status-chip { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.status-chip.done { background: #E3F1EF; color: var(--teal); }
.status-chip.pending { background: #FBEFE3; color: #A8672A; }

/* ---------- Section basics ---------- */
section { padding: 84px 0; }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin: 0 0 44px; text-align: left; }
.section-eyebrow { color: var(--gold); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.bg-alt { background: var(--bg-alt); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: #fff; }
.bg-navy p { color: #B9C6DB; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: -58px; position: relative; z-index: 2; box-shadow: var(--shadow-sm); }
.stat { background: var(--paper); padding: 26px 20px; text-align: center; }
.stat strong { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 28px; color: var(--navy); }
.stat span { font-size: 13px; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .18s, transform .18s; }
.card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--teal); }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 14px; }
.card-link { font-weight: 700; font-size: 13.5px; color: var(--teal); }

.process-step { display: flex; gap: 18px; }
.process-num { font-family: 'IBM Plex Mono', monospace; font-weight: 700; color: var(--gold); font-size: 15px; border: 1px solid var(--gold); border-radius: 50%; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.process-step h4 { font-size: 16px; margin-bottom: 4px; }
.process-step p { font-size: 14px; margin-bottom: 0; }

/* ---------- Pricing / ledger tables ---------- */
.ledger { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.ledger-head { background: var(--navy); color: #fff; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; }
.ledger-head h3 { color: #fff; margin: 0; font-size: 17px; }
.ledger-head span { font-size: 12px; color: var(--gold-light); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
table.rate-table { width: 100%; border-collapse: collapse; }
table.rate-table th, table.rate-table td { text-align: left; padding: 14px 24px; border-bottom: 1px solid var(--border); font-size: 14.5px; }
table.rate-table th { background: var(--bg-alt); color: var(--muted); text-transform: uppercase; font-size: 11.5px; letter-spacing: .06em; font-weight: 700; }
table.rate-table tr:last-child td { border-bottom: none; }
table.rate-table td.price { font-family: 'IBM Plex Mono', monospace; font-weight: 700; color: var(--navy); white-space: nowrap; }
table.rate-table td.unit { color: var(--muted); font-size: 12.5px; }
table.rate-table tbody tr:hover { background: #FBFCFD; }

.price-note { display: flex; gap: 10px; align-items: flex-start; background: #FBEFE3; border: 1px solid #F0DCC0; color: #8A5A22; padding: 14px 18px; border-radius: 8px; font-size: 13.5px; margin-top: 18px; }

.pkg-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; position: relative; display: flex; flex-direction: column; }
.pkg-card.featured { border-color: var(--gold); box-shadow: var(--shadow); transform: scale(1.02); }
.pkg-badge { position: absolute; top: -12px; right: 24px; background: var(--gold); color: var(--navy); font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.pkg-name { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 700; margin-bottom: 6px; }
.pkg-price { font-family: 'IBM Plex Mono', monospace; font-size: 34px; font-weight: 700; color: var(--navy); }
.pkg-price sup { font-size: 15px; font-weight: 600; }
.pkg-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.pkg-desc { font-size: 13.5px; margin: 10px 0 18px; }
.pkg-features { margin: 0 0 24px; flex: 1; }
.pkg-features li { display: flex; gap: 10px; font-size: 14px; padding: 7px 0; color: var(--ink); }
.pkg-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--teal); }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.quote-card p.quote { color: var(--ink); font-size: 15px; font-style: italic; margin-bottom: 16px; }
.quote-person { display: flex; align-items: center; gap: 10px; }
.quote-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; }
.quote-person strong { display: block; font-size: 13.5px; color: var(--navy); }
.quote-person span { font-size: 12px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; font-size: 15.5px; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--gold); font-weight: 400; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; font-size: 14.5px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--gold); }
.cta-strip-inner { display: flex; justify-content: space-between; align-items: center; padding: 40px 0; flex-wrap: wrap; gap: 20px; }
.cta-strip h3 { color: var(--navy); margin-bottom: 4px; font-size: 21px; }
.cta-strip p { color: #6B5222; margin: 0; font-size: 14px; }
.cta-strip .btn-gold { background: var(--navy); color: #fff; }
.cta-strip .btn-gold:hover { background: var(--navy-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #B9C6DB; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-about { font-size: 13.5px; max-width: 32ch; }
.footer-col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 13.5px; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom-inner { display: flex; justify-content: space-between; padding: 22px 0; font-size: 12.5px; color: #7C8CA8; flex-wrap: wrap; gap: 8px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; background: #25D366; color: #fff; width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 60; animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70% { box-shadow: 0 0 0 14px rgba(37,211,102,0);} 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 56px 0; }
.page-hero .breadcrumb { font-size: 13px; color: var(--gold-light); margin-bottom: 10px; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.page-hero p { color: #B9C6DB; max-width: 60ch; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 14.5px; background: var(--bg); color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); background: var(--paper); }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 20px; }
.alert-success { background: #E3F1EF; color: var(--teal); border: 1px solid #BEE0DB; }
.alert-error { background: #FBEAE8; color: var(--danger); border: 1px solid #F0C9C5; }

.contact-info-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--border); }
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .ci-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.contact-info-list strong { display: block; color: var(--navy); font-size: 14.5px; }
.contact-info-list span, .contact-info-list a { font-size: 13.5px; color: var(--muted); }

/* ---------- Team ---------- */
.team-card { background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; }
.team-avatar { width: 84px; height: 84px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px; margin: 0 auto 16px; }
.team-card h3 { margin-bottom: 2px; }
.team-role { color: var(--gold); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; display: block; }

/* ---------- Utility ---------- */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag { background: var(--bg-alt); color: var(--teal); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.divider-dashed { border: none; border-top: 1px dashed var(--border); margin: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { position: fixed; top: 120px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 12px; border-bottom: 1px solid var(--border); transform: translateY(-140%); transition: transform .22s ease; box-shadow: var(--shadow-sm); }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-cta .btn-whatsapp span, .header-cta .btn-whatsapp { font-size: 13px; padding: 10px 14px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-two { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  table.rate-table th:nth-child(3), table.rate-table td:nth-child(3) { display: none; }
}
