/* Finbiz Advisory — site styles
   Light, uncluttered layout using the navy / gold / cream palette from the company profile. */

:root {
  --navy: #0e1545;
  --navy-deep: #0a1038;
  --blue: #2d3d9c;
  --gold: #c9a86a;
  --gold-deep: #8a6a2f;
  --gold-soft: #e9dcbc;
  --cream: #f7f5ef;
  --white: #ffffff;
  --ink: #1b1f33;
  --muted: #5b6072;
  --line: #e3dfd2;
  --radius: 14px;
  --max: 1120px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4vw, 2.9rem); }
h3 { font-size: 1.6rem; }

p { margin: 0 0 1em; }

em { font-style: italic; color: var(--gold-deep); }

.accent { font-style: italic; color: var(--gold-deep); }

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: #e8eaf4; }
.section-navy h2,
.section-navy h3 { color: var(--white); }
.section-navy .accent { color: var(--gold); }
.section-navy .on-dark-muted { color: rgba(255, 255, 255, 0.72); }

.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.on-dark { color: var(--gold); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: #d8b97f; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); }
.wa-link { color: #128c4a; font-weight: 600; }

/* WhatsApp: floating round button (every page) and inline logo link */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.wa-float svg {
  width: 60px;
  height: 60px;
  filter: drop-shadow(0 10px 18px rgba(10, 16, 56, 0.35));
}
.wa-float:hover { transform: scale(1.07); }
.wa-float:focus-visible { outline-offset: 4px; border-radius: 50%; }

.wa-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
}
.wa-inline svg {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(10, 16, 56, 0.2));
}
.wa-inline:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

.site-footer { padding-bottom: 6.5rem; }
.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.875rem; }

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: var(--white);
  border-bottom: 1px solid rgba(201, 168, 106, 0.18);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  text-decoration: none;
}

.mark {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid rgba(201, 168, 106, 0.55);
}
.mark span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
}
.mark .amp { background: #1b2470; color: var(--gold); }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand-text small {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav .btn { color: var(--navy-deep); }
.site-nav .btn:hover { color: var(--navy-deep); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle .bars { top: 50%; margin-top: -1px; }
.nav-toggle .bars::before { content: ""; top: -6px; left: 0; margin: 0; }
.nav-toggle .bars::after { content: ""; top: 6px; left: 0; margin: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #e8eaf4;
  padding: clamp(4.5rem, 11vw, 8rem) 0 clamp(4rem, 9vw, 6.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  background: linear-gradient(160deg, #1f2d8a 0%, #2d3d9c 55%, #1a2570 100%);
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.95;
}
.hero::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 14%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(201, 168, 106, 0.22);
  border-radius: 50%;
}
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.hero h1 { color: var(--white); }
.hero h1 em { color: var(--gold); }
.hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.hero-tags {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  color: #e8eaf4;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 62%;
  background: linear-gradient(160deg, #1f2d8a, #2d3d9c 60%, #1a2570);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 620px; }
.page-hero h1 em { color: var(--gold); }
.page-hero p { max-width: 560px; color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; margin: 0; }

/* ---------- Layout helpers ---------- */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
}
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; align-self: flex-start; }
.card .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 1rem;
}

.card-cream { background: var(--white); }

/* Stats */
.stats { display: grid; gap: 1rem; }
.stat {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.stat .num {
  font-family: var(--serif);
  font-size: 3.2rem;
  line-height: 1;
  color: var(--white);
}
.stat .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-align: right;
}

/* Pull quote */
.pull-quote {
  margin: 2rem 0 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 2px solid var(--gold);
}
.pull-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
}

/* Steps (approach) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(201, 168, 106, 0.35);
}
.step {
  padding: 2rem 1.75rem 0 0;
  position: relative;
}
.step + .step { padding-left: 1.75rem; border-left: 1px solid rgba(201, 168, 106, 0.2); }
.step .step-num {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.step h3 { font-size: 1.45rem; }
.step p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; margin: 0; }

/* Chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.chips li {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.92rem;
  color: var(--navy);
  font-weight: 500;
}

/* Lists with ticks */
.ticks {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
}
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 1px;
  background: var(--gold-deep);
}

/* Service articles (services page) */
.service {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(3rem, 7vw, 5rem) 0;
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; }
.service .service-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.5rem;
}
.service p { color: var(--muted); font-size: 1.05rem; }
.service h2 { font-size: clamp(2.2rem, 4vw, 3rem); }

/* Values & team */
.value h3 { font-size: 1.55rem; }
.value p { color: var(--muted); margin: 0; }

.person { display: flex; flex-direction: column; gap: 0.25rem; }
.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}
.creds { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.95rem; }
.creds li + li { margin-top: 0.35rem; }

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #e8eaf4;
  border-radius: 20px;
  padding: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); margin-bottom: 0.4em; }
.cta-band p { color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-end; }

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 18px 40px -28px rgba(14, 21, 69, 0.35);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  font: 400 1rem/1.4 var(--sans);
  color: var(--ink);
  padding: 0.8rem 0.95rem;
  border: 1px solid #cfcab9;
  border-radius: 10px;
  background: #fffdf8;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--muted);
}
.consent input { margin-top: 0.3rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--navy); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.5rem; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0; }
.form-status { margin-top: 1rem; font-size: 0.95rem; color: var(--navy); min-height: 1.4em; }

.info-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
}
.info-card h2 { font-size: 1.8rem; }
.info-block + .info-block { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.info-block h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}
.info-block p { margin: 0; color: var(--ink); }
.info-block a { color: var(--navy); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .service { grid-template-columns: 1fr; }
  .split,
  .contact-grid,
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(201, 168, 106, 0.18);
    padding: 0.5rem 1rem 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .site-nav .btn { margin-top: 1rem; }
  .hero::before,
  .page-hero::before {
    width: 100%;
    clip-path: none;
    opacity: 0.35;
  }
  .hero::after { display: none; }
  .hero-tags { line-height: 1.8; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 2rem); }
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step,
  .step + .step { padding: 1.5rem 0; border-left: 0; border-bottom: 1px solid rgba(201, 168, 106, 0.2); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero .actions .btn,
  .cta-band .actions .btn { width: 100%; }
  .stat { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .stat .label { text-align: left; }
  .brand-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
