/* Vajjala & Associates - Chartered Accountants */
:root {
  --navy: #1d3557;
  --navy-deep: #12243d;
  --blue: #2f5d9a;
  --accent: #b08d3c;
  --ink: #1f2933;
  --muted: #5b6776;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --radius: 10px;
  --max: 1140px;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.lead { font-size: 1.08rem; color: var(--muted); max-width: 760px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 999; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #c9d3e0; font-size: .85rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: #e6ecf3; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 46px; width: auto; display: block; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
@media (max-width: 400px) { .brand-logo { height: 36px; } .brand-name { font-size: 1.15rem; } }
.brand-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--navy); }
.brand-sub { font-size: .72rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; color: var(--ink); text-decoration: none; font-size: .95rem; border-radius: 6px; }
.nav a:hover, .nav a.active { color: var(--navy); background: var(--bg-soft); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: 8px 16px 16px; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--blue) 100%);
  color: #fff; padding: 96px 0 88px;
}
.hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .3em; }
.hero .tag { font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; color: #d8c38f; font-weight: 600; }
.hero p { color: #d9e2ee; font-size: 1.1rem; max-width: 640px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; font-size: .92rem; color: #c9d5e4; }
.hero-meta strong { color: #fff; font-weight: 600; }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 6px; text-decoration: none; font-weight: 600;
  font-size: .95rem; border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #9a7a31; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Grids & cards */
.grid { display: grid; gap: 22px; }
.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: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin-bottom: .5em; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); }
.card li { margin-bottom: 4px; }
.card.featured { border-top: 3px solid var(--accent); }
.card.featured p { color: var(--muted); }
.card ul.cols { columns: 2; column-gap: 40px; }
.card ul.cols li { break-inside: avoid; }
@media (max-width: 640px) { .card ul.cols { columns: 1; } }
.card .num { font-family: var(--serif); color: var(--accent); font-size: .95rem; font-weight: 700; margin-bottom: 6px; display: block; }

.facts { margin-top: 32px; }
.fact { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.fact b { display: block; font-family: var(--serif); font-size: 1.5rem; color: var(--navy); }
.fact span { color: var(--muted); font-size: .9rem; }

.vm { border-top: 3px solid var(--navy); }

/* Partners */
.partner { display: flex; flex-direction: column; }
.partner h3 { margin-bottom: 2px; }
.partner .qual { color: var(--accent); font-weight: 600; font-size: .88rem; margin-bottom: 14px; }
.partner p { color: var(--muted); font-size: .95rem; }
.partner dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .88rem; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.partner dt { color: var(--muted); white-space: nowrap; }
.partner dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.table-wrap { overflow-x: auto; margin-top: 28px; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; background: #fff; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap; }

/* Links */
.links a.card { text-decoration: none; color: var(--ink); transition: border-color .15s; }
.links a.card:hover { border-color: var(--blue); }
.links small { color: var(--muted); display: block; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; color: var(--navy); }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); margin-top: 18px; }
form label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 4px; }
form input, form textarea, form select {
  width: 100%; padding: 11px 12px; border: 1px solid #c8d1dc; border-radius: 6px; font: inherit; margin-bottom: 14px; background: #fff;
}
form textarea { min-height: 130px; resize: vertical; }
form .note { font-size: .8rem; color: var(--muted); }
form .hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
form input[type=file] { padding: 9px; background: var(--bg-soft); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--muted); font-weight: 400; margin-bottom: 16px; }
.check input { width: auto; margin: 4px 0 0; }

/* Tabs */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: -6px 0 20px; }
.tab {
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 14px; margin-bottom: -1px;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--muted); cursor: pointer;
}
.tab.active { color: var(--navy); border-bottom-color: var(--accent); }

/* WhatsApp */
.btn-whatsapp { background: #1f8f4e; color: #fff; padding: 9px 16px; margin-top: 4px; }
.btn-whatsapp:hover { background: #18733e; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 52px; height: 52px; border-radius: 50%;
  background: #1f8f4e; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.2);
}
.wa-float:hover { background: #18733e; }

/* Careers */
.perks { list-style: none; padding: 0; margin: 0; }
.perks li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.perks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.page-head { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; padding: 56px 0 48px; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: #d9e2ee; max-width: 640px; margin: 0; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c6d6; font-size: .9rem; padding: 48px 0 24px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .95rem; letter-spacing: .04em; }
.site-footer a { color: #dfe7f1; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .82rem; }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal li { margin-bottom: 6px; }

/* Disclaimer gate */
.gate {
  position: fixed; inset: 0; z-index: 1000; background: rgba(13, 26, 45, .82);
  display: none; align-items: center; justify-content: center; padding: 16px;
}
.gate.show { display: flex; }
.gate-box {
  background: #fff; border-radius: 12px; max-width: 640px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 30px; box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.gate-box h2 { font-size: 1.5rem; }
.gate-box ol { padding-left: 20px; color: var(--muted); font-size: .93rem; }
.gate-box li { margin-bottom: 8px; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
body.locked { overflow: hidden; }
