/*
Theme Name: AK Financial Services
Theme URI: https://akfinancialservices.net
Author: AK Financial Services
Description: Custom theme for akfinancialservices.net (AK Financial Services, Sri Ganganagar) offering Group Loans and Two-Wheeler Loans through partner banks and NBFCs. On activation it creates the Home, Loans, About Us, Apply Now, Partner With Us, Customer Services and Contact pages, the main menu and policy pages. Edit phone, email, address and registration numbers in Appearance > Customize > AK Financial Settings.
Version: 2.6.0
Requires at least: 6.0
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: ak-financial
*/

:root {
	--brand-950: #061A3A;
	--brand-900: #0B2A5B;
	--brand-800: #133A73;
	--brand-700: #1450A3;
	--brand-50: #EAF1FB;
	--gold: #D4A72C;
	--gold-light: #F2D27A;
	--gold-dark: #8C6A0E;
	--gold-50: #FBF3DC;
	--ink: #14213D;
	--body: #2B3A55;
	--muted: #4A5874;
	--line: #DCE3EE;
	--field: #C3CFE0;
	--bg: #F4F7FB;
	--white: #FFFFFF;
	--radius: 16px;
	--shadow: 0 16px 40px rgba(11, 42, 91, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-700); }
a:hover { color: var(--brand-900); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; }
p { margin: 0; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 12px 18px; background: var(--white); color: var(--brand-900); border-radius: 8px; font-weight: 700;
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section--tight { padding: 56px 0; }
.eyebrow { display: inline-block; color: var(--gold-dark); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.on-dark .eyebrow, .page-hero .eyebrow { color: var(--gold-light); }
.section-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; max-width: 680px; }
.section-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); color: var(--brand-900); }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head--row { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 28px; border-radius: 12px; border: 2px solid transparent;
	font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: var(--gold); color: var(--brand-900); }
.btn--gold:hover { background: #E0B53A; color: var(--brand-900); }
.btn--primary { background: var(--brand-700); color: var(--white); }
.btn--primary:hover { background: var(--brand-900); color: var(--white); }
.btn--dark { background: var(--brand-900); color: var(--white); }
.btn--dark:hover { background: var(--brand-950); color: var(--white); }
.btn--ghost-light { border-color: #4F72A8; color: var(--white); background: transparent; }
.btn--ghost-light:hover { background: var(--brand-800); color: var(--white); }
.btn--outline { border-color: var(--field); color: var(--brand-900); background: var(--white); }
.btn--block { width: 100%; }

/* Top bar + header */
.topbar { background: var(--brand-900); color: #E3EBF7; font-size: 13px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar__info, .topbar__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
	width: 46px; height: 46px; border-radius: 12px; background: var(--brand-900); color: #E8BE45;
	display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; flex: 0 0 auto;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 20px; font-weight: 800; color: var(--brand-900); }
.brand__sub { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--gold-dark); }
.brand .custom-logo { max-height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a { display: block; padding: 10px 13px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 600; color: #3E4A63; }
.main-nav a:hover { background: var(--bg); color: var(--brand-900); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: var(--brand-50); color: var(--brand-900); }
.main-nav .nav-cta { margin-left: 8px; min-height: 46px; padding: 0 22px; font-size: 15px; }
.nav-toggle {
	display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 10px;
	background: var(--white); color: var(--brand-900); cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.main-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		flex-direction: column; align-items: stretch; padding: 12px 24px 20px;
	}
	.main-nav.is-open { display: flex; }
	.main-nav ul { flex-direction: column; align-items: stretch; }
	.main-nav a { padding: 14px 12px; font-size: 16px; }
	.main-nav .nav-cta { margin: 8px 0 0; }
}

/* Hero */
.hero { background: var(--brand-900); color: var(--white); padding: 72px 0 120px; }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__badge { align-self: flex-start; padding: 6px 14px; border-radius: 999px; background: var(--brand-800); color: var(--gold-light); font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; letter-spacing: -1px; }
.hero__lead { font-size: 19px; color: #CFDDF2; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; color: #CFDDF2; font-size: 14px; font-weight: 600; }
.hero__ticks span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-right: 8px; vertical-align: middle; }
.hero__card { flex: 1 1 360px; min-width: 0; background: var(--white); color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.hero__card h2 { font-size: 22px; color: var(--brand-900); margin-bottom: 6px; }
.hero__card > p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

.page-hero { background: var(--brand-900); color: var(--white); padding: 64px 0; }
.page-hero--pull { padding-bottom: 120px; }
.page-hero .container { display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 48px); max-width: 780px; }
.page-hero p { font-size: 18px; color: #CFDDF2; max-width: 640px; }
.page-hero .btn { align-self: flex-start; margin-top: 6px; }

/* Stats */
.stats { position: relative; margin-top: -48px; }
.stats__grid {
	background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
	display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.stat { padding: 28px 32px; display: flex; flex-direction: column; gap: 4px; }
.stat strong { font-size: 34px; font-weight: 800; color: var(--brand-900); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* Cards and grids */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid--small { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card--soft { background: var(--bg); border-color: transparent; }
.card h3 { font-size: 19px; color: var(--brand-900); }
.card p { color: var(--muted); font-size: 15px; }
.card--link { text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); }
.card__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--brand-700); }
.icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.icon-box--gold { background: var(--gold-50); color: var(--gold-dark); width: 44px; height: 44px; border-radius: 10px; }
.icon-box svg { width: 28px; height: 28px; }
.icon-box--gold svg { width: 24px; height: 24px; }

.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--brand-900); color: #E8BE45; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: 0 0 auto; }
.step-num--sm { width: 32px; height: 32px; font-size: 14px; }

.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split__main { flex: 999 1 560px; min-width: 0; }
.split__side h2 { font-size: clamp(28px, 4vw, 40px); color: var(--brand-900); }
.split__side p { color: var(--muted); font-size: 17px; }

.benefit { flex-direction: row; align-items: flex-start; gap: 16px; padding: 24px; }
.benefit h3 { font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.benefit p { font-size: 14px; }

/* EMI calculator */
.emi { display: flex; flex-wrap: wrap; gap: 32px; background: var(--bg); border-radius: 20px; padding: 40px; }
.emi__inputs { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.emi__field { display: flex; flex-direction: column; gap: 10px; }
.emi__label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; }
.emi__label output { color: var(--brand-900); font-size: 20px; font-weight: 800; }
.emi__range { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.emi input[type=range] { width: 100%; accent-color: var(--brand-700); height: 28px; cursor: pointer; }
.emi__result { flex: 1 1 320px; min-width: 0; background: var(--brand-900); color: var(--white); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.emi__result small { color: #CFDDF2; font-size: 14px; font-weight: 600; display: block; }
.emi__amount { font-size: 44px; font-weight: 800; color: var(--gold-light); line-height: 1.1; }
.emi__bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--gold); }
.emi__bar span { display: block; background: #7FB2F0; width: 70%; transition: width .2s ease; }
.emi__rows { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.emi__rows div { display: flex; justify-content: space-between; gap: 12px; }
.emi__rows div:last-child { padding-top: 10px; border-top: 1px solid #2A4D80; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.dot--p { background: #7FB2F0; } .dot--i { background: var(--gold); }
.emi__note { font-size: 12px; color: #A9BEDD; }

/* CTA band */
.cta-band { border-radius: 24px; background: var(--gold); padding: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band__copy { flex: 1 1 480px; display: flex; flex-direction: column; gap: 10px; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 34px); color: var(--brand-900); }
.cta-band p { font-size: 17px; color: #2E3A20; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 16px; }
.form fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.form legend { font-size: 20px; font-weight: 800; color: var(--brand-900); margin-bottom: 16px; padding: 0; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; border: 1px solid var(--field); border-radius: 10px; padding: 0 14px;
	font: inherit; font-weight: 500; font-size: 15px; color: var(--ink); background: var(--white);
}
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-700); outline: 2px solid rgba(20, 80, 163, .2); }
.field--dark { color: #E3EBF7; }
.field--dark input { border: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 500; }
.consent input { margin-top: 4px; accent-color: var(--brand-700); width: 18px; height: 18px; flex: 0 0 auto; }
.form__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form__hint { font-size: 13px; color: var(--muted); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; padding: 16px 0; }
.notice h2 { font-size: 26px; color: var(--brand-900); }
.notice p { color: var(--muted); font-size: 16px; }
.notice__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--brand-50); color: var(--brand-700); display: flex; align-items: center; justify-content: center; }
.notice--error { padding: 14px 18px; border-radius: 10px; background: #FDECEC; color: #8A1C1C; font-weight: 600; font-size: 14px; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px; }
.panel--raised { box-shadow: var(--shadow); }
.panel--dark { background: var(--brand-900); color: var(--white); border-color: var(--brand-900); }
.panel--dark p { color: #CFDDF2; }
.panel h2 { font-size: 26px; color: var(--brand-900); margin-bottom: 4px; }
.panel--dark h2 { color: var(--white); }
.pull-up { margin-top: -72px; }
@media (max-width: 640px) { .panel, .emi, .cta-band { padding: 24px; } }

.side-stack { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.side-box { border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--line); }
.side-box h2 { font-size: 20px; color: var(--brand-900); }
.side-box--gold { background: var(--gold-50); border-color: #E9D59A; }
.side-box--gold h2 { color: #5C4508; }
.side-box--gold ul { margin: 0; padding-left: 20px; color: #3B2E08; line-height: 1.9; }
.side-box--dark { background: var(--brand-900); border-color: var(--brand-900); color: var(--white); gap: 6px; }
.side-box--dark .big { font-size: 24px; font-weight: 800; color: var(--gold-light); }
.side-box--dark span { color: #CFDDF2; font-size: 14px; }
.step-line { display: flex; gap: 14px; align-items: flex-start; color: var(--body); }

/* Loans page */
.loans { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.loans__nav { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 12px; position: sticky; top: 100px; }
.loans__tab {
	display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 14px; border: 0; border-radius: 10px;
	text-align: left; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; background: transparent; color: var(--body); text-decoration: none;
}
.loans__tab svg { width: 22px; height: 22px; flex: 0 0 auto; }
.loans__tab:hover { background: var(--bg); color: var(--brand-900); }
.loans__tab[aria-selected=true] { background: var(--brand-900); color: var(--white); }
.loans__panels { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.js .loans__panel:not(.is-active) { display: none; }
.loan-detail { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 120px; }
.loan-detail__head { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.loan-detail__head .icon-box { width: 64px; height: 64px; border-radius: 16px; }
.loan-detail__head .icon-box svg { width: 34px; height: 34px; }
.loan-detail__head div:last-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; }
.loan-detail h2 { font-size: 32px; color: var(--brand-900); }
.loan-detail__head p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.fact { padding: 18px; border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 4px; }
.fact span { font-size: 13px; color: var(--muted); font-weight: 600; }
.fact strong { font-size: 18px; color: var(--brand-900); }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; color: var(--body); line-height: 1.5; }
.checklist li::before { content: ''; position: absolute; left: 2px; top: 4px; width: 16px; height: 9px; border-left: 2.5px solid var(--brand-700); border-bottom: 2.5px solid var(--brand-700); transform: rotate(-45deg); }
.checklist--gold li::before { width: 8px; height: 8px; border: 0; border-right: 2.5px solid var(--gold-dark); border-top: 2.5px solid var(--gold-dark); transform: rotate(45deg); top: 7px; }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.cols-2 h3 { font-size: 18px; margin-bottom: 12px; }
.docs { padding: 24px; border-radius: 14px; background: var(--gold-50); display: flex; flex-direction: column; gap: 12px; }
.docs h3 { font-size: 18px; color: #5C4508; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid #E9D59A; font-size: 14px; font-weight: 600; color: #3B2E08; }
.chip--green { background: var(--brand-50); border-color: transparent; color: var(--brand-700); text-decoration: none; font-weight: 700; }
.chip--green:hover { background: #D6E4F7; }

/* About */
.mini-stats { flex: 1 1 320px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mini-stats div { padding: 24px; border-radius: 16px; background: var(--brand-800); display: flex; flex-direction: column; gap: 4px; }
.mini-stats strong { font-size: 30px; color: var(--gold-light); line-height: 1.1; }
.mini-stats span { font-size: 14px; color: #CFDDF2; }
.hero-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-split > div:first-child { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.statement { padding: 40px; }
.statement h2 { font-size: 28px; line-height: 1.25; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.person__photo { height: 240px; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 700; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding: 22px; }
.person__body h3 { font-size: 19px; }
.person__body span { color: var(--muted); }
.reg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 20px 0; }
.reg-grid div { display: flex; flex-direction: column; gap: 4px; }
.reg-grid span { color: var(--muted); font-weight: 600; font-size: 14px; }

.numbered strong { font-size: 36px; font-weight: 800; color: var(--gold); }

/* Customer services */
.level { font-size: 13px; font-weight: 800; color: var(--gold-dark); letter-spacing: 1px; }
.faq { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; min-height: 60px; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--brand-700); line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 22px 20px; color: var(--muted); line-height: 1.7; }
.alert { padding: 32px; border-radius: 18px; background: var(--gold-50); border: 1px solid #E9D59A; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; color: #3B2E08; }
.alert h2 { font-size: 20px; color: #5C4508; margin-bottom: 6px; }
.alert > div { flex: 1 1 480px; }

/* Contact */
.map-box { flex: 1 1 220px; min-height: 260px; border-radius: 20px; background: var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 700; }
.map-box iframe { width: 100%; height: 100%; min-height: 260px; border: 0; }
.branch { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.branch:last-child { border-bottom: 0; padding-bottom: 0; }
.branch span { color: var(--muted); font-size: 14px; }

/* Generic page content */
.entry { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 48px; max-width: 880px; margin: 0 auto; }
.entry h2 { font-size: 26px; color: var(--brand-900); margin: 32px 0 12px; }
.entry h3 { font-size: 20px; margin: 24px 0 10px; }
.entry p, .entry ul, .entry ol { margin: 0 0 16px; color: var(--body); }
@media (max-width: 640px) { .entry { padding: 24px; } }

/* Footer */
.site-footer { background: var(--brand-950); color: #C9D5E8; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding: 64px 0 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { margin: 0 0 6px; color: var(--gold-light); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer__col a { color: #C9D5E8; text-decoration: none; }
.footer__col a:hover { color: var(--white); text-decoration: underline; }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.footer__brand .brand__mark { background: var(--gold); color: var(--brand-900); width: 42px; height: 42px; font-size: 16px; }
.footer__brand span { font-size: 19px; font-weight: 800; color: var(--white); }
.footer__fraud { border: 1px solid #1F3F70; border-radius: 12px; padding: 16px 20px; background: var(--brand-900); color: var(--gold-light); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 24px 0 32px; font-size: 13px; color: #9FB2CF; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-900); display: flex; align-items: center; justify-content: center; color: var(--gold-light); }
.socials a:hover { background: var(--brand-800); color: var(--white); text-decoration: none; }
.socials svg { width: 20px; height: 20px; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1E8E5A; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.wa-float:hover { background: #17754A; color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 640px) {
	.section { padding: 56px 0; }
	.hero { padding: 48px 0 96px; }
	.loan-detail { padding: 24px; }
	.loans__nav { position: static; }
	.emi__amount { font-size: 36px; }
}

/* Extras */
.numbered { display: flex; flex-direction: column; gap: 8px; }
.numbered h3 { font-size: 19px; }
.alert svg { width: 40px; height: 40px; display: block; }
.panel--dark .notice h2 { color: var(--white); }
.panel--dark .notice p { color: #CFDDF2; }
.notice__icon svg { width: 30px; height: 30px; stroke-width: 2.5; }
.footer__col p a { text-decoration: underline; }
.nav-toggle svg { width: 24px; height: 24px; }
.site-header .container { position: relative; }
.wp-block-image img { border-radius: 12px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 14px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--brand-900); color: var(--white); }

/* Header CTA and small screen refinements */
.main-nav .nav-cta { display: inline-flex; align-items: center; justify-content: center; color: var(--brand-900); background: var(--gold); font-weight: 800; }
.main-nav .nav-cta:hover { background: #E0B53A; color: var(--brand-900); }
@media (max-width: 1080px) { .main-nav .nav-cta { display: flex; min-height: 52px; } }
@media (max-width: 640px) {
	.topbar__hours, .topbar__email { display: none; }
	.stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat { padding: 20px; }
	.stat strong { font-size: 24px; }
	.brand__name { font-size: 18px; }
}

/* Two-product layout */
.grid--loans { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.loan-card { padding: 36px; gap: 16px; }
.loan-card h3 { font-size: 26px; }
.loan-card > p { font-size: 16px; }
.loan-card__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.loan-card__meta span { padding: 8px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand-900); font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .loan-card { padding: 24px; } }
/* Two loans: tabs sit in a row above the details */
.loans { flex-direction: column; align-items: stretch; gap: 24px; }
.loans__nav { flex-direction: row; flex-wrap: wrap; align-self: flex-start; position: static; flex: 0 0 auto; }
.loans__tab { width: auto; padding: 10px 22px; }
.loans__panels { flex: 1 1 auto; }
@media (max-width: 640px) {
	.loans__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: stretch; }
	.loans__tab { padding: 10px; font-size: 14px; justify-content: center; text-align: center; gap: 8px; }
}

/* Team: 4 across on desktop, 2 on tablet, 1 on phone */
.grid--team { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.grid--team .person__photo { height: auto; aspect-ratio: 1 / 1; }
@media (max-width: 1000px) { .grid--team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .grid--team { grid-template-columns: 1fr; } }

/* v2: brand logo, partners, team, footer */
.brand__logo { height: 48px; width: auto; display: block; }
.brand__sub { letter-spacing: 2px; }
.footer__logo { display: inline-flex; background: var(--white); border-radius: 12px; padding: 10px 14px; }
.footer__logo img { height: 64px; width: auto; display: block; }
.footer__col span { color: #C9D5E8; }
.footer__disclaimer { font-size: 12px; color: #9FB2CF; margin: 16px 0 0; line-height: 1.6; }
.break { word-break: break-all; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.partner { background: var(--white); border: 1px solid var(--line); border-radius: 14px; height: 92px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; }
.partner img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.partners__note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } .partner { height: 76px; } .partner img { max-height: 38px; } }
.person__initials { width: 112px; height: 112px; border-radius: 50%; background: var(--brand-900); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 40px; font-weight: 800; letter-spacing: 1px; }
.grid--team-few { grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); }
.grid--team .person__photo { background: var(--brand-50); }
.how-we-work p { color: var(--body); margin: 8px 0 20px; max-width: 820px; }
.stats__grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.cta-band .btn--outline { background: transparent; border-color: var(--brand-900); }
@media (max-width: 640px) { .brand__logo { height: 40px; } .brand__name { font-size: 16px; } }
.page-hero .container.hero-split { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 40px; }
.page-hero .hero-split > div:first-child h1 { max-width: 640px; }
.mini-stats strong { font-size: 26px; white-space: nowrap; }

/* v2.6: portrait team photos, keep heads in frame */
.grid--team .person__photo { aspect-ratio: 4 / 5; height: auto; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
