/*
Theme Name: VS Bharadwaj Advisory
Theme URI: https://vsbharadwaj.com
Author: Venumadhav Bharadwaj
Author URI: https://vsbharadwaj.com
Description: Professional website theme for Venumadhav Bharadwaj, Chartered Accountant & Company Secretary. On activation it creates the Home, About, Services and Contact pages, sets the home page and builds the main menu automatically.
Version: 1.0.2
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vsbharadwaj
*/

:root {
	--navy: #0f2a44;
	--navy-deep: #0a1d30;
	--ink: #1c2733;
	--muted: #5b6875;
	--line: #e3e7ec;
	--paper: #f7f5f0;
	--white: #ffffff;
	--gold: #b8893b;
	--gold-soft: #f3e9d6;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(15, 42, 68, 0.08);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-color: rgba(184, 137, 59, 0.6); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 999; background: var(--white); padding: 10px 14px; clip: auto; width: auto; height: auto; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy-deep); color: #c9d3de; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #e9eef3; text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .contacts { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar .offer { color: var(--gold-soft); font-weight: 500; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--navy); }
.brand-tag { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-top: 3px; }

.main-nav { display: flex; align-items: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px; border-radius: 6px; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--navy); background: var(--paper); }
.nav-cta { margin-left: 8px; }
.main-nav .nav-cta a.btn { color: var(--white); background: var(--gold); padding: 9px 16px; }
.main-nav .nav-cta a.btn:hover { background: #a2772f; color: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; cursor: pointer; font: inherit; color: var(--navy); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 15.5px; text-decoration: none; border: 2px solid transparent; transition: all 0.2s ease; cursor: pointer; font-family: var(--sans); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #a2772f; color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #183a5c 100%); color: #dfe7ef; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(184, 137, 59, 0.25); box-shadow: 0 0 0 60px rgba(184, 137, 59, 0.04), 0 0 0 140px rgba(184, 137, 59, 0.03); }
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--gold-soft); }
.hero .lead { font-size: 1.15rem; color: #c9d5e1; max-width: 600px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 14px; }

.offer-card { background: var(--white); color: var(--ink); border-radius: 14px; padding: 34px 30px; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25); border-top: 5px solid var(--gold); }
.offer-card .badge { display: inline-block; background: var(--gold-soft); color: #7a5617; font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; margin-bottom: 14px; }
.offer-card h2 { font-size: 1.7rem; margin-bottom: 10px; }
.offer-card ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.offer-card li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: 15.5px; }
.offer-card li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.offer-card .btn { width: 100%; text-align: center; }
.offer-card .small { font-size: 13.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- Stats ---------- */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--navy); line-height: 1.1; }
.stat span { font-size: 14.5px; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d6c4a3; }
.service-icon { width: 50px; height: 50px; border-radius: 10px; background: var(--gold-soft); color: #8a611c; display: grid; place-items: center; margin-bottom: 18px; }
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 14px; }
.service-card a.more { margin-top: auto; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--navy); }
.service-card a.more:hover { color: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.portrait-box { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); border-radius: 16px; padding: 44px 40px; color: #d6e0ea; position: relative; }
.portrait-box .initials { width: 96px; height: 96px; border-radius: 50%; background: var(--gold); color: var(--white); display: grid; place-items: center; font-family: var(--serif); font-size: 2.2rem; font-weight: 600; margin-bottom: 22px; }
.portrait-box h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 4px; }
.portrait-box .role { color: var(--gold-soft); font-size: 15px; margin-bottom: 22px; }
.portrait-box ul { list-style: none; padding: 0; margin: 0; }
.portrait-box li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 15.5px; }

.checklist { list-style: none; padding: 0; margin: 0 0 28px; }
.checklist li { padding: 8px 0 8px 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-size: 2rem; color: var(--gold); display: block; margin-bottom: 8px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #d6e0ea; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 60px; padding-bottom: 60px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #c2cfdc; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page header ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #c9d5e1; padding: 76px 0 70px; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { max-width: 680px; font-size: 1.1rem; margin: 0; }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; }
.about-copy p { font-size: 1.08rem; }
.about-copy p:first-child { font-family: var(--serif); font-size: 1.45rem; color: var(--navy); line-height: 1.4; }
.creds { position: sticky; top: 110px; background: var(--paper); border-radius: 14px; padding: 32px 28px; border: 1px solid var(--line); }
.creds h3 { font-size: 1.15rem; }
.cred-item { padding: 14px 0; border-top: 1px solid var(--line); }
.cred-item:first-of-type { border-top: 0; }
.cred-item strong { display: block; color: var(--navy); font-size: 1.05rem; }
.cred-item span { color: var(--muted); font-size: 14.5px; }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.highlight { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 26px 24px; }
.highlights.four { grid-template-columns: repeat(4, 1fr); text-align: center; }
.highlight strong { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--navy); line-height: 1.15; margin-bottom: 6px; }
.highlight span { color: var(--muted); font-size: 15px; }

/* ---------- Services page ---------- */
.service-detail { display: grid; grid-template-columns: 80px 1fr; gap: 26px; padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.service-detail:first-child { border-top: 0; padding-top: 0; }
.service-detail .service-icon { width: 64px; height: 64px; }
.service-detail .service-icon svg { width: 32px; height: 32px; }
.service-detail p { color: var(--muted); }
.service-detail ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.service-detail li { padding: 5px 0 5px 22px; position: relative; font-size: 15.5px; }
.service-detail li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.services-index { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.services-index a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px; text-decoration: none; font-size: 14.5px; color: var(--ink); background: var(--white); }
.services-index a:hover { border-color: var(--gold); color: var(--navy); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-info .info-row { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-info .info-row:first-of-type { border-top: 0; }
.contact-info .service-icon { flex: 0 0 auto; margin: 0; }
.contact-info strong { display: block; color: var(--navy); }
.contact-info a { font-size: 1.1rem; font-weight: 600; text-decoration: none; }
.free-box { background: var(--gold-soft); border-radius: 12px; padding: 24px 24px; margin-top: 22px; border: 1px solid #e6d3ae; }
.free-box h3 { margin-bottom: 6px; color: #6b4a12; }
.free-box p { margin: 0; color: #6b5734; font-size: 15.5px; }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 36px 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd6de; border-radius: 8px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 137, 59, 0.18); }
.field textarea { min-height: 140px; resize: vertical; }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 20px; }
.field-check input { margin-top: 5px; }
.hp-field { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-weight: 500; }
.notice-ok { background: #e7f4ea; color: #1e5b2e; border: 1px solid #bfe0c7; }
.notice-err { background: #fbeaea; color: #8a2222; border: 1px solid #efc4c4; }

/* ---------- Generic content ---------- */
.entry-content { max-width: 780px; }
.entry-content > * + * { margin-top: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #a9b7c5; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer h4 { color: var(--white); font-family: var(--sans); font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #d8e1ea; text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer .brand-name { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 24px; grid-template-columns: none; flex-wrap: wrap; font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.services-grid { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.hero .wrap { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 70px; }
	.offer-card { max-width: 520px; }
}
@media (max-width: 880px) {
	.menu-toggle { display: block; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: none; padding: 10px 24px 20px; box-shadow: var(--shadow); }
	.main-nav.open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; }
	.nav-cta { margin: 10px 0 0; text-align: center; }
	.split, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
	.creds { position: static; }
	.highlights, .highlights.four { grid-template-columns: 1fr 1fr; }
	.stats .wrap { grid-template-columns: repeat(2, 1fr); }
	.site-footer .wrap { grid-template-columns: 1fr; }
	.topbar .offer { display: none; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.section { padding: 64px 0; }
	.services-grid, .steps { grid-template-columns: 1fr; }
	.form-row { grid-template-columns: 1fr; }
	.service-detail { grid-template-columns: 1fr; gap: 14px; }
	.service-detail ul { grid-template-columns: 1fr; }
	.contact-form { padding: 26px 20px; }
}
