
:root {
  --navy: #0b1e3b;
  --navy-deep: #07152b;
  --ink: #17243a;
  --muted: #68758a;
  --gold: #c99a42;
  --gold-light: #e7c57d;
	--menu-hover-blue: #4a97e0;
  --paper: #f7f8fa;
  --line: #dfe4eb;
}

.brand-logo { width: 190px; height: auto; display: block; object-fit: contain; }
.footer-brand .brand-logo { width: 205px; filter: brightness(0) invert(1); }
.brand-logo-square { width: 48px !important; height: 48px; object-fit: contain; }
.footer-brand .brand-logo-square { width: 58px !important; height: 58px; filter: none; }

html { font-size: 16px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: 'DM Sans', sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.site-container { max-width: 1240px; }
.topbar { color: #dce4f0; background: var(--navy-deep); font-size: .74rem; letter-spacing: .04em; }
.topbar-inner { min-height: 37px; display: flex; align-items: center; justify-content: space-between; }
.topbar-contact { display: flex; align-items: center; gap: 14px; }
.topbar-contact a { color: #fff !important; }
.topbar-contact a:hover { color: #fff !important; }
.topbar-divider { width: 1px; height: 12px; background: #49607d; }
.main-nav { min-height: 92px; padding: 0; background: #fff; border-bottom: 1px solid #edf0f4; position: relative; z-index: 20; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); flex-shrink: 0; }
.brand-mark { width: 45px; height: 45px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--gold); color: var(--navy); font: 600 1.05rem 'Playfair Display', serif; letter-spacing: -.08em; }
.brand-mark span { color: var(--gold); font-size: .8rem; padding: 0 1px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; letter-spacing: .15em; }
.brand-copy strong { font-size: .95rem; font-weight: 700; }
.brand-copy small { margin-top: 5px; color: var(--gold); font-size: .52rem; letter-spacing: .24em; }
.navbar-nav { gap: 2px; }
.nav-link { padding: 35px 13px !important; color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: .02em; }
.nav-link:hover, .nav-link.active { color: var(--menu-hover-blue) !important; font-weight: 700; }
.nav-chevron { color: var(--gold); font-size: 1rem; margin-left: 3px; }
.nav-contact-item { margin-left: 0; }
.nav-contact-link { padding: 35px 13px !important; color: var(--ink) !important; background: transparent; }
.nav-contact-link:hover { color: var(--menu-hover-blue) !important; background: transparent; font-weight: 700; }
.nav-contact-link span { margin-left: 10px; font-size: 1rem; }
.services-nav-item { position: static; }
.services-mega-menu { position: absolute; z-index: 30; top: 100%; left: 50%; width: min(100vw, 1440px); max-height: calc(100vh - 130px); overflow-y: auto; padding: 38px 0 43px; color: #fff; background: var(--navy); box-shadow: 0 18px 30px rgba(7, 21, 43, .14); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.services-nav-item:hover .services-mega-menu, .services-nav-item:focus-within .services-mega-menu, .services-nav-item.menu-open .services-mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-heading { margin-bottom: 28px; }
.eyebrow { display: block; margin-bottom: 8px; color: var(--gold-light); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.mega-heading h2 { margin: 0 0 5px; color: #fff; font: 500 1.7rem 'Playfair Display', serif; }
.mega-heading p { margin: 0; color: #b9c7da; font-size: .85rem; }
.services-mega-menu h3 { padding-bottom: 11px; margin: 0 0 8px; border-bottom: 1px solid #344762; color: #fff; font-size: .77rem; letter-spacing: .04em; }
.services-mega-menu a { display: block; padding: 5px 0; color: #bfcbda; font-size: .92rem; }
.services-mega-menu a:hover { color: var(--menu-hover-blue); padding-left: 5px; }
.services-menu-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.services-menu-column { min-width: 0; }
.services-menu-column h3 { margin-bottom: 10px; }
.services-menu-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 24px; margin-top: 30px; border-top: 1px solid #344762; color: #b9c7da; font-size: .78rem; }
.services-menu-footer a { display: inline-flex; align-items: center; gap: 12px; padding: 0; color: var(--menu-hover-blue); font-weight: 700; }
.services-menu-footer a:hover { padding-left: 0; color: var(--menu-hover-blue); }
.site-footer { padding: 70px 0 22px; color: #e2e2e2; background: #050505; }
.footer-brand { color: #fff; }
.footer-brand .brand-mark { color: #fff; }
.footer-intro { max-width: 350px; margin: 24px 0 0; color: #c7c7c7; font-size: .88rem; }
.site-footer h3 { margin: 3px 0 16px; color: #fff; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p, .site-footer a { color: #c7c7c7; font-size: 18px; }
.site-footer a { display: block; margin: 0 0 7px; font-weight: 400; }
.site-footer a:hover { color: var(--menu-hover-blue); }
.footer-address { margin: 20px 0 14px; line-height: 1.8; }
.footer-map-frame { height: 190px; overflow: hidden; margin: 0 0 14px; border: 1px solid #333; background: #111; }
.footer-map-frame iframe { width: 100%; height: 100%; border: 0; }
.site-footer a.map-link { color: #c7c7c7; font-size: 18px; font-weight: 400; }
.site-footer .footer-main a:not(.map-link) { color: #c7c7c7; }
.site-footer .footer-main a:not(.map-link):hover { color: var(--menu-hover-blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; margin-top: 54px; border-top: 1px solid #292929; color: #888; font-size: .72rem; }
.footer-bottom a { display: inline; font-size: .72rem; }
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: inline-flex !important; align-items: center; gap: 8px; padding: 12px 17px; border-radius: 999px; color: #fff !important; background: #25d366; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); font-size: .82rem !important; font-weight: 700; }
.whatsapp-float:hover { color: #fff !important; background: #1da851; transform: translateY(-2px); }
.whatsapp-float svg { width: 22px; height: 22px; fill: currentColor; }
.about-page-hero { padding: 105px 0 110px; color: #fff; background: linear-gradient(115deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('../images/sonagra-corporate-consultation-sunrise.webp') center/cover; }
.about-page-hero h1 { max-width: 760px; margin: 0 0 20px; font: 500 clamp(2.5rem, 5vw, 4.6rem)/1.08 'Playfair Display', serif; }
.about-page-hero p { margin: 0; color: #dce4f0; font-size: 1.05rem; }
.about-image-frame { height: 455px; overflow: hidden; border: 7px solid #fff; box-shadow: 0 18px 45px rgba(11, 30, 59, .14); }
.about-image-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.about-highlight-section { background: var(--paper); }
.about-highlight-section p { color: var(--muted); }
.about-section-heading { max-width: 700px; margin: 0 auto 42px; }
.about-value-card { height: 100%; padding: 32px 28px; border-top: 3px solid var(--gold); background: #fff; box-shadow: 0 10px 28px rgba(11, 30, 59, .07); }
.about-value-card span { color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .12em; }
.about-value-card h3 { margin: 22px 0 12px; color: var(--navy); font: 500 1.45rem 'Playfair Display', serif; }
.about-value-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.about-story-section.section-space,
.about-capabilities-section.section-space,
.about-policies-section.section-space { padding: 64px 0; }
.about-highlight-section.section-space-sm { padding: 48px 0; }
.about-section-heading { margin-bottom: 30px; }
.about-section-heading .section-title { margin-bottom: 14px; }
.about-beyond-note { color: var(--navy); font-size: 1rem; }
.about-policies-section .about-section-heading { max-width: 940px; }
.about-policies-section { background: var(--paper); }
.about-policies-section .about-section-heading p { color: var(--muted); font-size: .95rem; }
.about-policies-section .about-value-card h3 { font-size: 1.25rem; line-height: 1.3; }
.about-services-band { color: #fff; background: var(--navy); }
.about-services-band h2 { margin: 0 0 10px; font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.2 'Playfair Display', serif; }
.about-services-band p { max-width: 680px; margin: 0; color: #b9c7da; }
.sectors-page-hero { padding: 105px 0 110px; color: #fff; background: linear-gradient(115deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('../images/sonagra-corporate-business-advisory.webp') center/cover; }
.sectors-page-hero h1 { margin: 0 0 14px; font: 500 clamp(2.8rem, 5vw, 4.8rem)/1.08 'Playfair Display', serif; }
.sectors-page-hero p { margin: 0; color: #dce4f0; font-size: 1.05rem; }
.sectors-intro { background: #fff; }
.sectors-intro p { color: var(--muted); }
.sectors-grid-section { background: var(--paper); }
.sectors-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sector-card { min-height: 118px; display: flex; align-items: center; background: #fff; border: 1px solid #e6ebf1; border-left: 3px solid var(--gold); box-shadow: 0 6px 18px rgba(11, 30, 59, .05); transition: transform .2s ease, box-shadow .2s ease; }
.sector-card:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(11, 30, 59, .1); }
.sector-card-content { width: 100%; min-height: 118px; display: flex; flex-direction: column; justify-content: center; padding: 18px 20px; }
.sector-card-content > span { color: var(--gold); font-size: .7rem; font-weight: 700; letter-spacing: .14em; }
.sector-card-content h2 { margin: 7px 0 0; color: var(--navy); font: 500 1.12rem/1.25 'Playfair Display', serif; }
.sectors-cta { color: #fff; background: var(--navy); }
.sectors-cta h2 { margin: 0 0 10px; font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.2 'Playfair Display', serif; }
.sectors-cta p { margin: 0; color: #b9c7da; }
.careers-page-hero { padding: 105px 0 110px; color: #fff; background: linear-gradient(115deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('../images/sonagra-compliance-team.webp') center/cover; }
.careers-page-hero h1 { margin: 0 0 14px; font: 500 clamp(2.8rem, 5vw, 4.8rem)/1.08 'Playfair Display', serif; }
.careers-page-hero p { max-width: 650px; margin: 0; color: #dce4f0; font-size: 1.05rem; }
.careers-intro p { color: var(--muted); }
.careers-section-heading { max-width: 700px; margin: 0 auto 42px; }
.careers-roles-section { background: var(--paper); }
.careers-role-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.career-role-card { display: flex; flex-direction: column; min-height: 320px; padding: 30px 28px 25px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); box-shadow: 0 8px 22px rgba(11, 30, 59, .06); }
.career-role-heading { display: flex; align-items: flex-start; gap: 16px; }
.career-role-number { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.career-role-card h2 { margin: -4px 0 0; color: var(--navy); font: 500 1.45rem/1.25 'Playfair Display', serif; }
.career-role-card h3 { margin: 26px 0 10px; color: var(--navy); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.career-role-card ul { flex: 1; padding-left: 19px; margin: 0 0 22px; color: var(--muted); font-size: .9rem; }
.career-role-card li { margin-bottom: 7px; }
.career-apply-link { align-self: flex-start; color: var(--navy); font-size: .86rem; font-weight: 700; }
.career-apply-link span { margin-left: 12px; color: var(--gold); }
.career-apply-link:hover { color: #0d6efd; }
.careers-cta { color: #fff; background: var(--navy); }
.careers-cta h2 { margin: 0 0 10px; font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.2 'Playfair Display', serif; }
.careers-cta p { margin: 0; color: #b9c7da; }
.service-detail-hero { padding: 105px 0 110px; color: #fff; background: linear-gradient(115deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('../images/corporate-law-and-advisory.webp') center/cover; }
.governance-hero { background: linear-gradient(115deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('../images/pexels-kindelmedia-7688173.webp') center/cover; }
.service-detail-hero h1 { margin: 0 0 18px; font: 500 clamp(2.6rem, 5vw, 4.7rem)/1.08 'Playfair Display', serif; }
.service-detail-hero p { max-width: 650px; margin: 0; color: #dce4f0; font-size: 1.05rem; }
.service-detail-section p { color: var(--muted); }
.governance-subtitle { margin: 34px 0 14px; color: var(--navy); font: 500 1.7rem 'Playfair Display', serif; }
.governance-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 32px 0 20px; }
.governance-image-grid img { width: 100%; height: 320px; object-fit: cover; border: 1px solid #e2e8f0; }
.governance-service-page .governance-main-image-wrap { margin-top: 30px; }
.governance-service-page .governance-main-image { width: 100%; height: 520px; object-fit: cover; border-radius: 22px; border: 1px solid #e2e8f0; }
.governance-service-page .governance-intro-split { margin-top: 60px; padding: 40px 30px 0; background: #f8f8f8; }
.governance-service-page .governance-intro-media { display: flex; align-items: flex-start; }
.governance-service-page .governance-intro-image { width: 100%; height: 390px; margin-bottom: -60px; object-fit: cover; border-radius: 22px; border: 1px solid #e2e8f0; box-shadow: 0 12px 28px rgba(10, 31, 59, .08); }
.governance-service-page .governance-review-image { height: 420px; border-radius: 22px; margin-top: 18px; margin-bottom: 12px; }
.governance-service-page .governance-report-image-grid { margin-top: 22px; margin-bottom: 8px; }
.governance-service-page .governance-report-image-grid img { height: 320px; border-radius: 22px; box-shadow: 0 12px 28px rgba(10, 31, 59, .08); }
.governance-content-section { margin-top: 46px; }
.governance-feature-list { display: grid; gap: 12px; margin-top: 18px; }
.governance-feature-list article { padding: 15px 17px; border-left: 3px solid var(--gold); background: var(--paper); }
.governance-feature-list h4 { margin: 0 0 5px; color: var(--navy); font: 600 1rem/1.35 'Playfair Display', serif; }
.governance-feature-list p { margin: 0; font-size: .88rem; }
.governance-bullet-list { margin: 14px 0 0; padding-left: 1.2rem; }
.governance-bullet-list li { margin-bottom: 8px; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.governance-inline-image { width: 100%; margin-top: 18px; border: 1px solid #e2e8f0; height: 320px; object-fit: cover; }
.governance-split { margin-top: 54px; }
.governance-split .row { margin: 0; }
.governance-split-media { display: flex; align-items: center; }
.governance-split-image { width: 100%; max-width: 100%; height: 320px; object-fit: cover; border: 1px solid #e2e8f0; box-shadow: 0 12px 28px rgba(10, 31, 59, .08); }
.governance-support-split h3 { margin-top: 0; }
.governance-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; padding: 0; margin: 14px 0 0; list-style: none; }
.governance-check-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.governance-check-list li::before { position: absolute; left: 0; top: .28rem; width: 16px; height: 16px; border-radius: 50%; background: #215fa7; color: #fff; content: '✓'; display: inline-flex; align-items: center; justify-content: center; font-size: .68rem; font-weight: 700; }
@media (max-width: 991.98px) {
	.governance-image-grid { grid-template-columns: 1fr; }
	.governance-image-grid img { height: 260px; }
	.governance-service-page .governance-main-image { height: 320px; }
	.governance-service-page .governance-intro-split { padding: 28px 18px; }
	.governance-service-page .governance-intro-image { height: 280px; margin-bottom: 0; }
	.governance-service-page .governance-review-image { height: 280px; }
	.governance-service-page .governance-report-image-grid img { height: 260px; }
	.governance-inline-image { height: 260px; }
	.governance-split-image { height: 260px; }
	.governance-check-list { grid-template-columns: 1fr; }
}
.service-detail-points { margin-top: 40px; }
.service-detail-points h3 { margin-bottom: 20px; color: var(--navy); font: 500 1.7rem 'Playfair Display', serif; }
.service-detail-point { height: 100%; padding: 22px; border-top: 2px solid var(--gold); background: var(--paper); }
.service-detail-point span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.service-detail-point strong { display: block; margin: 11px 0 5px; color: var(--navy); }
.service-detail-point p { margin: 0; font-size: .85rem; }
.service-detail-list { display: grid; gap: 18px; }
.service-detail-list article { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 22px 24px; border-left: 3px solid var(--gold); background: var(--paper); }
.service-detail-list article > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .12em; }
.service-detail-list h3 { margin: 0 0 7px; color: var(--navy); font: 500 1.3rem/1.25 'Playfair Display', serif; }
.service-detail-list p { margin: 0; font-size: .9rem; line-height: 1.7; }
.sebi-service-detail-list article { display: block; }
.sebi-service-detail-list article h2 { margin: 0 0 18px; color: var(--navy); font: 500 clamp(1.45rem, 2.4vw, 2rem)/1.2 'Playfair Display', serif; }
.sebi-service-detail-list article h3 { margin: 24px 0 10px; color: var(--navy); font: 600 1.05rem/1.35 'Playfair Display', serif; }
.sebi-service-detail-list .service-detail-points { margin: 0; padding-left: 1.25rem; }
.sebi-service-detail-list .service-detail-points li { margin-bottom: 9px; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.service-detail-sidebar { position: sticky; top: 30px; max-height: calc(100vh - 60px); overflow-y: auto; padding: 26px; background: #050505; }
.service-detail-sidebar a.active { color: var(--gold); font-weight: 700; }
.service-detail-sidebar h2 { margin: 0 0 16px; color: #fff; font: 500 1.7rem 'Playfair Display', serif; }
.service-detail-sidebar a { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-top: 1px solid #292929; color: #fff; font-size: .86rem; }
.service-detail-sidebar a span { color: #123f73; }
.service-detail-sidebar a:hover { color: #123f73; }
.service-detail-cta { color: #fff; background: var(--navy); }
.service-detail-cta h2 { margin: 0 0 10px; font: 500 clamp(1.8rem, 3vw, 2.7rem)/1.2 'Playfair Display', serif; }
.service-detail-cta p { margin: 0; color: #b9c7da; }
.formation-hero { min-height: 470px; display: flex; align-items: center; color: #fff; background: linear-gradient(90deg, rgba(5, 18, 37, .40), rgba(5, 18, 37, .22)), url('../images/sonagra-company-formation-advisory.webp') center/cover; }
.formation-hero-content { max-width: 760px; padding: 95px 0; }
.formation-hero h1 { max-width: 760px; margin: 14px 0 20px; font: 500 clamp(2.7rem, 5vw, 5rem)/1.05 'Playfair Display', serif; }
.formation-hero p { max-width: 650px; margin: 0; color: #dce4f0; font-size: 1.08rem; line-height: 1.8; }
.formation-image-frame { position: relative; padding: 0 28px 28px 0; }
.formation-image-frame::after { position: absolute; z-index: 0; right: 0; bottom: 0; width: 78%; height: 82%; border: 1px solid var(--gold); content: ''; }
.formation-image-frame img { position: relative; z-index: 1; display: block; width: 100%; max-height: 430px; object-fit: cover; box-shadow: 0 18px 42px rgba(10, 31, 59, .16); }
.formation-image-badge { position: absolute; z-index: 2; right: 0; top: 28px; display: flex; align-items: center; gap: 10px; padding: 13px 17px; color: #fff; background: var(--navy); box-shadow: 0 10px 25px rgba(10, 31, 59, .2); }
.formation-image-badge strong { color: var(--gold); font-size: 1.35rem; }
.formation-image-badge small { font-size: .68rem; line-height: 1.25; letter-spacing: .08em; text-transform: uppercase; }
.formation-inline-link { margin-top: 14px; }
.formation-structure-card { height: 100%; min-height: 195px; padding: 28px 25px; border: 1px solid #e1e6ed; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.formation-structure-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(10, 31, 59, .1); }
.formation-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 17px; color: var(--gold); border: 1px solid rgba(201, 154, 66, .55); font-size: 1.2rem; }
.formation-structure-card h3 { margin: 0 0 9px; color: var(--navy); font: 500 1.25rem/1.2 'Playfair Display', serif; }
.formation-structure-card p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }
.formation-support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.formation-support-grid article { display: flex; gap: 16px; padding: 20px; border-left: 2px solid var(--gold); background: var(--paper); }
.formation-support-grid article > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.formation-support-grid h3 { margin: 0 0 6px; color: var(--navy); font: 500 1.1rem 'Playfair Display', serif; }
.formation-support-grid p { margin: 0; font-size: .84rem; line-height: 1.6; }
.formation-side-image img { display: block; width: 100%; height: 270px; object-fit: cover; }
.formation-note { margin-top: 18px; padding: 25px; color: #fff; background: var(--navy); }
.formation-note .formation-icon { margin-bottom: 13px; }
.formation-note h3 { margin: 0 0 7px; font: 500 1.4rem 'Playfair Display', serif; }
.formation-note p { margin: 0; color: #c6d2e1; font-size: .88rem; line-height: 1.65; }
.formation-image-frame-small { max-width: 470px; }
.formation-image-frame-small img { height: 315px; }
.formation-chip-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.formation-chip-list span { padding: 8px 12px; color: var(--navy); border: 1px solid #d8dee7; background: #fff; font-size: .77rem; }
.formation-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
.formation-principles div { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-top: 1px solid #dce2ea; }
.formation-principles strong { color: var(--gold); font-size: .75rem; }
.formation-principles span { color: var(--navy); font-size: .88rem; }
.formation-services-section { color: #fff; background: var(--navy); }
.formation-services-section h2 { margin: 12px 0; font: 500 clamp(2rem, 4vw, 3.4rem)/1.15 'Playfair Display', serif; }
.formation-services-section p { color: #c6d2e1; }
.formation-services-section .service-detail-sidebar { background: #050505; }
.formation-services-section .service-detail-sidebar h2 { margin: 0 0 16px; font-size: 1.7rem; }
.formation-services-section .service-detail-sidebar a.active { color: var(--gold); }
.formation-reference-page { background: #fff; }
.formation-reference-main { max-width: 1120px; margin: 0 auto; }
.formation-reference-main .formation-reference-section { max-width: 100%; }
.formation-reference-main .formation-reference-intro { max-width: 980px; margin-right: auto; margin-left: auto; }
.formation-reference-main .formation-reference-image img { max-height: 460px; }
.formation-reference-main .formation-two-column .formation-reference-image img { max-height: 430px; }
.formation-reference-section { margin-bottom: 74px; }
.formation-reference-section:last-child { margin-bottom: 0; }
.formation-reference-section h2 { margin: 0 0 20px; color: var(--navy); font: 500 clamp(1.85rem, 3vw, 2.65rem)/1.18 'Playfair Display', serif; }
.formation-reference-section h3 { margin: 0 0 8px; color: var(--navy); font: 500 1.22rem/1.3 'Playfair Display', serif; }
.formation-reference-section p { color: var(--muted); font-size: .94rem; line-height: 1.85; }
.formation-reference-section .lead-copy { color: var(--navy); font-size: 1.08rem; line-height: 1.75; }
.formation-reference-intro { padding-bottom: 8px; }
.formation-reference-image { overflow: hidden; margin-top: 28px; background: var(--paper); }
.formation-reference-image img { display: block; width: 100%; height: 330px; object-fit: cover; transition: transform .45s ease; }
.formation-reference-image:hover img { transform: scale(1.035); }
.formation-two-column { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 38px; }
.formation-two-column .formation-reference-image { margin: 0; }
.formation-two-column .formation-reference-image img { height: 375px; }
.formation-two-column-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.formation-two-column-reverse .formation-reference-image img { height: 430px; }
.formation-entity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; margin: 23px 0 25px; }
.formation-entity-grid span { position: relative; padding: 12px 14px 12px 29px; color: var(--navy); border: 1px solid #e2e7ee; background: var(--paper); font-size: .86rem; line-height: 1.45; }
.formation-entity-grid span::before { position: absolute; top: 19px; left: 13px; width: 6px; height: 6px; content: ''; border-radius: 50%; background: var(--gold); }
.formation-entity-grid-compact { grid-template-columns: repeat(2, 1fr); }
.formation-reference-services { display: grid; gap: 14px; margin-top: 26px; }
.formation-reference-services article { display: grid; grid-template-columns: 38px 1fr; gap: 17px; padding: 22px 23px; border-left: 3px solid var(--gold); background: var(--paper); }
.formation-reference-services article > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.formation-reference-services p { margin: 0; font-size: .88rem; line-height: 1.7; }
.formation-highlight-section { padding: 38px 34px 30px; border-top: 3px solid var(--gold); background: var(--paper); }
.formation-principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 25px; margin: 26px 0; }
.formation-principle-grid > div { padding-top: 13px; border-top: 1px solid #d9e0e8; }
.formation-principle-grid strong { display: block; margin-bottom: 9px; color: var(--gold); font-size: .72rem; letter-spacing: .1em; }
.formation-principle-grid h3 { margin-bottom: 5px; font-size: 1.05rem; }
.formation-principle-grid p { margin: 0; font-size: .82rem; line-height: 1.6; }
.formation-benefit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 25px; margin: 22px 0 0; padding: 0; list-style: none; }
.formation-benefit-list li { position: relative; padding: 0 0 0 22px; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.formation-benefit-list li::before { position: absolute; top: .55em; left: 0; width: 7px; height: 7px; content: ''; border-radius: 50%; background: var(--gold); }
.formation-faq-section details { border-bottom: 1px solid #dfe4ea; }
.formation-faq-section summary { padding: 19px 28px 19px 0; color: var(--navy); cursor: pointer; font: 500 1.04rem 'Playfair Display', serif; list-style: none; position: relative; }
.formation-faq-section summary::-webkit-details-marker { display: none; }
.formation-faq-section summary::after { position: absolute; right: 5px; content: '+'; color: var(--gold); font: 400 1.35rem Arial, sans-serif; }
.formation-faq-section details[open] summary::after { content: '−'; }
.formation-faq-section details p { max-width: 95%; margin: 0 0 19px; font-size: .88rem; }
.formation-reference-sidebar { position: sticky; top: 30px; }
.company-law-reference { background: #fff; }
.company-law-reference main > p { color: var(--muted); font-size: .94rem; line-height: 1.85; }
.company-law-reference main > .lead-copy { color: var(--navy); font-size: 1.08rem; line-height: 1.75; }
.company-law-reference-list { margin-top: 38px; border-top: 1px solid #dfe4ea; }
.company-law-reference-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; padding: 23px 10px; border-bottom: 1px solid #dfe4ea; }
.company-law-reference-item > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.company-law-reference-item p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.company-law-reference-sidebar { position: sticky; top: 30px; }
.company-law-reference-sidebar a.active { color: var(--gold); }
.fema-reference { background: #fff; }
.fema-reference main > p { color: var(--muted); font-size: .94rem; line-height: 1.85; }
.fema-reference main > .lead-copy { color: var(--navy); font-size: 1.08rem; line-height: 1.75; }
.fema-reference-list { margin-top: 38px; border-top: 1px solid #dfe4ea; }
.fema-reference-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; padding: 23px 10px; border-bottom: 1px solid #dfe4ea; }
.fema-reference-item > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.fema-reference-item p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.fema-reference-sidebar { position: sticky; top: 30px; }
.fema-reference-sidebar a.active { color: var(--gold); }
.fema-hero { background-image: linear-gradient(115deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('../images/fema-matters.webp'); }
.trademark-reference { background: #fff; }
.trademark-reference main > p { color: var(--muted); font-size: .94rem; line-height: 1.85; }
.trademark-reference main > .lead-copy { color: var(--navy); font-size: 1.08rem; line-height: 1.75; }
.trademark-reference-list { margin-top: 38px; border-top: 1px solid #dfe4ea; }
.trademark-reference-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; padding: 23px 10px; border-bottom: 1px solid #dfe4ea; }
.trademark-reference-item > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.trademark-reference-item p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.trademark-reference-sidebar { position: sticky; top: 30px; }
.trademark-reference-sidebar a.active { color: var(--gold); }
.trademark-hero { background-image: linear-gradient(115deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('../images/intellectual-property-rights-trademark.webp'); }
.amalgamation-reference { background: #fff; }
.amalgamation-reference main > p { color: var(--muted); font-size: .94rem; line-height: 1.85; }
.amalgamation-reference main > .lead-copy { color: var(--navy); font-size: 1.08rem; line-height: 1.75; }
.amalgamation-reference-list { margin-top: 38px; border-top: 1px solid #dfe4ea; }
.amalgamation-reference-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; padding: 23px 10px; border-bottom: 1px solid #dfe4ea; }
.amalgamation-reference-item > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.amalgamation-reference-item p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.75; }
.amalgamation-reference-sidebar { position: sticky; top: 30px; }
.amalgamation-reference-sidebar a.active { color: var(--gold); }
.amalgamation-hero { background-image: linear-gradient(115deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('../images/amalgamation.webp'); }
.company-law-intro { max-width: 980px; margin: 0 auto 34px; }
.company-law-feature-image { display: grid; grid-template-columns: 1.15fr .85fr; align-items: stretch; margin: 0 auto 72px; background: var(--paper); }
.company-law-feature-image img { width: 100%; height: 335px; object-fit: cover; }
.company-law-feature-image > div { padding: 40px 38px; }
.company-law-feature-image h2 { margin: 10px 0 14px; color: var(--navy); font: 500 clamp(1.8rem, 3vw, 2.5rem)/1.15 'Playfair Display', serif; }
.company-law-feature-image p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.company-law-section { max-width: 1080px; margin: 0 auto 72px; }
.company-law-heading { max-width: 760px; margin-bottom: 30px; }
.company-law-heading h2 { margin: 9px 0 12px; color: var(--navy); font: 500 clamp(1.9rem, 3vw, 2.8rem)/1.18 'Playfair Display', serif; }
.company-law-heading p { color: var(--muted); font-size: .92rem; }
.company-law-service-list { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid #dfe4ea; }
.company-law-service-list article { display: grid; grid-template-columns: 48px minmax(210px, .65fr) 1.35fr; gap: 20px; align-items: start; padding: 22px 10px; border-bottom: 1px solid #dfe4ea; background: #fff; }
.company-law-service-list article > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.company-law-service-list h3 { margin: 0; color: var(--navy); font: 500 1.12rem/1.35 'Playfair Display', serif; }
.company-law-service-list p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.company-law-highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1080px; margin: 0 auto 72px; padding: 38px 40px; color: #fff; background: var(--navy); }
.company-law-highlight h2 { margin: 10px 0 0; font: 500 clamp(1.8rem, 3vw, 2.55rem)/1.15 'Playfair Display', serif; }
.company-law-highlight p { margin: 0; color: #cbd6e4; font-size: .92rem; line-height: 1.75; }
.company-law-llp-section { padding-top: 12px; border-top: 1px solid #e1e6ed; }
.company-law-feature-image { display: grid; }
.company-law-feature-image img { min-height: 280px; }
.company-law-feature-image .eyebrow { color: var(--gold); }
@media (max-width: 575.98px) {
  .company-law-feature-image { grid-template-columns: 1fr; }
  .company-law-feature-image img { height: 235px; }
  .company-law-feature-image > div { padding: 28px 23px; }
}
.career-apply-link { border: 0; padding: 0; background: transparent; text-align: left; }
.career-application-modal .modal-content { overflow: hidden; border: 0; border-radius: 0; box-shadow: 0 22px 60px rgba(0, 0, 0, .28); }
.career-application-modal .modal-header { padding: 26px 32px 18px; border-bottom: 1px solid #e5e8ed; }
.career-application-modal .modal-title { color: var(--navy); font: 500 1.55rem 'Playfair Display', serif; }
.career-application-modal .modal-body { padding: 26px 32px 18px; }
.career-application-modal label { display: block; margin-bottom: 7px; color: #60738e; font-size: .82rem; font-weight: 600; }
.career-application-modal input:not([type="file"]), .career-application-modal textarea { width: 100%; padding: 9px 0; border: 0; border-bottom: 1px solid #d9dee6; border-radius: 0; outline: 0; color: var(--ink); background: transparent; font-size: .92rem; }
.career-application-modal input:focus, .career-application-modal textarea:focus { border-bottom-color: #0d6efd; box-shadow: none; }
.career-application-modal textarea { resize: vertical; min-height: 105px; }
.career-application-modal input[type="file"] { width: 100%; padding: 11px 0; border-bottom: 1px solid #d9dee6; color: #68758a; font-size: .86rem; }
.career-application-modal .modal-footer { justify-content: flex-start; padding: 0 32px 28px; border-top: 0; }
.career-submit-button { min-width: 180px; }
.career-form-status { min-height: 22px; margin: 16px 0 0; color: #198754; font-size: .85rem; }
.career-form-status:not(.is-success) { color: transparent; }
.navbar-toggler { padding: 8px; border: 1px solid var(--line); border-radius: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(201, 154, 66, .3); }
.navbar-toggler-icon { width: 1.3em; height: 1.3em; }

@media (max-width: 1199.98px) {
  .nav-link { padding-left: 8px !important; padding-right: 8px !important; font-size: 18px; }
  .nav-contact-item { margin-left: 4px; }
  .nav-contact-link { padding-left: 8px !important; padding-right: 8px !important; }
}

/* Reference-style Sonagra homepage */
.reference-hero { position: relative; min-height: 640px; color: #fff; background: var(--navy-deep); overflow: hidden; }
.reference-hero .carousel, .reference-hero .carousel-inner, .reference-hero .carousel-item { height: 640px; }
.reference-hero .carousel-item { position: relative; overflow: hidden; }
.reference-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.reference-hero-image-third { object-position: center 43%; }
.reference-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 21, 43, .86), rgba(7, 21, 43, .51) 52%, rgba(7, 21, 43, .74)); }
.reference-hero-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 950px; padding: 35px 25px 70px; text-align: center; }
.reference-hero-content h1, .reference-hero-content h2 { max-width: 880px; margin: 12px 0 18px; color: #fff; font: 500 clamp(2.65rem, 5vw, 4.7rem)/1.08 'Playfair Display', serif; letter-spacing: -.025em; }
.reference-hero-content h1 em, .reference-hero-content h2 em { color: var(--gold-light); font-style: normal; }
.reference-hero-content p { max-width: 620px; margin: 0 0 28px; color: #e1e7ef; font-size: 1.05rem; }
.reference-hero .carousel-indicators { bottom: 27px; z-index: 3; }
.reference-hero .carousel-indicators [data-bs-target] { width: 32px; height: 2px; margin: 0 5px; border: 0; background: rgba(255,255,255,.55); }
.reference-hero .carousel-indicators .active { background: var(--gold-light); }
.reference-hero .carousel-control-prev, .reference-hero .carousel-control-next { z-index: 3; width: 10%; }
.reference-heading { max-width: 700px; margin: 0 auto; }
.reference-heading > p, .reference-sectors .col-lg-5 > p, .reference-clients p { color: var(--muted); font-size: .92rem; }
.reference-image-frame { height: 430px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 16px 35px rgba(11, 30, 59, .12); }
.reference-image-frame img, .reference-advisory-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.reference-services { border-top: 1px solid #edf0f4; }
.reference-service-card { min-height: 222px; height: 100%; padding: 29px 24px 22px; background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.reference-service-card:hover { transform: translateY(-6px); border-color: var(--gold-light); box-shadow: 0 13px 30px rgba(11, 30, 59, .1); }
.service-card-icon { display: block; margin-bottom: 17px; color: var(--gold); font-size: 1.8rem; line-height: 1; }
.reference-service-card h3 { min-height: 55px; margin: 0 0 18px; color: var(--navy); font: 500 1.15rem/1.28 'Playfair Display', serif; }
.reference-service-card a { color: var(--navy); font-size: .72rem; font-weight: 700; }
.reference-service-card a span { margin-left: 12px; color: var(--gold); font-size: .95rem; }
.reference-service-card a:hover { color: var(--gold); }
.reference-advisory-image { height: 455px; padding: 14px; background: var(--navy); box-shadow: 18px 18px 0 var(--gold-light); }
.reference-advisory-image img { object-position: center; }
.reference-feature { height: 100%; padding: 28px 23px; background: #fff; border-top: 2px solid transparent; transition: transform .2s ease, border-color .2s ease; }
.reference-feature:hover { border-color: var(--gold); transform: translateY(-4px); }
.reference-feature > span { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .1em; }
.reference-feature h3 { margin: 17px 0 10px; color: var(--navy); font: 500 1.12rem 'Playfair Display', serif; }
.reference-feature p { margin: 0; color: var(--muted); font-size: .82rem; }
.reference-sectors .sector-list { margin-top: 5px; }
.reference-cta { padding: 0 0 105px; background: #fff; }
.reference-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 52px 8%; color: #fff; background: var(--navy-deep); }
.reference-cta-inner h2 { max-width: 670px; margin: 8px 0 0; font: 500 clamp(1.9rem, 3vw, 2.85rem)/1.2 'Playfair Display', serif; }
.reference-client-copy { max-width: 610px; margin: 0 auto; }
.reference-client-list { max-width: 760px; margin: 0 auto; padding-left: 20px; text-align: left; color: var(--muted); font-size: .92rem; }
.reference-client-list li { margin-bottom: 8px; }
.reference-clients-media { position: relative; max-width: 100%; margin: 0 auto; overflow: hidden; }
.reference-clients-image { width: 100%; max-width: 100%; height: auto; display: block; margin: 0 auto; }
.reference-clients-overlay { position: absolute; z-index: 2; top: 22px; left: 22px; bottom: 22px; width: min(58%, 560px); padding: 30px 30px 24px; text-align: left; background: rgba(15, 19, 29, .58); display: flex; flex-direction: column; justify-content: center; backdrop-filter: blur(1px); }
.reference-clients-media .section-title { margin: 0 0 18px; color: #fff; font-size: clamp(1.6rem, 2.4vw, 2.4rem); text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.reference-clients-points { margin: 0; padding: 0; list-style: none; color: #fff; }
.reference-clients-points li { position: relative; margin-bottom: 10px; padding-left: 34px; font-size: 1rem; line-height: 1.45; }
.reference-clients-points li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; color: #fff; font-size: .8rem; font-weight: 700; text-align: center; line-height: 18px; }
.reference-call-now { padding-top: 0; }
.reference-call-now-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 320px; max-width: 100%; margin: 0 auto; padding: 42px 6%; color: #fff; background: linear-gradient(90deg, rgba(7, 21, 43, .78), rgba(7, 21, 43, .48)), url('../images/sonagra-compliance-team.webp') center/cover; overflow: hidden; }
.reference-call-now-copy h2 { margin: 0; font: 600 clamp(2.1rem, 4vw, 3.5rem)/1.1 'DM Sans', sans-serif; }
.reference-call-now-action { text-align: center; }
.reference-call-now-icon { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #1a73be; font-size: 2.1rem; }
.reference-call-now-action p { margin: 0 0 6px; color: #fff; font-size: 1.15rem; }
.reference-call-now-action a { color: #fff; font-size: clamp(2rem, 3vw, 3rem); font-weight: 700; letter-spacing: .01em; }
.reference-call-now-action a:hover { color: var(--gold-light); }
.section-space-sm { padding: 62px 0; }
.reference-intro-lead.section-space-sm { padding: 42px 0; }
.reference-intro.section-space,
.reference-services.section-space,
.reference-advisory.section-space,
.reference-why.section-space,
.reference-sectors.section-space,
.reference-faq.section-space,
.reference-clients.section-space { padding: 72px 0; }
.reference-intro-lead { background: #fff; }
.reference-intro-lead .section-title { max-width: 780px; margin-right: auto; margin-left: auto; }
.reference-intro-lead p { max-width: 620px; margin: 0 0 14px; color: var(--muted); font-size: .97rem; }
.reference-intro-points { padding-left: 18px; margin: 8px 0 0; color: var(--ink); }
.reference-intro-points li { margin-bottom: 8px; font-size: .95rem; }
.reference-small-image { height: 360px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 12px 28px rgba(11, 30, 59, .12); }
.reference-small-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.scroll-reveal { opacity: 0; transform: translateX(0); transition: transform .7s ease, opacity .7s ease; }
.scroll-reveal.reveal-left { transform: translateX(-42px); }
.scroll-reveal.reveal-right { transform: translateX(42px); }
.scroll-reveal.reveal-up { transform: translateY(42px); }
.scroll-reveal.is-visible { opacity: 1; transform: none; }
.reference-stat-band { padding: 0 0 46px; background: #fff; }
.reference-stat-cta { justify-content: center; text-align: center; }
.reference-stat { display: flex; align-items: center; justify-content: center; gap: 24px; }
.reference-stat strong { color: var(--gold-light); font: 500 clamp(3rem, 5vw, 4.5rem)/1 'Playfair Display', serif; }
.reference-stat .counter-plus { color: #fff; }
.reference-stat div { display: flex; flex-direction: column; border-left: 1px solid #50617b; padding-left: 24px; }
.reference-stat b { color: #fff; font: 500 1.4rem 'Playfair Display', serif; }
.reference-stat small { max-width: 310px; color: #bdc9d9; font-size: .76rem; }
.reference-service-card { overflow: hidden; padding-top: 0; }
.reference-service-card > img { width: calc(100% + 48px); height: 125px; display: block; margin: 0 -24px 22px; object-fit: cover; object-position: center; }
.reference-service-card > .service-card-icon, .reference-service-card > h3, .reference-service-card > a { margin-left: 0; margin-right: 0; }
.reference-services .reference-service-card { min-height: 440px; padding: 68px 50px 25px; border-color: #d9dfe7; }
.reference-services .reference-service-card > img { width: 100%; height: 136px; margin: 0 0 32px; border-radius: 26px; object-fit: cover; box-shadow: 0 8px 15px rgba(11, 30, 59, .18); }
.reference-services .reference-service-card > .service-card-icon { display: none; }
.reference-services .reference-service-card h3 { min-height: 94px; margin: 0 0 24px; font: 500 1.45rem/1.3 'DM Sans', sans-serif; }
.reference-services .reference-service-card a { display: inline-flex; align-items: center; justify-content: center; min-width: 212px; padding: 15px 20px; border: 2px solid #087fdb; color: #087fdb; font-size: 1rem; font-weight: 700; }
.reference-services .reference-service-card a:hover { color: #123f73; border-color: #123f73; }

@media (max-width: 991.98px) {
  .brand-logo { width: 160px; }
  .footer-brand .brand-logo { width: 190px; }
  .reference-hero, .reference-hero .carousel, .reference-hero .carousel-inner, .reference-hero .carousel-item { min-height: 580px; height: 580px; }
  .reference-advisory-image { height: 380px; }
  .reference-cta-inner { align-items: flex-start; flex-direction: column; }
  .reference-service-card > img { height: 145px; }
  .reference-services .reference-service-card { min-height: 410px; padding: 42px 30px 24px; }
  .reference-services .reference-service-card > img { height: 150px; margin-bottom: 28px; }
  .reference-call-now-inner { min-height: 280px; align-items: flex-start; flex-direction: column; }
  .reference-call-now-action { text-align: left; }
  .reference-call-now-icon { margin-left: 0; }
	.reference-intro.section-space,
  .reference-services.section-space,
  .reference-advisory.section-space,
  .reference-why.section-space,
  .reference-sectors.section-space,
  .reference-faq.section-space,
  .reference-clients.section-space { padding: 58px 0; }
  .reference-intro-lead.section-space-sm { padding: 34px 0; }
  .reference-stat-band { padding-bottom: 36px; }
	.reference-clients-overlay { top: 20px; left: 20px; bottom: 20px; width: calc(100% - 40px); padding: 20px 20px 16px; }
  .reference-clients-points li { margin-bottom: 8px; padding-left: 30px; font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.reveal-left,
  .scroll-reveal.reveal-right,
  .scroll-reveal.reveal-up { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 575.98px) {
  .whatsapp-float { right: 16px; bottom: 16px; padding: 13px; }
  .whatsapp-float span { display: none; }
  .brand-logo { width: 145px; }
  .reference-hero, .reference-hero .carousel, .reference-hero .carousel-inner, .reference-hero .carousel-item { min-height: 590px; height: 590px; }
  .reference-hero-content { padding-right: 35px; padding-left: 35px; }
  .reference-hero-content h1, .reference-hero-content h2 { font-size: 2.5rem; }
  .reference-hero-content p { font-size: .9rem; }
  .reference-image-frame { height: 330px; }
  .reference-advisory-image { height: 315px; box-shadow: 10px 10px 0 var(--gold-light); }
  .reference-cta { padding-bottom: 70px; }
  .reference-cta-inner { padding: 38px 27px; }
  .brand-logo-square { width: 42px !important; height: 42px; }
  .footer-brand .brand-logo-square { width: 50px !important; height: 50px; }
  .reference-stat { gap: 15px; }
  .reference-stat div { padding-left: 15px; }
  .reference-stat strong { font-size: 3rem; }
	.reference-stat-band { padding-bottom: 46px; }
	.reference-call-now-inner { min-height: 250px; padding: 28px 20px; }
	.reference-call-now-copy h2 { font-size: 2rem; }
	.reference-call-now-action a { font-size: 1.8rem; }
	.reference-intro.section-space,
	.reference-services.section-space,
	.reference-advisory.section-space,
	.reference-why.section-space,
	.reference-sectors.section-space,
	.reference-faq.section-space,
	.reference-clients.section-space { padding: 46px 0; }
	.reference-intro-lead.section-space-sm { padding: 28px 0; }
	.reference-stat-band { padding-bottom: 28px; }
	.reference-small-image { height: 280px; }
	.reference-clients-overlay { position: static; width: 100%; margin-top: 0; padding: 22px 18px; background: var(--navy-deep); }
  .reference-clients-media .section-title { margin-bottom: 14px; }
  .reference-clients-points li { font-size: .92rem; }
  .about-page-hero { padding: 78px 0 82px; }
  .about-image-frame { height: 285px; }
  .sectors-page-hero { padding: 78px 0 82px; }
  .careers-page-hero { padding: 78px 0 82px; }
  .service-detail-hero { padding: 78px 0 82px; }
  .careers-role-grid { grid-template-columns: 1fr; gap: 18px; }
  .career-role-card { min-height: 0; }
  .career-application-modal .modal-header, .career-application-modal .modal-body { padding-right: 22px; padding-left: 22px; }
  .career-application-modal .modal-footer { padding-right: 22px; padding-left: 22px; }
  .career-submit-button { width: 100%; }
  .sectors-grid { grid-template-columns: 1fr; gap: 18px; }
  .sector-card { min-height: 102px; }
  .sector-card-content { min-height: 102px; padding: 16px 18px; }
  .reference-service-card > img { height: 160px; }
}
@media (max-width: 991.98px) {
  .main-nav { min-height: 78px; padding: 13px 0; }
  .navbar-collapse { padding-top: 14px; }
  .navbar-nav { align-items: stretch !important; gap: 0; }
  .nav-link { padding: 11px 0 !important; border-bottom: 1px solid #edf0f4; }
  .nav-contact-item { margin: 13px 0 0; }
  .nav-contact-link { display: inline-block; padding: 11px 16px !important; border: 0; }
  .services-mega-menu { position: static; display: none; width: auto; max-height: none; padding: 25px 0 28px; margin-top: 8px; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .services-nav-item.menu-open .services-mega-menu { display: block; }
  .mega-heading h2 { font-size: 1.45rem; }
  .services-mega-menu .row { row-gap: 23px !important; }
  .services-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 28px; }
  .services-menu-footer { align-items: flex-start; flex-direction: column; gap: 10px; }
}

@media (max-width: 991.98px) {
  .main-nav .container { position: relative; }
  .navbar-toggler { margin-left: auto; }
  .navbar-collapse { max-height: calc(100vh - 105px); overflow-y: auto; }
  .navbar-nav { width: 100%; }
  .nav-item { width: 100%; }
  .nav-link, .nav-contact-link { display: flex !important; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 11px 4px !important; font-size: 18px; }
  .services-toggle { cursor: pointer; }
  .services-nav-item { position: relative; }
  .services-mega-menu,
  .services-nav-item:hover .services-mega-menu,
  .services-nav-item:focus-within .services-mega-menu { display: none; width: 100%; max-height: none; padding: 18px 0 20px; margin: 0; background: #000; border-top: 1px solid #344762; opacity: 1; visibility: visible; transform: none; }
  .services-nav-item.menu-open > .services-mega-menu { display: block !important; }
  .services-mega-menu > .container { padding-right: 14px; padding-left: 14px; }
  .services-menu-grid { grid-template-columns: 1fr; gap: 18px; }
  .services-menu-column h3 { padding-bottom: 7px; margin-bottom: 5px; font-size: 14px; }
  .services-mega-menu a { padding: 7px 0; font-size: 15px; }
  .services-menu-footer { padding-top: 16px; margin-top: 18px; font-size: 14px; }
}

@media (max-width: 575.98px) {
  .topbar-inner { min-height: 42px; padding-top: 6px; padding-bottom: 6px; }
  .topbar-inner > span { display: none; }
  .topbar-contact { justify-content: space-between; width: 100%; gap: 8px; font-size: 12px; }
  .topbar-contact a { white-space: nowrap; }
  .main-nav { min-height: 70px; padding: 10px 0; }
  .brand-logo { width: 142px; }
  .navbar-toggler { padding: 6px; }
  .navbar-collapse { margin-top: 8px; }
}

/* Keep the carousel full-bleed after Bootstrap and legacy homepage rules. */
.home-hero,
.home-hero > .carousel,
.home-hero .carousel-inner,
.home-hero .carousel-item { width: 100%; max-width: none; }
.home-hero .carousel-inner { overflow: hidden; }
.home-hero .hero-slide-image,
.home-hero .hero-slide-overlay { width: 100vw; max-width: none; left: 50%; right: auto; transform: translateX(-50%); }
.home-hero .hero-content { width: 100%; max-width: 1240px; margin: 0 auto; padding-right: 24px; padding-left: 24px; }
.home-hero .hero-slide-content { width: min(100%, 850px); }

@media (max-width: 575.98px) {
  .services-menu-grid { grid-template-columns: 1fr; }
  .services-menu-footer { margin-top: 24px; }
}
@media (max-width: 575.98px) {
  .topbar-inner { min-height: 32px; justify-content: center; }
  .topbar-inner > span { display: none; }
  .topbar-contact { font-size: .68rem; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: .85rem; }
  .footer-bottom { flex-direction: column; gap: 5px; }
}

/* Corrected homepage hero and service media */
.main-nav .navbar-nav > .nav-item > .nav-link,
.main-nav .navbar-nav > .nav-item > .nav-contact-link { color: #111 !important; font-weight: 600; }
.main-nav .navbar-nav > .nav-item > .nav-link:hover,
.main-nav .navbar-nav > .nav-item > .nav-link:focus,
.main-nav .navbar-nav > .nav-item > .nav-contact-link:hover,
.main-nav .navbar-nav > .nav-item > .nav-contact-link:focus { color: var(--menu-hover-blue) !important; font-weight: 700; }
.services-mega-menu { color: #fff; background: #000; width: min(900px, calc(100vw - 32px)); }
.services-mega-menu h3 { color: #fff; font-weight: 600; }
.services-mega-menu a,
.services-mega-menu .services-menu-footer { color: #fff !important; font-weight: 400; }
.services-mega-menu a:hover,
.services-mega-menu a:focus,
.services-mega-menu .services-menu-footer a:hover,
.services-mega-menu .services-menu-footer a:focus { color: var(--menu-hover-blue) !important; font-weight: 700; }
@media (max-width: 991.98px) {
  .services-mega-menu { width: 100%; }
}
.home-hero { min-height: 680px; display: block; }
.home-hero .carousel, .home-hero .carousel-inner, .home-hero .carousel-item { height: 680px; }
.home-hero .carousel-item { position: relative; overflow: hidden; }
.hero-slide-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 21, 43, .83), rgba(7, 21, 43, .57) 50%, rgba(7, 21, 43, .72)); }
.hero-content { height: 100%; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; padding-top: 0; text-align: center; }
.hero-slide-content { max-width: 840px; margin: 0 auto; }
.home-hero h1 { max-width: 840px; margin: 14px auto 22px; }
.hero-lead { max-width: 650px; margin: 0 auto 32px; }
.hero-actions { justify-content: center; }
.home-hero .carousel-control-prev, .home-hero .carousel-control-next { z-index: 2; width: 9%; opacity: .7; }
.home-hero .carousel-control-prev:hover, .home-hero .carousel-control-next:hover { opacity: 1; }
.home-hero .carousel-indicators { z-index: 3; bottom: 31px; margin-bottom: 0; }
.home-hero .carousel-indicators [data-bs-target] { width: 32px; height: 2px; margin: 0 5px; border: 0; background-color: rgba(255, 255, 255, .5); }
.home-hero .carousel-indicators .active { background-color: var(--gold-light); }
.service-card { min-height: 425px; padding-top: 0; overflow: hidden; }
.service-card-image { height: 142px; margin: 0 -29px 25px; overflow: hidden; background: #d9e0e9; }
.service-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-card-image img { transform: scale(1.05); }
.service-icon { margin-bottom: 14px; }
.service-card p { min-height: 63px; }
.inner-page-hero { padding: 100px 0; color: #fff; background: linear-gradient(90deg, rgba(7, 21, 43, .38), rgba(7, 21, 43, .30)), url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=80') center/cover; }
.inner-page-hero h1 { margin: 10px 0 15px; font: 500 clamp(2.5rem, 5vw, 4.2rem)/1.1 'Playfair Display', serif; }
.inner-page-hero p { max-width: 570px; margin: 0; color: #d3dce8; }
.contact-intro { color: var(--muted); font-size: .95rem; }
.contact-details { margin-top: 30px; }
.contact-details > div { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-details span { display: block; margin-bottom: 7px; color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-details p, .contact-details a { display: block; margin: 0 0 4px; color: var(--ink); font-size: .88rem; }
.contact-details a:hover, .map-links a:hover { color: var(--gold); }
.map-links { display: flex; flex-wrap: wrap; gap: 15px 25px; margin-top: 18px; }
.map-links a { color: var(--navy); font-size: .78rem; font-weight: 700; }
.map-links span { margin-left: 10px; color: var(--gold); }
.contact-form-card { padding: 42px; background: var(--paper); border-top: 3px solid var(--gold); }
.contact-form-card h2 { margin: 5px 0 25px; color: var(--navy); font: 500 2rem 'Playfair Display', serif; }
.contact-form-card label { display: block; margin-bottom: 6px; color: var(--navy); font-size: .75rem; font-weight: 700; }
.contact-form-card input, .contact-form-card textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: #fff; font: inherit; font-size: .82rem; }
.contact-form-card input:focus, .contact-form-card textarea:focus { outline: 2px solid rgba(201, 154, 66, .35); border-color: var(--gold); }

@media (max-width: 991.98px) {
  .topbar-contact a:last-child { display: none; }
  .home-hero, .home-hero .carousel, .home-hero .carousel-inner, .home-hero .carousel-item { min-height: 600px; height: 600px; }
  .hero-slide-content { padding: 0 50px; }
}

@media (max-width: 575.98px) {
  .topbar-contact { gap: 8px; }
  .topbar-contact a:nth-of-type(2) { display: none; }
  .home-hero, .home-hero .carousel, .home-hero .carousel-inner, .home-hero .carousel-item { min-height: 620px; height: 620px; }
  .hero-slide-content { padding: 0 38px; }
  .home-hero h1 { font-size: 2.45rem; }
  .home-hero .carousel-control-prev, .home-hero .carousel-control-next { width: 8%; }
  .service-card-image { margin-left: -24px; margin-right: -24px; }
  .contact-form-card { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-hero .carousel-item { transition: none; }
  .service-card, .service-card-image img, .services-mega-menu { transition: none; }
}

/* Homepage */
.section-space { padding: 105px 0; }
.section-paper { background: var(--paper); }
.home-hero { min-height: 650px; position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 21, 43, .95) 0%, rgba(7, 21, 43, .78) 43%, rgba(7, 21, 43, .2) 100%), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=85') center/cover; }
.hero-content { position: relative; z-index: 1; padding-top: 30px; }
.home-hero h1 { max-width: 780px; margin: 14px 0 22px; color: #fff; font: 500 clamp(2.8rem, 5vw, 4.65rem)/1.1 'Playfair Display', serif; letter-spacing: -.025em; }
.home-hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-lead { max-width: 545px; margin-bottom: 32px; color: #d3dce8; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.btn { border-radius: 0; padding: 13px 21px; font-size: .78rem; font-weight: 700; letter-spacing: .02em; }
.btn span { margin-left: 16px; font-size: 1rem; }
.btn-gold { color: var(--navy); background: var(--gold-light); border: 1px solid var(--gold-light); }
.btn-gold:hover { color: #fff; background: var(--gold); border-color: var(--gold); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { color: var(--navy); background: #fff; border-color: #fff; }
.btn-navy { color: #fff; background: var(--navy); border: 1px solid var(--navy); }
.btn-navy:hover { color: var(--navy); background: transparent; }
.hero-scroll { position: absolute; bottom: 34px; left: 12px; display: flex; align-items: center; gap: 10px; color: #acb9ca; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.hero-scroll span { display: inline-block; width: 34px; height: 1px; background: var(--gold-light); }
.eyebrow-dark { color: var(--gold); }
.section-title { margin: 8px 0 20px; color: var(--navy); font: 500 clamp(2rem, 3vw, 3rem)/1.17 'Playfair Display', serif; letter-spacing: -.02em; }
.intro-section { background: #fff; }
.lead-copy { color: var(--navy); font-size: 1.14rem; line-height: 1.6; }
.intro-section p:not(.lead-copy), .advisory-section p:not(.lead-copy), .sectors-section p, .faq-section p { color: var(--muted); font-size: .92rem; }
.editorial-image { min-height: 490px; position: relative; overflow: hidden; background-color: #d3dae3; }
.editorial-image::after, .advisory-panel-image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgba(7, 21, 43, .43), transparent 55%); }
.image-office { background: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1100&q=85') center/cover; }
.image-caption { position: absolute; z-index: 1; bottom: 24px; left: 25px; color: #fff; font: 500 1rem 'Playfair Display', serif; }
.text-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 23px; color: var(--navy); font-size: .78rem; font-weight: 700; border-bottom: 1px solid var(--gold); padding-bottom: 5px; }
.text-link span { color: var(--gold); font-size: 1rem; }
.text-link:hover { color: var(--gold); }
.section-heading-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-heading-copy { max-width: 350px; margin: 0 0 21px; color: var(--muted); font-size: .9rem; }
.service-card { min-height: 305px; position: relative; padding: 31px 29px 27px; background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 14px 35px rgba(11, 30, 59, .1); }
.card-number { position: absolute; top: 21px; right: 23px; color: #b8c1cd; font-size: .68rem; }
.service-icon { display: block; margin-bottom: 25px; color: var(--gold); font-size: 1.8rem; line-height: 1; }
.service-card h3 { margin-bottom: 13px; color: var(--navy); font: 500 1.38rem 'Playfair Display', serif; }
.service-card p { min-height: 70px; margin-bottom: 18px; color: var(--muted); font-size: .83rem; }
.service-card a, .insight-content a { color: var(--navy); font-size: .72rem; font-weight: 700; }
.service-card a span, .insight-content a span { margin-left: 12px; color: var(--gold); font-size: .95rem; }
.service-card a:hover, .insight-content a:hover { color: var(--gold); }
.advisory-section { background: #fff; }
.advisory-panel { min-height: 435px; position: relative; padding: 22px 0 0 22px; }
.advisory-panel::before { position: absolute; top: 0; left: 0; width: 77%; height: 82%; content: ''; border: 1px solid var(--gold); }
.advisory-panel-image { height: 405px; position: relative; background: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1100&q=85') center/cover; }
.advisory-panel-note { position: absolute; right: -4px; bottom: 0; display: flex; align-items: center; gap: 13px; padding: 18px 25px; color: var(--navy); background: #fff; font: 500 1rem 'Playfair Display', serif; }
.note-line { width: 28px; height: 1px; background: var(--gold); }
.india-section { color: #fff; background: #fff; }
.india-panel { min-height: 385px; position: relative; display: flex; align-items: center; padding: 66px 8%; overflow: hidden; background: var(--navy); }
.india-panel::after { position: absolute; top: -90px; right: 15%; width: 440px; height: 440px; content: ''; border: 1px solid rgba(201, 154, 66, .23); border-radius: 50%; box-shadow: 0 0 0 35px rgba(201, 154, 66, .04), 0 0 0 70px rgba(201, 154, 66, .04); }
.india-panel h2 { max-width: 590px; margin: 9px 0 18px; color: #fff; font: 500 clamp(2.1rem, 3.3vw, 3.2rem)/1.15 'Playfair Display', serif; }
.india-panel p { max-width: 560px; margin-bottom: 28px; color: #c3cfde; font-size: .9rem; }
.india-grid-mark { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 45px); gap: 22px; justify-content: center; opacity: .8; }
.india-grid-mark span { width: 45px; height: 45px; display: block; border: 1px solid var(--gold); transform: rotate(45deg); }
.india-grid-mark span:nth-child(2n) { border-color: rgba(255, 255, 255, .24); }
.section-heading-centered { max-width: 560px; margin: 0 auto; }
.section-heading-centered p { color: var(--muted); font-size: .9rem; }
.feature-card { height: 100%; padding: 29px 24px; background: #fff; border-top: 2px solid transparent; transition: border-color .2s ease, transform .2s ease; }
.feature-card:hover { border-top-color: var(--gold); transform: translateY(-4px); }
.feature-icon { display: block; height: 44px; margin-bottom: 18px; color: var(--gold); font-size: 1.9rem; }
.feature-card h3 { margin-bottom: 10px; color: var(--navy); font: 500 1.12rem 'Playfair Display', serif; }
.feature-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.sector-list { border-top: 1px solid var(--line); }
.sector-list a,
.sector-list .sector-list-item { display: grid; grid-template-columns: 12% 1fr 35px; align-items: center; padding: 25px 5px; border-bottom: 1px solid var(--line); }
.sector-list a:hover,
.sector-list .sector-list-item:hover { padding-left: 15px; background: var(--paper); }
.sector-list span { color: var(--gold); font-size: .7rem; }
.sector-list strong { color: var(--navy); font: 500 1.3rem 'Playfair Display', serif; }
.sector-list b { color: var(--gold); font-size: 1.1rem; font-weight: 400; text-align: right; }
.home-accordion .accordion-item { background: transparent; border-bottom: 1px solid var(--line); }
.home-accordion .accordion-button { padding: 22px 0; color: var(--navy); background: transparent; box-shadow: none; font: 500 1.1rem 'Playfair Display', serif; }
.home-accordion .accordion-button::after { width: 14px; height: 14px; background-size: 14px; }
.home-accordion .accordion-body { padding: 0 35px 22px 0; color: var(--muted); font-size: .86rem; }
.insight-card { height: 100%; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.insight-image { min-height: 220px; position: relative; display: flex; align-items: flex-end; padding: 18px; background-position: center; background-size: cover; }
.insight-image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(0deg, rgba(7, 21, 43, .7), transparent 70%); }
.insight-image span { position: relative; z-index: 1; color: #fff; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.insight-image-one { background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80'); }
.insight-image-two { background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=900&q=80'); }
.insight-image-three { background-image: url('https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=900&q=80'); }
.insight-content { padding: 22px 23px 25px; }
.insight-content small { color: var(--gold); font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.insight-content h3 { min-height: 56px; margin: 10px 0 19px; color: var(--navy); font: 500 1.18rem/1.3 'Playfair Display', serif; }
.home-cta-section { padding: 0 0 105px; background: #fff; }
.home-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 65px 8%; color: #fff; background: var(--navy-deep); }
.home-cta h2 { margin: 8px 0 0; font: 500 clamp(2rem, 3vw, 3rem)/1.17 'Playfair Display', serif; }

.nclt-clone-hero { padding: 95px 0; color: #fff; background: linear-gradient(120deg, rgba(7, 21, 43, .38), rgba(11, 30, 59, .30)), url('https://hsmehta.com/wp-content/uploads/2025/07/pexels-kindelmedia-7688173.jpg') center/cover; }
.nclt-clone-hero h1 { max-width: 900px; margin: 0 0 18px; font: 500 clamp(2.2rem, 5vw, 4rem)/1.12 'Playfair Display', serif; }
.nclt-clone-hero p { max-width: 900px; margin: 0; color: #dce4f0; font-size: 1rem; }
.nclt-clone-section { padding: 80px 0 100px; background: #fff; }
.nclt-clone-section h2 { margin: 0 0 12px; color: var(--navy); font: 500 clamp(1.7rem, 2.7vw, 2.4rem)/1.25 'Playfair Display', serif; }
.nclt-clone-section p { color: var(--muted); font-size: .95rem; }
.nclt-clone-image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 34px; }
.nclt-clone-image-grid img, .nclt-clone-card img { width: 100%; border-radius: 6px; object-fit: cover; }
.nclt-clone-image-grid img { height: 320px; }
.nclt-clone-card { height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgba(7, 21, 43, .06); }
.nclt-clone-card h3 { margin: 0 0 10px; color: var(--navy); font: 500 1.45rem/1.25 'Playfair Display', serif; }
.nclt-clone-card img { height: 230px; margin-top: 16px; }
.nclt-clone-card-wide img { height: 320px; margin-top: 22px; }
.nclt-clone-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.nclt-clone-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); font-size: .92rem; }
.nclt-clone-icon { width: 24px; height: 24px; flex: 0 0 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--gold); font-size: .74rem; line-height: 1; }
.nclt-clone-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.nclt-clone-content-block { padding: 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }

@media (max-width: 767.98px) {
  .section-space { padding: 70px 0; }
  .home-hero { min-height: 590px; }
  .hero-content { padding: 35px 24px 0; }
  .hero-scroll { left: 24px; }
  .editorial-image { min-height: 360px; }
  .section-heading-row, .home-cta { display: block; }
  .section-heading-copy { margin-top: 20px; }
  .advisory-panel { min-height: 350px; }
  .advisory-panel-image { height: 320px; }
  .india-panel { padding: 48px 28px; }
  .sector-list strong { font-size: 1.08rem; }
  .home-cta .btn { margin-top: 28px; }
  .formation-hero { min-height: 430px; }
  .formation-hero-content { padding: 70px 0; }
  .formation-support-grid { grid-template-columns: 1fr; }
  .formation-image-frame { padding-right: 16px; padding-bottom: 16px; }
  .formation-image-badge { top: 14px; }
  .formation-image-frame-small img { height: 260px; }
}

@media (max-width: 575.98px) {
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-lead { font-size: .9rem; }
  .advisory-panel { padding-left: 12px; }
  .advisory-panel-note { right: 0; padding: 13px 16px; font-size: .85rem; }
	.sector-list a,
  .sector-list .sector-list-item { grid-template-columns: 15% 1fr 25px; padding: 20px 0; }
  .sector-list strong { font-size: 1rem; }
  .home-cta { padding: 42px 27px; }
  .formation-hero h1 { font-size: 2.55rem; }
  .formation-hero p { font-size: .92rem; }
  .formation-principles { grid-template-columns: 1fr; }
  .formation-structure-card { min-height: 0; }
  .formation-two-column, .formation-two-column-reverse { display: flex; flex-direction: column; gap: 28px; }
  .formation-two-column-reverse .formation-reference-image { order: -1; }
  .formation-reference-section { margin-bottom: 55px; }
  .formation-reference-image img, .formation-two-column .formation-reference-image img, .formation-two-column-reverse .formation-reference-image img { height: 270px; }
  .formation-entity-grid, .formation-entity-grid-compact, .formation-benefit-list, .formation-principle-grid { grid-template-columns: 1fr; }
  .formation-highlight-section { padding: 28px 22px 22px; }
  .formation-reference-sidebar { position: static; }
  .company-law-reference-item { grid-template-columns: 31px 1fr; gap: 12px; padding: 20px 4px; }
  .company-law-reference-item p { font-size: .87rem; }
  .company-law-reference-sidebar { position: static; }
  .fema-reference-item { grid-template-columns: 31px 1fr; gap: 12px; padding: 20px 4px; }
  .fema-reference-item p { font-size: .87rem; }
  .fema-reference-sidebar { position: static; }
  .trademark-reference-item { grid-template-columns: 31px 1fr; gap: 12px; padding: 20px 4px; }
  .trademark-reference-item p { font-size: .87rem; }
  .trademark-reference-sidebar { position: static; }
  .amalgamation-reference-item { grid-template-columns: 31px 1fr; gap: 12px; padding: 20px 4px; }
  .amalgamation-reference-item p { font-size: .87rem; }
  .amalgamation-reference-sidebar { position: static; }
  .nclt-clone-hero { padding: 70px 0; }
  .nclt-clone-image-grid { grid-template-columns: 1fr; }
  .nclt-clone-image-grid img, .nclt-clone-card img, .nclt-clone-card-wide img { height: auto; }
  .nclt-clone-two-col { grid-template-columns: 1fr; gap: 14px; }
  .nclt-clone-content-block { padding: 24px; }
}

@media (min-width: 992px) {
  .services-mega-menu { width: min(1180px, calc(100vw - 32px)); padding: 15px 0; border-radius: 12px; }
  .services-mega-menu > .container { padding: 0 15px; }
  .services-menu-grid.services-menu-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .services-menu-list a { padding: 15px; font-size: .95rem; line-height: 1.4; }
  .services-menu-list a:hover { padding-left: 15px; }
}

/* Corporate governance service page – home theme */
.cg-page .reference-intro, .cg-page .reference-advisory, .cg-page .reference-why { padding: 72px 0; }
.cg-page .reference-intro:not(.section-paper), .cg-page .reference-advisory { background: #fff; }
.cg-page .reference-feature { box-shadow: 0 10px 28px rgba(11, 30, 59, .07); }
.cg-page .reference-heading { max-width: 820px; }
.cg-page .reference-intro p, .cg-page .reference-advisory p { color: var(--muted); font-size: .95rem; }
.cg-page .reference-intro p.lead-copy, .cg-page .reference-advisory p.lead-copy { color: var(--navy); font-size: 1.1rem; }
.cg-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; max-width: 900px; padding: 0; margin: 34px auto 0; list-style: none; }
.cg-checks li { position: relative; padding-left: 30px; color: var(--ink); font-size: .95rem; line-height: 1.55; }
.cg-checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-size: .72rem; font-weight: 700; text-align: center; line-height: 18px; }
@media (max-width: 991px) {
  .cg-page .reference-intro, .cg-page .reference-advisory, .cg-page .reference-why { padding: 48px 0; }
  .cg-page .reference-advisory-image { box-shadow: 10px 10px 0 var(--gold-light); }
  .cg-checks { grid-template-columns: 1fr; }
}

.reference-cta-inner p { max-width: 680px; margin: 12px 0 0; color: #b9c7da; }
@media (max-width: 767px) { .reference-cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 28px; } }

/* Service pages: equal space above and below the closing CTA band */
.reference-cta.section-space-sm { padding: 0 0 62px; }
section:has(+ .reference-cta.section-space-sm),
.cg-page:has(+ .reference-cta.section-space-sm) > section:last-child { padding-bottom: 62px; }

.blogs-empty-section { background: #fff; }
.blogs-empty-title { margin: 0; color: var(--navy); font: 500 clamp(1.8rem, 3vw, 2.4rem)/1.2 'Playfair Display', serif; }

/* Our Team page */
.team-section { padding: 70px 0 40px; background: #fff; }
.team-row { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: center; margin-bottom: 56px; }
.team-row-text { padding-right: 40px; border-right: 2px solid var(--gold); }
.team-row-reverse { grid-template-columns: 320px minmax(0, 1fr); }
.team-row-reverse .team-row-text { order: 2; padding-right: 0; padding-left: 40px; border-right: 0; border-left: 2px solid var(--gold); }
.team-row-reverse .team-row-photo { order: 1; }
.team-row-text h2 { margin: 0 0 6px; color: var(--navy); font: 500 clamp(1.7rem, 2.4vw, 2.2rem)/1.2 'Playfair Display', serif; }
.team-row-role { margin: 0 0 14px; color: var(--gold); font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.team-row-text p { color: var(--muted); font-size: .95rem; line-height: 1.8; text-align: justify; }
.team-row-photo { width: 320px; height: 320px; overflow: hidden; border-radius: 50%; background: var(--paper); box-shadow: 0 12px 28px rgba(11, 30, 59, .14); }
.team-row-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top center; }
@media (max-width: 991px) {
  .team-row, .team-row-reverse { grid-template-columns: 1fr; gap: 24px; }
  .team-row-photo, .team-row-reverse .team-row-photo { order: -1; width: 240px; height: 240px; margin: 0 auto; }
  .team-row-text, .team-row-reverse .team-row-text { order: 0; padding: 0 0 0 20px; border-right: 0; border-left: 2px solid var(--gold); }
}

/* Home page: wider, larger text blocks beside the images */
main > .reference-intro-lead p,
main > .reference-intro p,
main > .reference-advisory p { max-width: none; font-size: 1.02rem; line-height: 1.85; text-align: justify; }
main > .reference-intro .section-title,
main > .reference-advisory .section-title,
main > .reference-intro-lead .section-title { max-width: none; margin-right: 0; margin-left: 0; font-size: clamp(2rem, 3vw, 2.8rem); }
main > .reference-intro p.lead-copy,
main > .reference-advisory p.lead-copy { font-size: 1.12rem; }
main > .reference-intro-lead .reference-intro-points li,
main > .reference-advisory .reference-intro-points li { font-size: 1rem; line-height: 1.7; }
main > .reference-intro .reference-image-frame,
main > .reference-advisory .reference-advisory-image { height: 500px; }
main > .reference-intro-lead .reference-small-image { height: 440px; }
@media (max-width: 991px) {
  main > .reference-intro .reference-image-frame,
  main > .reference-advisory .reference-advisory-image,
  main > .reference-intro-lead .reference-small-image { height: 300px; }
  main > .reference-intro p,
  main > .reference-advisory p,
  main > .reference-intro-lead p { text-align: left; }
}

/* Home page: one consistent, larger size for every section title */
main > .reference-intro-lead .section-title,
main > .reference-intro .section-title,
main > .reference-advisory .section-title,
main > .reference-services .section-title,
main > .reference-why .section-title,
main > .reference-sectors .section-title,
main > .reference-faq .section-title { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.18; }
main > .reference-services .reference-heading,
main > .reference-why .reference-heading { max-width: 900px; }
main > .reference-services .reference-heading > p,
main > .reference-why .reference-heading > p,
main > .reference-sectors .col-lg-5 > p,
main > .reference-faq .col-lg-4 > p { font-size: 1rem; line-height: 1.8; }

/* Services menu: small solid down-arrow right after the label, in line with the text */
.nav-chevron { display: inline-block; width: 0; height: 0; margin-left: 6px; font-size: 0; line-height: 0; vertical-align: middle; border-top: 5px solid currentColor; border-right: 4px solid transparent; border-left: 4px solid transparent; color: inherit; transform: translateY(-1px); transition: transform .2s ease; }
.services-nav-item:hover .nav-chevron, .services-nav-item.menu-open .nav-chevron { transform: translateY(-1px) rotate(180deg); }

/* Home hero: lighter, even overlay so the full photo shows (no dark block on the left) */
.reference-hero-overlay { background: linear-gradient(rgba(7, 21, 43, .30), rgba(7, 21, 43, .30)); }
.reference-hero-image { filter: brightness(1.12) saturate(1.05); }
.reference-hero-content .eyebrow, .reference-hero-content h1, .reference-hero-content h2, .reference-hero-content p { text-shadow: 0 2px 14px rgba(7, 21, 43, .65); }

/* Tighter, even spacing between stacked sections */
.reference-intro-lead + .reference-intro.section-space { padding-top: 24px; }
.reference-intro.section-space + .reference-advisory.section-space { padding-top: 0; }
.reference-cta:not(.section-space-sm) { padding-bottom: 56px; }
.reference-clients.section-space + .reference-call-now.section-space { padding-top: 0; }
.reference-call-now.section-space { padding-bottom: 72px; }
.sectors-intro.section-space, .careers-intro.section-space { padding-bottom: 64px; }

/* Corporate governance page: same wide, fixed-size text blocks as the home page */
.cg-page .reference-intro p,
.cg-page .reference-advisory p { max-width: none; font-size: 1.02rem; line-height: 1.85; text-align: justify; }
.cg-page .reference-intro p.lead-copy,
.cg-page .reference-advisory p.lead-copy { font-size: 1.12rem; }
.cg-page .reference-intro .section-title,
.cg-page .reference-advisory .section-title { max-width: none; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.18; }
.cg-page .reference-advisory .reference-intro-points li { font-size: 1rem; line-height: 1.7; }
.cg-page .reference-intro .reference-image-frame,
.cg-page .reference-advisory .reference-advisory-image { height: 440px; }
@media (max-width: 991px) {
  .cg-page .reference-intro p,
  .cg-page .reference-advisory p { text-align: left; }
  .cg-page .reference-intro .reference-image-frame,
  .cg-page .reference-advisory .reference-advisory-image { height: 300px; }
}

/* Service page heroes: keep the text readable on the lighter photo */
.service-detail-hero .eyebrow, .service-detail-hero h1, .service-detail-hero p,
.formation-hero .eyebrow, .formation-hero h1, .formation-hero p,
.nclt-clone-hero h1, .nclt-clone-hero p { text-shadow: 0 2px 14px rgba(7, 21, 43, .6); }

/* Formation page: wide, fixed-size text blocks and tighter spacing, like the home page */
.formation-reference-section p,
.formation-reference-section li { font-size: 1.02rem; line-height: 1.85; text-align: justify; }
.formation-reference-section .lead-copy { font-size: 1.12rem; }
.formation-reference-services p { font-size: .95rem; line-height: 1.75; }
.formation-reference-section h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
@media (min-width: 992px) {
  .formation-reference-page.section-space { padding: 72px 0; }
  .formation-reference-main { max-width: none; }
  .formation-reference-main .formation-reference-intro { max-width: none; }
  .formation-reference-section { margin-bottom: 52px; }
  .formation-two-column, .formation-two-column-reverse { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
  .formation-reference-main .formation-two-column .formation-reference-image img { height: 440px; max-height: none; }
  .formation-reference-section:not(.formation-two-column) > p { max-width: 1120px; }
}
@media (max-width: 991px) {
  .formation-reference-section p, .formation-reference-section li { text-align: left; }
  .formation-reference-section { margin-bottom: 40px; }
}

/* Home "Why Choose" block: two tidy rows (3 + 2, centred) */
@media (min-width: 992px) {
  main > .reference-why .row { justify-content: center; }
  main > .reference-why .row > .col-lg-3 { flex: 0 0 auto; width: 33.3333%; }
}

/* Navy button hover: soft light blue instead of turning white */
.btn-navy:hover, .btn-navy:focus { color: var(--navy); background: #dce6f4; border-color: var(--navy); }

/* Button pressed (click) state: a distinct colour instead of falling back to white */
.btn-navy:active, .btn-navy:focus:active { color: #fff; background: var(--gold); border-color: var(--gold); }
.btn-gold:active, .btn-gold:focus:active { color: #fff; background: var(--navy); border-color: var(--navy); }
.btn-navy, .btn-gold { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }

/* Contact form feedback */
.contact-alert { margin: 0 0 18px; padding: 13px 16px; font-size: .9rem; line-height: 1.5; border-left: 3px solid; }
.contact-alert-success { color: #14532d; background: #e8f5ec; border-color: #2e9e5b; }
.contact-alert-error { color: #7f1d1d; background: #fdecec; border-color: #d64545; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 34px rgba(11, 30, 59, .1); }
.blog-card-image { display: block; height: 210px; overflow: hidden; background: var(--paper); }
.blog-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 26px; }
.blog-card-body h2 { margin: 8px 0 10px; color: var(--navy); font: 500 1.3rem/1.3 'Playfair Display', serif; }
.blog-card-body h2 a { color: inherit; }
.blog-card-body h2 a:hover { color: var(--gold); }
.blog-card-body p { flex: 1; color: var(--muted); font-size: .92rem; line-height: 1.7; }
.blog-card-meta { display: flex; gap: 8px; color: var(--muted); font-size: .78rem; }
.blog-post-section { background: #fff; }
.blog-post-image { width: 100%; max-height: 380px; margin-bottom: 28px; object-fit: cover; }
.blog-post-content h2 { margin: 34px 0 14px; color: var(--navy); font: 500 clamp(1.5rem, 2.2vw, 1.9rem)/1.25 'Playfair Display', serif; }
.blog-post-content p, .blog-post-content li { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.blog-post-content ul, .blog-post-content ol { padding-left: 1.25rem; }
.blog-post-content li { margin-bottom: 8px; }
.blog-post-content strong { color: var(--navy); }
.blog-post-back { margin-top: 34px; }
@media (max-width: 991px) { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .blog-grid { grid-template-columns: 1fr; } }

/* SEO text block */
.seo-text-section { background: #fff; }
.seo-text-block { max-width: 1000px; margin: 0 auto; text-align: center; }
.seo-text-block .section-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.seo-text-block p { color: var(--muted); font-size: 1rem; line-height: 1.85; }
.seo-text-block a { color: var(--navy); border-bottom: 1px solid var(--gold); }
.seo-text-block a:hover { color: var(--gold); }

/* NCLT page: hsmehta-style layout */
.nclt-page .cg-note { max-width: none; margin-top: 26px; color: var(--muted); font-size: 1rem; line-height: 1.85; text-align: justify; }
.nclt-page .cg-checks { max-width: none; }
.nclt-service-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 28px; margin-top: 30px; }
.nclt-service-links a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: var(--navy); font-size: .92rem; border-bottom: 1px solid var(--line); }
.nclt-service-links a span { color: var(--gold); }
.nclt-service-links a:hover { color: var(--gold); }
.nclt-service-links a.active { color: var(--gold); font-weight: 700; }
@media (max-width: 991px) { .nclt-page .cg-note { text-align: left; } .nclt-service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .nclt-service-links { grid-template-columns: 1fr; } }

.sectors-page-hero .eyebrow, .sectors-page-hero h1, .sectors-page-hero p { text-shadow: 0 2px 14px rgba(7, 21, 43, .6); }

/* Sectors hero: taller, anchored near the top so heads are not cut off */
.sectors-page-hero { padding: 100px 0; background-position: center 12%; }
@media (max-width: 991px) { .sectors-page-hero { padding: 78px 0 82px; } }

/* Careers hero: lighter overlay, taller, photo anchored near the top */
.careers-page-hero .eyebrow, .careers-page-hero h1, .careers-page-hero p { text-shadow: 0 2px 14px rgba(7, 21, 43, .6); }
.careers-page-hero { padding: 100px 0; background-position: center 12%; }

.about-page-hero .eyebrow, .about-page-hero h1, .about-page-hero p { text-shadow: 0 2px 14px rgba(7, 21, 43, .6); }

.inner-page-hero .eyebrow, .inner-page-hero h1, .inner-page-hero p { text-shadow: 0 2px 14px rgba(7, 21, 43, .6); }
@media (max-width: 991px) { .careers-page-hero { padding: 78px 0 82px; } }

/* Same hero height on About, Sectors, Our Team, Careers, Blogs and Contact (matches About) */
.uniform-hero { display: flex; align-items: center; min-height: 443px; }
.uniform-hero > .container { width: 100%; }
@media (max-width: 991px) { .uniform-hero { min-height: 330px; } }

/* About page: wide, fixed-size text blocks like the home page */
main > .about-story-section p,
main > .about-highlight-section p { max-width: none; font-size: 1.02rem; line-height: 1.85; text-align: justify; }
main > .about-story-section p.lead-copy { font-size: 1.12rem; }
main > .about-story-section .section-title,
main > .about-highlight-section .section-title { max-width: none; font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.18; }
main > .about-story-section .about-image-frame { height: 500px; }
main > .about-capabilities-section .about-section-heading,
main > .about-policies-section .about-section-heading { max-width: 900px; }
main > .about-capabilities-section .section-title,
main > .about-policies-section .section-title { font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.18; }
main > .about-policies-section .about-section-heading p { font-size: 1rem; line-height: 1.8; }
@media (max-width: 991px) {
  main > .about-story-section p,
  main > .about-highlight-section p { text-align: left; }
  main > .about-story-section .about-image-frame { height: 300px; }
}

/* About page cards: comfortable padding so text never runs to the card edge, neat wrapping, links pinned to the bottom */
main > .about-capabilities-section .about-value-card,
main > .about-policies-section .about-value-card { display: flex; flex-direction: column; padding: 36px 38px 32px; }
main > .about-capabilities-section .about-value-card p,
main > .about-policies-section .about-value-card p { padding-right: 6px; font-size: .95rem; line-height: 1.75; text-wrap: pretty; overflow-wrap: break-word; }
main > .about-capabilities-section .about-value-card h3,
main > .about-policies-section .about-value-card h3 { text-wrap: balance; }
main > .about-policies-section .about-value-card .text-link { margin-top: auto; align-self: flex-start; }
main > .about-policies-section .about-value-card p { margin-bottom: 22px; }
main > .about-capabilities-section .about-section-heading p,
main > .about-policies-section .about-section-heading p { max-width: 820px; margin-right: auto; margin-left: auto; text-wrap: balance; }
main > .about-capabilities-section .about-beyond-note { max-width: 820px; margin-right: auto; margin-left: auto; text-wrap: balance; }
@media (max-width: 991px) {
  main > .about-capabilities-section .about-value-card,
  main > .about-policies-section .about-value-card { padding: 30px 26px 28px; }
}

/* Disclaimer pop-up (same look as hsmehta.com: white box, blue border, blue heading, round close on the corner) */
.disclaimer-dialog { max-width: 800px; }
.disclaimer-modal { position: relative; overflow: visible; border: 3px solid #215fa7; border-radius: 14px; background: #fff; box-shadow: 0 20px 50px rgba(7, 21, 43, .35); }
.disclaimer-body { padding: 24px 34px 26px; border-radius: 12px; }
.disclaimer-title { margin: 0 0 14px; color: #215fa7; font: 600 clamp(1.7rem, 3vw, 2.2rem)/1.2 'DM Sans', sans-serif; text-align: center; }
.disclaimer-body p { margin: 0 0 14px; color: #111; font-size: .94rem; line-height: 1.7; text-wrap: pretty; }
.disclaimer-body p:last-child { margin-bottom: 0; }
.disclaimer-body a { color: #215fa7; font-weight: 600; }
.disclaimer-close { position: absolute; top: -16px; right: -16px; z-index: 5; width: 32px; height: 32px; margin: 0; padding: 0; opacity: 1; border: 0; border-radius: 50%; background: #215fa7 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center / 11px no-repeat; box-shadow: 0 3px 10px rgba(7, 21, 43, .3); }
@media (max-width: 575px) {
  .disclaimer-body { padding: 20px 18px 22px; }
  .disclaimer-body p { font-size: .9rem; line-height: 1.65; }
  .disclaimer-close { top: -14px; right: -4px; }
}

/* Disclaimer pop-up: larger text, taller box and neat justified wrapping */
.disclaimer-dialog { max-width: 880px; }
.disclaimer-body { padding: 38px 48px 42px; }
.disclaimer-title { margin-bottom: 22px; font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.disclaimer-body p { margin-bottom: 20px; font-size: 1.06rem; line-height: 1.9; text-align: justify; text-justify: inter-word; hyphens: auto; overflow-wrap: break-word; }
.disclaimer-body p:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
  .disclaimer-body { padding: 26px 20px 28px; }
  .disclaimer-body p { margin-bottom: 16px; font-size: .96rem; line-height: 1.75; text-align: left; hyphens: manual; }
}

/* Disclaimer pop-up: height/width brought in line with hsmehta.com (about 860 x 580 on desktop) */
.disclaimer-dialog { max-width: 860px; }
.disclaimer-body { padding: 28px 40px 30px; }
.disclaimer-title { margin-bottom: 16px; font-size: clamp(1.8rem, 3vw, 2.2rem); }
.disclaimer-body p { margin-bottom: 14px; font-size: 1rem; line-height: 1.75; }
.disclaimer-body p:last-child { margin-bottom: 0; }
@media (max-width: 575px) {
  .disclaimer-body { padding: 24px 18px 26px; }
  .disclaimer-body p { font-size: .94rem; line-height: 1.7; }
}
.disclaimer-body { padding: 32px 40px 36px; }
.disclaimer-title { margin-bottom: 18px; }
.disclaimer-body p { margin-bottom: 16px; font-size: 1.02rem; line-height: 1.8; }
.disclaimer-body p:last-child { margin-bottom: 0; }
@media (max-width: 575px) { .disclaimer-body { padding: 24px 18px 26px; } .disclaimer-body p { font-size: .94rem; line-height: 1.7; } }

/* About cards: justified paragraphs so the right edge is straight, hyphenation avoids wide gaps */
main > .about-capabilities-section .about-value-card p,
main > .about-policies-section .about-value-card p { padding-right: 0; text-align: justify; text-justify: inter-word; hyphens: auto; text-wrap: wrap; }
@media (max-width: 575px) {
  main > .about-capabilities-section .about-value-card p,
  main > .about-policies-section .about-value-card p { text-align: left; hyphens: manual; }
}

/* Mobile / tablet: slide-in animations rise from the bottom instead of sliding sideways, so the page never gets a horizontal scroll */
@media (max-width: 991px) {
  .scroll-reveal.reveal-left,
  .scroll-reveal.reveal-right { transform: translateY(30px); }
  .scroll-reveal.reveal-left.is-visible,
  .scroll-reveal.reveal-right.is-visible { transform: none; }
}

/* Mobile / tablet navigation: the Services list opens full width inside the menu (it was being shifted off-screen) */
@media (max-width: 991px) {
  .services-nav-item .services-mega-menu,
  .services-nav-item.menu-open .services-mega-menu,
  .services-nav-item.menu-open > .services-mega-menu { position: static; left: auto; width: 100%; max-width: 100%; max-height: none; transform: none !important; border-radius: 0; box-shadow: none; }
  .services-nav-item.menu-open > .services-mega-menu { padding: 6px 14px 10px; }
  .services-menu-grid.services-menu-list { grid-template-columns: 1fr; gap: 0; }
  .services-menu-list a { padding: 12px 4px; border-bottom: 1px solid #222; font-size: 15px; line-height: 1.4; }
  .services-menu-list a:last-child { border-bottom: 0; }
}

/* Small phones: slightly larger helper text and easier-to-tap buttons (desktop is unchanged) */
@media (max-width: 575px) {
  .eyebrow { font-size: .75rem; }
  .btn { padding: 14px 22px; font-size: .86rem; }
  .text-link, .career-apply-link { font-size: .86rem; }
  .career-apply-link { padding-top: 10px; padding-bottom: 10px; }
  .contact-form-card label, .careers-page label { font-size: .84rem; }
  .topbar a, .topbar span { font-size: .78rem; }
  .footer-bottom, .footer-bottom a { font-size: .8rem; }
}

/* Never allow a sideways scrollbar: off-screen animation offsets and gutters are clipped, not scrolled */
main { overflow-x: clip; }

/* Site-wide text wrapping (web and mobile): neat justified paragraphs, hyphenation so lines fill evenly,
   no lonely last words, balanced headings. Short UI text (cards' meta, buttons, footers, hero text) is left alone. */
main section:not([class*="hero"]) p { text-align: justify; text-justify: inter-word; hyphens: auto; overflow-wrap: break-word; text-wrap: pretty; }
main section:not([class*="hero"]) li { hyphens: auto; overflow-wrap: break-word; text-wrap: pretty; }
main :is(h1, h2, h3, h4) { text-wrap: balance; overflow-wrap: break-word; }
/* centred blocks stay centred */
main .text-center :is(p, li),
main section:not([class*="hero"]) .text-center :is(p, li),
main section:not([class*="hero"]) .about-section-heading p,
main section:not([class*="hero"]) .reference-heading p { text-align: center; hyphens: manual; }
/* short / structural text that should not be justified */
main section:not([class*="hero"]) :is(.contact-details, .map-links, .career-role-card, .blog-card-meta, .sector-list, .reference-clients-points, .reference-stat, .reference-call-now-inner, .reference-cta-inner, .reference-service-card, .team-row-role, .service-detail-sidebar, .nclt-service-links, .cg-checks, .reference-intro-points) :is(p, li) { text-align: left; hyphens: manual; }
main section:not([class*="hero"]) .cg-checks li,
main section:not([class*="hero"]) .reference-intro-points li { text-align: left; hyphens: manual; }

/* large intro paragraphs on small phones: left aligned so word gaps never open up */
@media (max-width: 575px) { main section:not([class*="hero"]) p.lead-copy { text-align: left; } }

/* Home page on tablets / phones: tighter section spacing, compact Our Services cards, centred "Read More" button */
@media (max-width: 991px) {
  main > .reference-intro-lead,
  main > .reference-intro,
  main > .reference-advisory,
  main > .reference-services,
  main > .reference-why,
  main > .reference-sectors,
  main > .reference-faq,
  main > .reference-clients,
  main > .reference-call-now,
  main > .seo-text-section { padding-top: 40px; padding-bottom: 40px; }
  main > .reference-stat-band { padding-bottom: 28px; }
  main > .reference-cta:not(.section-space-sm) { padding-bottom: 40px; }
  main > .reference-services .reference-service-card { min-height: 0; padding: 26px 24px 28px; }
  main > .reference-services .reference-service-card > img { height: 150px; margin-bottom: 20px; }
  main > .reference-services .reference-service-card h3 { min-height: 0; margin-bottom: 18px; font-size: 1.3rem; }
  main > .reference-services .reference-service-card { text-align: center; }
  main > .reference-services .reference-service-card h3 { text-align: left; }
  main > .reference-services .reference-service-card a { display: flex; width: fit-content; min-width: 200px; margin: 0 auto; }
  main > .reference-services .row { --bs-gutter-y: 1rem; }
  main > .reference-services .text-center.mt-5 { margin-top: 1.5rem !important; }
}
@media (max-width: 575px) {
  main > .reference-intro-lead,
  main > .reference-intro,
  main > .reference-advisory,
  main > .reference-services,
  main > .reference-why,
  main > .reference-sectors,
  main > .reference-faq,
  main > .reference-clients,
  main > .reference-call-now,
  main > .seo-text-section { padding-top: 32px; padding-bottom: 32px; }
  main > .reference-services .reference-service-card { padding: 22px 20px 24px; }
  main > .reference-services .reference-service-card > img { height: 140px; }
}

/* Home Our Services cards on tablets / phones: title centred like the button */
@media (max-width: 991px) {
  main > .reference-services .reference-service-card h3 { text-align: center; text-wrap: balance; }
}

/* ===== Home page on phones: layout modelled on hsmehta.com (plain rounded images, even text, centred buttons) ===== */
@media (max-width: 767px) {
  /* images: plain, rounded, full width (no thick white frame / offset shadow) */
  main > .reference-hero ~ .reference-intro-lead .reference-small-image,
  main > .reference-hero ~ .reference-intro .reference-image-frame {
    height: 280px; border: 0; border-radius: 22px; box-shadow: 0 8px 22px rgba(11, 30, 59, .14);
  }
  main > .reference-hero ~ .reference-advisory .reference-advisory-image {
    height: 280px; padding: 0; border-radius: 22px; background: none; box-shadow: 0 8px 22px rgba(11, 30, 59, .14);
  }
  main > .reference-hero ~ .reference-advisory .reference-advisory-image img,
  main > .reference-hero ~ .reference-intro-lead .reference-small-image img,
  main > .reference-hero ~ .reference-intro .reference-image-frame img { border-radius: 22px; }

  /* one text size for lead and body copy, like the reference */
  main > .reference-hero ~ section p.lead-copy { font-size: 1rem; line-height: 1.85; color: var(--muted); text-align: justify; }

  /* buttons and links centred */
  main > .reference-hero ~ .reference-intro-lead .btn,
  main > .reference-hero ~ .reference-sectors .btn { display: flex; width: fit-content; min-width: 190px; margin: 24px auto 0 !important; justify-content: center; }
  main > .reference-hero ~ section .text-link { display: flex; width: fit-content; margin: 24px auto 0; }
  main > .reference-hero ~ .reference-sectors .col-lg-5 { text-align: left; }

  /* stat band: number above its label, centred */
  main > .reference-hero ~ .reference-stat-band .reference-stat { flex-direction: column; gap: 6px; text-align: center; }
  main > .reference-hero ~ .reference-stat-band .reference-stat div { align-items: center; padding-left: 0; border-left: 0; }
  main > .reference-hero ~ .reference-stat-band .reference-stat small { max-width: 260px; }

  /* Why Choose cards: compact */
  main > .reference-hero ~ .reference-why .reference-feature { padding: 22px 20px; }
  main > .reference-hero ~ .reference-why .reference-feature h3 { margin: 12px 0 8px; }

  /* call-to-action bands: centred text and button */
  main > .reference-hero ~ .reference-cta .reference-cta-inner,
  main > .reference-hero ~ .reference-call-now .reference-call-now-inner { align-items: center; text-align: center; padding: 36px 22px; }
  main > .reference-hero ~ .reference-cta .reference-cta-inner h2 { margin-top: 10px; }
  main > .reference-hero ~ .reference-cta .reference-cta-inner .btn { width: fit-content; min-width: 200px; justify-content: center; }
}
@media (max-width: 767px) {
  /* all home body copy in one colour (the first paragraph used to be lighter) */
  main > .reference-hero ~ .reference-intro-lead p,
  main > .reference-hero ~ .reference-intro p,
  main > .reference-hero ~ .reference-advisory p,
  main > .reference-hero ~ .reference-sectors p,
  main > .reference-hero ~ .seo-text-section p { color: var(--ink); }
}
@media (max-width: 767px) {
  main > .reference-hero ~ .reference-why .reference-feature p { text-align: left; hyphens: manual; }
}

/* ===== All inner pages on phones: same look as the home page (stacked numbered items, readable cards, centred CTA band) ===== */
@media (max-width: 767px) {
  /* numbered service items: number above the title so the text uses the full width */
  .service-detail-list article,
  .formation-reference-services article { display: block; padding: 20px 18px; }
  .company-law-reference-item,
  .fema-reference-item,
  .trademark-reference-item,
  .amalgamation-reference-item { display: block; padding: 20px 6px; }
  .service-detail-list article > span,
  .formation-reference-services article > span,
  .company-law-reference-item > span,
  .fema-reference-item > span,
  .trademark-reference-item > span,
  .amalgamation-reference-item > span { display: block; margin-bottom: 8px; }
  .service-detail-list h3,
  .formation-reference-services h3 { font-size: 1.15rem; line-height: 1.3; }
  .service-detail-list p,
  .formation-reference-services p,
  .company-law-reference-item p,
  .fema-reference-item p,
  .trademark-reference-item p,
  .amalgamation-reference-item p { text-align: left; hyphens: manual; }

  /* service page heroes: readable heading size */
  .service-detail-hero h1,
  .formation-hero h1,
  .nclt-clone-hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.15; text-wrap: balance; }
  .service-detail-hero p,
  .formation-hero p { font-size: .98rem; line-height: 1.7; }

  /* closing call-to-action band: centred like the home page */
  main > .reference-cta .reference-cta-inner { align-items: center; text-align: center; padding: 36px 22px; }
  main > .reference-cta .reference-cta-inner h2 { margin-top: 10px; }
  main > .reference-cta .reference-cta-inner .btn { width: fit-content; min-width: 200px; justify-content: center; }
  main > .reference-cta .reference-cta-inner p { text-align: center; }
}
@media (max-width: 575px) {
  .formation-entity-grid,
  .formation-entity-grid-compact,
  .formation-principle-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  /* inner pages: lead paragraph the same size and colour as the body copy (as on the home page) */
  main section:not([class*="hero"]) p.lead-copy { font-size: 1rem; line-height: 1.85; color: var(--ink); text-align: justify; }
  .service-detail-section p, .formation-reference-section > p, .formation-reference-section > .lead-copy,
  .about-story-section p, .about-highlight-section p, .contact-intro, .careers-intro p, .sectors-intro p,
  .blog-post-content p, .blog-post-content li, .cg-page .reference-intro p, .cg-page .reference-advisory p,
  .seo-text-block p { color: var(--ink); }
}
@media (max-width: 767px) {
  /* inner pages: plain rounded images, no thick white frame (same as the home page) */
  .cg-page .reference-image-frame,
  .cg-page .reference-advisory-image,
  main > .about-story-section .about-image-frame {
    height: 270px; padding: 0; border: 0; border-radius: 22px; background: none; box-shadow: 0 8px 22px rgba(11, 30, 59, .14); overflow: hidden;
  }
  .cg-page .reference-image-frame img,
  .cg-page .reference-advisory-image img,
  main > .about-story-section .about-image-frame img { border-radius: 22px; }
  /* governance / NCLT text blocks: justified like the rest of the site */
  main .cg-page .reference-intro p, main .cg-page .reference-advisory p { text-align: justify; hyphens: auto; }
}

/* home page (desktop only): tighter vertical spacing between sections */
@media (min-width: 992px) {
  main > #home ~ .section-space,
  main > #home ~ .reference-intro.section-space,
  main > #home ~ .reference-services.section-space,
  main > #home ~ .reference-advisory.section-space,
  main > #home ~ .reference-why.section-space,
  main > #home ~ .reference-sectors.section-space,
  main > #home ~ .reference-faq.section-space,
  main > #home ~ .reference-clients.section-space { padding-top: 48px; padding-bottom: 48px; }
  main > #home ~ .reference-intro-lead.section-space-sm,
  main > #home ~ .seo-text-section.section-space-sm { padding-top: 32px; padding-bottom: 32px; }
  main > #home ~ .reference-intro-lead + .reference-intro.section-space { padding-top: 16px; }
  main > #home ~ .reference-intro.section-space + .reference-advisory.section-space { padding-top: 0; }
  main > #home ~ .reference-clients.section-space + .reference-call-now.section-space { padding-top: 0; }
  main > #home ~ .reference-call-now.section-space { padding-bottom: 48px; }
  main > #home ~ .reference-cta.section-space-sm { padding: 0 0 40px; }
  main > #home ~ section:has(+ .reference-cta.section-space-sm) { padding-bottom: 40px; }
  main > #home ~ .reference-cta:not(.section-space-sm) { padding-bottom: 40px; }
  main > #home ~ .reference-stat-band { padding-bottom: 32px; }
  /* services cards: less empty space above the image and between heading and cards */
  main > #home ~ .reference-services .reference-service-card { min-height: 0; padding: 32px 36px 24px; }
  main > #home ~ .reference-services .reference-service-card > img { margin-bottom: 22px; }
  main > #home ~ .reference-services .reference-service-card h3 { min-height: 0; margin-bottom: 18px; }
}

/* all pages (desktop only): tighter vertical spacing between sections; heroes untouched */
@media (min-width: 992px) {
  main section.section-space:not([class*="hero"]),
  main .cg-page .reference-intro,
  main .cg-page .reference-advisory,
  main .cg-page .reference-why,
  main .cg-page .reference-faq,
  main section.formation-reference-page.section-space,
  main section.about-story-section.section-space,
  main section.about-capabilities-section.section-space,
  main section.about-policies-section.section-space { padding-top: 48px; padding-bottom: 48px; }
  main section.section-space-sm:not([class*="hero"]) { padding-top: 32px; padding-bottom: 32px; }
  main section.about-highlight-section.section-space-sm { padding-top: 36px; padding-bottom: 36px; }
  main section.reference-cta.section-space-sm { padding-top: 0; padding-bottom: 40px; }
  main section:has(+ .reference-cta.section-space-sm),
  main .cg-page:has(+ .reference-cta.section-space-sm) > section:last-child { padding-bottom: 40px; }
  main section.sectors-intro.section-space,
  main section.careers-intro.section-space { padding-bottom: 40px; }
  main section.team-section { padding-top: 48px; padding-bottom: 32px; }
  main section.nclt-clone-section { padding-top: 56px; padding-bottom: 64px; }
  main .formation-reference-section { margin-bottom: 36px; }
}

/* Certification & Industrial Compliance Services page */
.amalgamation-hero h1 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.service-detail-list .service-detail-sublabel { margin: 18px 0 4px; color: var(--navy); font: 600 .95rem/1.4 'DM Sans', sans-serif; }
.service-detail-list .service-detail-support { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid #dfe4ea; }
.service-detail-list .service-detail-support strong { color: var(--navy); }

/* Certification & Industrial Compliance Services (desktop): tighter spacing between and inside sections */
@media (min-width: 992px) {
  main .cg-page.cert-page section.reference-intro.section-space,
  main .cg-page.cert-page section.reference-why.section-space { padding-top: 32px; padding-bottom: 32px; }
  .cert-page .reference-image-frame { height: 320px; }
  .cert-page .reference-image-frame img { height: 100%; object-fit: cover; }
  .cert-page .cg-checks { margin-top: 22px; gap: 10px 40px; }
  .cert-page .cg-note { margin-top: 16px; }
  .cert-page .reference-intro .section-title { margin-bottom: 12px; }
  .cert-page .nclt-service-links { margin-top: 18px; }
}

/* Blogs page: titles inside the alternating image / text rows */
main > .reference-intro .section-title a { color: inherit; }
main > .reference-intro .section-title a:hover { color: var(--gold); }
main > .reference-intro .blog-card-meta { margin: 4px 0 18px; }

/* Blogs page: show each blog image in full (frame follows the image's own proportions, no cropping) */
main > .reference-intro.blog-row .reference-image-frame { height: auto; }
main > .reference-intro.blog-row .reference-image-frame img { height: auto; object-fit: contain; }

/* Blog detail pages: same section format as the services pages */
.blog-detail .blog-row p:first-child { color: var(--navy); font-size: 1.12rem; line-height: 1.75; }
.blog-detail ol { padding-left: 1.25rem; color: var(--muted); }
.blog-detail ol li { margin-bottom: 8px; line-height: 1.85; }
.blog-detail .cg-checks { margin-top: 18px; }

/* Blog detail pages: tighter spacing between and inside sections (desktop and mobile) */
main .cg-page.blog-detail > section.reference-intro.section-space,
main .cg-page.blog-detail > section.reference-why.section-space { padding-top: 28px; padding-bottom: 28px; }
.blog-detail .section-title { margin: 0 0 10px; }
.blog-detail .reference-intro p, .blog-detail .reference-intro ol { margin-bottom: 10px; }
.blog-detail .reference-intro .reveal-up > :last-child, .blog-detail .reference-intro .col-lg-6 > :last-child { margin-bottom: 0; }
.blog-detail .cg-checks { margin-top: 12px; gap: 8px 40px; }
.blog-detail .reference-heading { margin-bottom: 0; }
.blog-detail .nclt-service-links { margin-top: 14px; }
@media (min-width: 992px) {
  .blog-detail .reference-image-frame { border-width: 6px; }
}
@media (max-width: 991px) {
  main .cg-page.blog-detail > section.reference-intro.section-space,
  main .cg-page.blog-detail > section.reference-why.section-space { padding-top: 22px; padding-bottom: 22px; }
  .blog-detail .row { --bs-gutter-y: 1.25rem; }
}

/* Team page: spacing between paragraphs of a profile */
.team-row-text p + p { margin-top: 12px; }

/* Our Services page (desktop only): less empty space around and inside the service cards */
@media (min-width: 992px) {
  main > .service-detail-hero + .reference-services.section-space { padding-top: 40px; padding-bottom: 40px; }
  main > .service-detail-hero + .reference-services .row { --bs-gutter-y: 1.25rem; }
  main > .service-detail-hero + .reference-services .reference-service-card { display: flex; flex-direction: column; min-height: 0; padding: 28px 36px 24px; }
  main > .service-detail-hero + .reference-services .reference-service-card > img { margin-bottom: 20px; }
  main > .service-detail-hero + .reference-services .reference-service-card h3 { flex: 1 1 auto; min-height: 0; margin-bottom: 18px; }
  main > .service-detail-hero + .reference-services .reference-service-card a { align-self: flex-start; }
}

/* Home page, first image + text section (desktop only): tighter spacing between the heading, paragraphs and list */
@media (min-width: 992px) {
  main > #home ~ .reference-intro-lead .section-title { margin-bottom: 10px; }
  main > #home ~ .reference-intro-lead p { margin-bottom: 8px; line-height: 1.6; }
  main > #home ~ .reference-intro-lead .reference-intro-points { margin-top: 4px; margin-bottom: 14px; }
  main > #home ~ .reference-intro-lead .reference-intro-points li { margin-bottom: 4px; line-height: 1.55; }
}

/* Home page (desktop only): no wide gaps between words in the first text block; Why Choose card text same size as the other home text */
@media (min-width: 992px) {
  main > #home ~ .reference-why .reference-feature p { font-size: 1rem; line-height: 1.7; }
  main > #home ~ .reference-why .reference-feature h3 { font-size: 1.25rem; }
}

/* Formation page "Why Choose" section: same card text sizes as the home page Why Choose section (desktop) */
@media (min-width: 992px) {
  main > .formation-why .reference-feature p { font-size: 1rem; line-height: 1.7; }
  main > .formation-why .reference-feature h3 { font-size: 1.25rem; }
}
