/* ============================================================
   PATNA LEX — Shared Stylesheet
   Colours: Navy #0c1b3a | Gold #c9a242 | Off-white #f7f5f0
   ============================================================ */

/* ---- Variables ---- */
:root {
  --navy:        #0c1b3a;
  --navy-mid:    #162848;
  --navy-light:  #1e3560;
  --gold:        #c9a242;
  --gold-light:  #e8d5a0;
  --gold-pale:   #f5edd6;
  --off-white:   #f7f5f0;
  --white:       #ffffff;
  --text:        #1c1c1c;
  --text-mid:    #3d4251;
  --text-gray:   #536078;  /* was #5a6275 — darkened for contrast */
  --border:      #ddd9cf;
  --shadow:      0 4px 24px rgba(12,27,58,0.10);
  --shadow-lg:   0 12px 48px rgba(12,27,58,0.18);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }

/* ---- Google Fonts (declared in <head> of each page) ---- */

/* ============================================================
   DISCLAIMER POPUP
   ============================================================ */
#disclaimer-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(7,14,28,0.93);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.disclaimer-box {
  background: var(--white); max-width: 680px; width: 100%;
  padding: 2.5rem 3rem; border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.d-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.d-mark {
  width: 42px; height: 42px; background: var(--navy);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.d-mark span { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 700; }
.d-name strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.d-name small { font-size: 0.62rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.1em; }
.disclaimer-box h2 { font-size: 1.45rem; color: var(--navy); margin-bottom: 0.85rem; }
.disclaimer-box > p { font-size: 0.82rem; color: var(--text-mid); margin-bottom: 0.75rem; line-height: 1.65; }
.disclaimer-box ul { margin: 0.5rem 0 1.25rem; }
.disclaimer-box ul li {
  font-size: 0.79rem; color: var(--text-mid); padding: 0.4rem 0 0.4rem 1.2rem;
  position: relative; border-bottom: 1px solid var(--border);
}
.disclaimer-box ul li::before { content: '›'; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 1rem; }
.disc-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.btn-agree {
  background: var(--navy); color: #fff; padding: 0.78rem 2rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; cursor: pointer; border: 2px solid var(--navy);
  transition: background 0.2s, color 0.2s;
}
.btn-agree:hover { background: var(--navy-mid); }
.btn-disagree {
  background: transparent; color: var(--text-mid); padding: 0.78rem 1.5rem;
  font-size: 0.78rem; border: 1px solid var(--border); cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.06em; transition: all 0.2s;
}
.btn-disagree:hover { border-color: var(--navy); color: var(--navy); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(12,27,58,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,162,66,0.18);
  transition: box-shadow 0.3s;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark {
  width: 40px; height: 40px; background: var(--gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.logo-mark span { color: var(--navy); font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 700; }
.logo-text strong { display: block; color: #fff; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; letter-spacing: 0.06em; }
.logo-text small { font-size: 0.58rem; color: var(--gold); letter-spacing: 0.18em; text-transform: uppercase; }
nav.main-nav { display: flex; align-items: center; gap: 0.1rem; }
nav.main-nav a {
  color: rgba(255,255,255,0.90);   /* was 0.82 — improved */
  font-size: 0.76rem; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 0.5rem 0.9rem; font-weight: 500; position: relative; transition: color 0.2s;
}
nav.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0.9rem; right: 0.9rem;
  height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.2s;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--gold); }
nav.main-nav a:hover::after,
nav.main-nav a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 0.6rem 1.4rem !important; font-weight: 700 !important;
  margin-left: 0.75rem;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #d4ae55 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: all 0.3s; }
#mobile-nav {
  display: none; background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
}
#mobile-nav a {
  display: block; color: rgba(255,255,255,0.88);
  padding: 0.85rem 2rem; font-size: 0.85rem;
  letter-spacing: 0.06em; border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
#mobile-nav a:hover, #mobile-nav a.active { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 0.9rem 2.2rem; font-size: 0.77rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 2px solid var(--gold); transition: all 0.25s; cursor: pointer;
}
.btn-primary:hover { background: transparent; color: var(--gold); }
.btn-outline-light {
  background: transparent; color: #fff;
  padding: 0.9rem 2.2rem; font-size: 0.77rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.45);
  display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.25s;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark {
  background: var(--navy); color: #fff;
  padding: 0.85rem 2rem; font-size: 0.77rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 2px solid var(--navy); transition: all 0.25s;
}
.btn-dark:hover { background: transparent; color: var(--navy); }
.btn-gold {
  background: var(--gold); color: var(--navy);
  padding: 0.9rem 2.2rem; font-size: 0.77rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: none; cursor: pointer; transition: all 0.25s; width: 100%;
  display: block; text-align: center;
}
.btn-gold:hover { background: #d4ae55; }

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section { padding: 6rem 2rem; }
.container { max-width: 1280px; margin: 0 auto; }

.section-label {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem;
}
.section-label::before { content: ''; display: block; width: 32px; height: 2px; background: var(--gold); }
.section-label span { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.section-title { font-size: clamp(1.9rem, 3.5vw, 2.9rem); color: var(--navy); font-weight: 600; margin-bottom: 0.85rem; }
.section-title em { font-style: italic; color: var(--gold); }
.section-sub { font-size: 0.92rem; color: var(--text-gray); max-width: 560px; line-height: 1.82; }
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-sub { max-width: 680px; margin: 0 auto; }
.gold-divider { width: 56px; height: 2px; background: var(--gold); margin: 1.4rem 0; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  min-height: 340px;
  background: linear-gradient(130deg, rgba(12,27,58,0.95) 0%, rgba(30,53,96,0.90) 100%),
    url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  display: flex; align-items: flex-end;
  padding: 7rem 2rem 3rem;
}
.page-hero-inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.7rem; color: rgba(255,255,255,0.65);   /* was 0.5 */
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.breadcrumb a { color: var(--gold); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb span { color: rgba(255,255,255,0.40); }
.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem); color: #fff;
  font-weight: 600; max-width: 640px;
}
.page-hero h1 em { font-style: italic; color: var(--gold); }
.page-hero p {
  color: rgba(255,255,255,0.82);   /* was 0.7 */
  font-size: 0.95rem; max-width: 560px; margin-top: 0.75rem; line-height: 1.8;
}

/* ============================================================
   CTA BANNER (used on inner pages before footer)
   ============================================================ */
.cta-banner {
  background: var(--gold); padding: 4rem 2rem; text-align: center;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--navy); margin-bottom: 0.75rem; font-weight: 700; }
.cta-banner p { font-size: 0.92rem; color: rgba(12,27,58,0.75); margin-bottom: 2rem; }
.cta-banner .btn-dark { margin: 0 auto; display: inline-flex; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { background: #07111f; padding: 4rem 2rem 0; }
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .logo { margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.82rem; line-height: 1.82; color: rgba(255,255,255,0.68); max-width: 280px; }   /* was 0.45 */
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--gold); background: rgba(201,162,66,0.12); }
.footer-social svg { width: 14px; height: 14px; fill: rgba(255,255,255,0.72); }   /* was 0.6 */
.footer-col h4 {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem;
  font-family: 'Inter', sans-serif;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }   /* was 0.5 */
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto; padding: 1.6rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.74rem; color: rgba(255,255,255,0.52);   /* was 0.28 */
  flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom a { color: rgba(201,162,66,0.85); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bar-note {
  text-align: center; font-size: 0.68rem;
  color: rgba(255,255,255,0.38);   /* was 0.2 */
  padding: 1rem 2rem 1.5rem; max-width: 1280px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
   DARK SECTION — text contrast helpers
   When used on navy backgrounds, all body text must be ≥ 0.80
   ============================================================ */
.on-dark .section-title  { color: #fff; }
.on-dark .section-sub    { color: rgba(255,255,255,0.82); }   /* was 0.6 */
.on-dark .section-label span { color: var(--gold); }
.on-dark .section-label::before { background: var(--gold); }

/* ============================================================
   CARDS — PRACTICE
   ============================================================ */
.practice-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1.5px; background: var(--border);
}
.practice-card {
  background: #fff; padding: 2.5rem 2rem; position: relative;
  overflow: hidden; transition: background 0.3s, color 0.3s; cursor: default;
}
.practice-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s;
}
.practice-card:hover { background: var(--navy); }
.practice-card:hover::after { transform: scaleX(1); }
.practice-card:hover .pc-icon-wrap svg { stroke: var(--gold); }
.practice-card:hover .pc-title { color: #fff; }
.practice-card:hover .pc-text { color: rgba(255,255,255,0.82); }   /* was 0.65 */
.practice-card:hover .pc-link { color: var(--gold); }
.pc-icon-wrap { width: 44px; height: 44px; margin-bottom: 1.5rem; }
.pc-icon-wrap svg { width: 36px; height: 36px; }
.pc-title { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: 0.65rem; transition: color 0.3s; }
.pc-text { font-size: 0.83rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 1.1rem; transition: color 0.3s; }
.pc-link {
  font-size: 0.71rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.4rem; transition: color 0.3s;
}

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.team-card { position: relative; overflow: hidden; }
.team-img { width: 100%; height: 380px; object-fit: cover; transition: transform 0.5s; display: block; }
.team-card:hover .team-img { transform: scale(1.04); }
.team-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(12,27,58,0.97) 55%, transparent);
  padding: 2.5rem 1.5rem 1.5rem;
}
.team-overlay h3 { font-size: 1.3rem; color: #fff; margin-bottom: 0.2rem; font-weight: 600; }
.team-overlay .t-role { font-size: 0.68rem; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.team-overlay .t-spec { font-size: 0.79rem; color: rgba(255,255,255,0.78); line-height: 1.5; }   /* was 0.6 */

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-grid-home { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1.5rem; }
.news-grid-full { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.news-card { background: #fff; overflow: hidden; }
.news-card-img-wrap { overflow: hidden; }
.news-card-img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.4s; display: block; }
.news-card:hover .news-card-img { transform: scale(1.04); }
.news-card.featured .news-card-img { height: 300px; }
.news-card-body { padding: 1.5rem; }
.news-tag { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; display: block; }
.news-card-body h3 { font-size: 1.1rem; color: var(--navy); font-weight: 600; margin-bottom: 0.5rem; line-height: 1.35; }
.news-card.featured .news-card-body h3 { font-size: 1.4rem; }
.news-card-body p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 1rem; }
.news-meta { display: flex; gap: 1rem; font-size: 0.7rem; color: var(--text-gray); padding-top: 0.85rem; border-top: 1px solid var(--border); flex-wrap: wrap; }
.news-read { font-size: 0.7rem; font-weight: 600; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.75rem; display: inline-flex; align-items: center; gap: 0.4rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.testi-card { background: #fff; padding: 2rem; border-bottom: 3px solid var(--gold); }
.testi-quote { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: var(--gold); line-height: 0.6; margin-bottom: 1.1rem; }
.testi-text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.82; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testi-name strong { display: block; font-size: 0.88rem; color: var(--navy); font-weight: 600; }
.testi-name span { font-size: 0.72rem; color: var(--text-gray); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.69rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);   /* was 0.5 — major fix */
  margin-bottom: 0.4rem;
}
.form-group.on-light label { color: var(--text-mid); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.78rem 1rem; font-size: 0.88rem;
  font-family: 'Inter', sans-serif; outline: none; transition: border-color 0.2s;
}
/* Dark-bg form inputs */
.form-dark input, .form-dark select, .form-dark textarea {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
}
.form-dark input::placeholder, .form-dark textarea::placeholder { color: rgba(255,255,255,0.42); }
.form-dark input:focus, .form-dark select:focus, .form-dark textarea:focus { border-color: var(--gold); }
.form-dark select { cursor: pointer; }
.form-dark select option { background: var(--navy); color: #fff; }
/* Light-bg form inputs */
.form-light input, .form-light select, .form-light textarea {
  background: #fff; border: 1px solid var(--border); color: var(--text);
}
.form-light input:focus, .form-light select:focus, .form-light textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-disclaimer {
  font-size: 0.73rem; color: rgba(255,255,255,0.55);   /* was 0.35 */
  margin-bottom: 1.25rem; line-height: 1.65;
}
.form-disclaimer.on-light { color: var(--text-gray); }

/* ============================================================
   WHY-US CARDS
   ============================================================ */
.why-section { background: var(--navy); position: relative; overflow: hidden; }
.why-section::before {
  content: 'PATNA LEX'; position: absolute; right: -3rem; bottom: -2rem;
  font-family: 'Cormorant Garamond', serif; font-size: 11rem; font-weight: 700;
  color: rgba(255,255,255,0.025); white-space: nowrap; pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; margin-top: 3rem; }
.why-card { padding: 2rem; border: 1px solid rgba(255,255,255,0.10); position: relative; }
.why-card::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: var(--gold); }
.why-num { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; color: var(--gold); font-weight: 700; line-height: 1; margin-bottom: 0.6rem; }
.why-card h3 { font-size: 1.15rem; color: #fff; margin-bottom: 0.6rem; font-weight: 600; }
.why-card p { font-size: 0.84rem; color: rgba(255,255,255,0.80); line-height: 1.8; }   /* was 0.55 — major fix */

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar { background: var(--gold); padding: 2.5rem 2rem; }
.stats-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; }
.stat-item { text-align: center; }
.stat-item strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 3.6rem; color: var(--navy); font-weight: 700; line-height: 1; }
.stat-item strong span { font-size: inherit; color: inherit; font-weight: inherit; }
.stat-item > span { font-size: 0.8rem; color: var(--navy); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; display: block; font-weight: 700; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .news-grid-home { grid-template-columns: 1fr; }
  .news-grid-full { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  section { padding: 4rem 1.25rem; }
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
  .practice-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .news-grid-full { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .disclaimer-box { padding: 1.75rem 1.5rem; }
  .disc-actions { flex-direction: column; }
  .btn-agree, .btn-disagree { width: 100%; text-align: center; }
  .page-hero { padding-top: 6rem; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   ============  OVERRIDES & NEW COMPONENTS (2026 refresh) ====
   ============================================================ */
:root { --header-h: 110px; }

/* ---- Bigger header + real logo ---- */
.nav-inner { height: var(--header-h); }
#site-header { transition: box-shadow 0.3s, background 0.3s; }
#site-header.scrolled { box-shadow: 0 6px 28px rgba(0,0,0,0.32); background: rgba(9,20,44,0.98); }
.logo { gap: 0.95rem; }
.logo-img { height: 78px; width: auto; display: block; }
#site-header.scrolled .logo-img { height: 64px; transition: height 0.3s; }
.logo-text strong { font-size: 1.6rem; letter-spacing: 0.08em; line-height: 1.05; }
.logo-text small { font-size: 0.64rem; letter-spacing: 0.2em; }
nav.main-nav { gap: 0; }
nav.main-nav a { font-size: 0.8rem; letter-spacing: 0.04em; padding: 0.5rem 0.72rem; }
.nav-cta { padding: 0.65rem 1.3rem !important; font-size: 0.78rem !important; margin-left: 0.5rem; }

/* Mobile nav now toggled via .open class */
#mobile-nav { display: none; }
#mobile-nav.open { display: block; }
#mobile-nav a { font-size: 0.95rem; }
@media (max-width: 1080px) {
  nav.main-nav { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 1081px) { .hamburger { display: none; } }

/* ---- Footer contact bar + bigger footer links ---- */
.footer-contact-bar {
  max-width: 1280px; margin: 0 auto; padding: 1.3rem 0;
  display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.8rem; color: rgba(255,255,255,0.72);
}
.footer-contact-bar a { color: var(--gold); }
.footer-contact-bar a:hover { color: var(--gold-light); }
.footer-col ul li a { line-height: 1.5; display: inline-block; }

/* ---- Replace emoji value icons with gold SVG circles ---- */
.val-icon {
  width: 52px; height: 52px; margin: 0 auto 1rem; display: flex;
  align-items: center; justify-content: center;
  border: 1px solid rgba(201,162,66,0.4); border-radius: 50%;
}
.val-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.5; }

/* ============================================================
   HOME — Parinam-style expertise tiles (uniform, no empty blocks)
   ============================================================ */
.exp-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.exp-tile {
  background: #fff; border: 1px solid var(--border); padding: 1.5rem 1.4rem;
  display: flex; align-items: center; gap: 0.9rem;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.exp-tile.core { border-left: 3px solid var(--gold); }
.exp-tile svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 1.4; flex-shrink: 0; transition: stroke 0.3s; }
.exp-tile span { font-size: 0.9rem; font-weight: 600; color: var(--navy); line-height: 1.3; transition: color 0.3s; }
.exp-tile:hover { background: var(--navy); border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--shadow); }
.exp-tile:hover span { color: #fff; }
.exp-tile:hover svg { stroke: var(--gold); }
@media (max-width: 1024px) { .exp-tiles { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px)  { .exp-tiles { grid-template-columns: repeat(2,1fr); } }

/* ---- Our Work card images ---- */
.work-card { padding: 0; overflow: hidden; }
.wc-img { width: 100%; height: 190px; object-fit: cover; display: block; }
.wc-body { padding: 1.6rem 1.75rem 1.75rem; }
.work-card:hover .wc-img { opacity: 0.95; }

/* ============================================================
   PRACTICE AREAS — browse by tag + grid
   ============================================================ */
.pa-toolbar {
  position: sticky; top: var(--header-h); z-index: 100;
  background: var(--navy); padding: 1.1rem 2rem;
  border-bottom: 1px solid rgba(201,162,66,0.2);
}
.pa-toolbar-inner { max-width: 1280px; margin: 0 auto; display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.pa-toolbar .lbl { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-right: 0.5rem; }
.pa-chip {
  font-size: 0.72rem; color: rgba(255,255,255,0.82); letter-spacing: 0.05em;
  padding: 0.45rem 1rem; border: 1px solid rgba(255,255,255,0.18);
  background: transparent; cursor: pointer; transition: all 0.2s; border-radius: 2px;
}
.pa-chip:hover { border-color: var(--gold); color: var(--gold); }
.pa-chip.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }
.pa-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5px; background: var(--border); }
.pa-card {
  background: #fff; padding: 2rem 1.75rem; position: relative; overflow: hidden;
  transition: background 0.3s; display: flex; flex-direction: column;
}
.pa-card.is-core { box-shadow: inset 4px 0 0 var(--gold); }
.pa-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s; }
.pa-card:hover { background: var(--navy); }
.pa-card:hover::after { transform: scaleX(1); }
.pa-icon { width: 42px; height: 42px; margin-bottom: 1.1rem; }
.pa-icon svg { width: 34px; height: 34px; stroke: var(--navy); fill: none; stroke-width: 1.4; transition: stroke 0.3s; }
.pa-card:hover .pa-icon svg { stroke: var(--gold); }
.pa-card h3 { font-size: 1.12rem; color: var(--navy); font-weight: 600; margin-bottom: 0.5rem; transition: color 0.3s; }
.pa-card:hover h3 { color: #fff; }
.pa-card p { font-size: 0.8rem; color: var(--text-mid); line-height: 1.7; margin-bottom: 1rem; flex: 1; transition: color 0.3s; }
.pa-card:hover p { color: rgba(255,255,255,0.82); }
.pa-card .pa-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pa-card .pa-tag { font-size: 0.6rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,162,66,0.4); padding: 0.18rem 0.5rem; border-radius: 2px; }
.pa-card:hover .pa-tag { color: var(--gold-light); border-color: rgba(201,162,66,0.6); }
.pa-empty { display: none; text-align: center; padding: 3rem; color: var(--text-gray); font-size: 0.9rem; }
@media (max-width: 1024px) { .pa-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .pa-grid { grid-template-columns: 1fr; } }

/* ============================================================
   OUR WORK
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.work-card {
  background: #fff; border: 1px solid var(--border); border-left: 3px solid var(--gold);
  padding: 2rem 2rem 1.75rem; transition: transform 0.3s, box-shadow 0.3s;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-card .wc-cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; display: block; }
.work-card h3 { font-size: 1.2rem; color: var(--navy); font-weight: 600; margin-bottom: 0.6rem; line-height: 1.4; }
.work-card p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.75; }
.work-card .wc-tag { display: inline-block; margin-top: 1rem; font-size: 0.7rem; color: var(--text-gray); letter-spacing: 0.04em; }
@media (max-width: 768px) { .work-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WORK WITH US / Careers
   ============================================================ */
.wwu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.wwu-points li { font-size: 0.88rem; color: var(--text-mid); line-height: 1.7; padding: 0.55rem 0 0.55rem 1.6rem; position: relative; border-bottom: 1px solid var(--border); }
.wwu-points li::before { content: '›'; position: absolute; left: 0; color: var(--gold); font-weight: 700; font-size: 1.1rem; }
.role-card { background: var(--off-white); border: 1px solid var(--border); padding: 1.5rem 1.75rem; margin-bottom: 1rem; }
.role-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.3rem; font-weight: 600; }
.role-card .role-meta { font-size: 0.74rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }
.role-card p { font-size: 0.82rem; color: var(--text-mid); line-height: 1.7; }
@media (max-width: 900px) { .wwu-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */
.legal-wrap { max-width: 880px; margin: 0 auto; }
.legal-wrap h2 { font-size: 1.4rem; color: var(--navy); margin: 2.2rem 0 0.8rem; font-weight: 600; }
.legal-wrap h2:first-child { margin-top: 0; }
.legal-wrap p, .legal-wrap li { font-size: 0.88rem; color: var(--text-mid); line-height: 1.85; }
.legal-wrap p { margin-bottom: 1rem; }
.legal-wrap ul { margin: 0 0 1.25rem 1.25rem; list-style: disc; }
.legal-wrap li { margin-bottom: 0.5rem; padding-left: 0.25rem; }
.legal-wrap .updated { font-size: 0.78rem; color: var(--text-gray); margin-bottom: 2rem; font-style: italic; }

/* ---- Team profile bios: stable hover (no layout shift) ---- */
.team-profile-card { transition: transform 0.3s, box-shadow 0.3s; }
.team-profile-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ============================================================
   SHARED INNER PAGE HERO — consistent across every page
   Uses the edited Patna High Court banner (images/page-hero.jpg)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 440px;
  background: linear-gradient(118deg, rgba(9,18,40,0.95) 0%, rgba(12,27,58,0.80) 42%, rgba(12,27,58,0.48) 100%),
    url('images/page-hero.jpg') center/cover no-repeat;
  background-color: var(--navy);
  display: flex; align-items: flex-end;
  padding: 9.5rem 2rem 3.5rem;
  border-bottom: 3px solid var(--gold);
}
.page-hero .breadcrumb { margin-bottom: 1.1rem; }
.page-hero h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.08; }
.page-hero h1::after { content: ''; display: block; width: 64px; height: 3px; background: var(--gold); margin-top: 1.2rem; }
.page-hero p { margin-top: 1.4rem; color: rgba(255,255,255,0.88); font-size: 1rem; max-width: 600px; }
@media (max-width: 768px) { .page-hero { min-height: 360px; padding-top: 8rem; } }

/* ============================================================
   BIGGER BRAND + FIXED SIDE SOCIAL RAIL (icons only)
   ============================================================ */
:root { --header-h: 104px; }
.nav-inner { height: 100px; }
.logo-text strong { font-size: 2.05rem; letter-spacing: 0.06em; }
.logo-img { height: 72px; }
#site-header.scrolled .logo-img { height: 60px; }
nav.main-nav a { font-size: 0.84rem; }

.social-rail { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 400; display: flex; flex-direction: column; background: var(--navy); box-shadow: -2px 0 16px rgba(0,0,0,0.22); border-radius: 6px 0 0 6px; overflow: hidden; }
.social-rail a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.82); transition: background 0.2s, color 0.2s; }
.social-rail a + a { border-top: 1px solid rgba(255,255,255,0.08); }
.social-rail a:hover { background: var(--gold); color: var(--navy); }
.social-rail svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 640px) {
  .social-rail { top: auto; bottom: 0; left: 0; right: 0; transform: none; flex-direction: row; border-radius: 0; }
  .social-rail a { flex: 1; }
  .social-rail a + a { border-top: none; border-left: 1px solid rgba(255,255,255,0.08); }
}

/* Footer social icons -> real brand glyphs */
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.1rem; }
.footer-social a { color: rgba(255,255,255,0.6); display: inline-flex; transition: color 0.2s, transform 0.2s; }
.footer-social a:hover { color: var(--gold); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }

/* ============================================================
   BLOG ARTICLE PAGES
   ============================================================ */
.article-wrap { max-width: 760px; margin: 0 auto; }
.article-lead { width: 100%; height: 400px; object-fit: cover; display: block; box-shadow: var(--shadow); margin-bottom: 2rem; }
.article-meta { font-size: 0.76rem; color: var(--text-gray); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.75rem; }
.article-meta .news-tag { margin-right: 0.6rem; }
.article-wrap > p { font-size: 0.96rem; color: var(--text-mid); line-height: 1.95; margin-bottom: 1.25rem; }
.article-wrap > p.lead-p { font-size: 1.1rem; color: var(--text); }
.article-wrap em { font-style: italic; }
.article-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.article-tag { font-size: 0.68rem; color: var(--navy); background: var(--off-white); border: 1px solid var(--border); padding: 0.25rem 0.7rem; letter-spacing: 0.03em; }
.article-share { margin-top: 2rem; display: flex; align-items: center; gap: 0.8rem; }
.article-share span { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-gray); }
.article-share a { color: var(--navy); display: inline-flex; transition: color 0.2s; }
.article-share a:hover { color: var(--gold); }
.article-share svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 768px) { .article-lead { height: 260px; } }

/* ---- Blog feed cards (Insights + home, rendered from the Google Sheet) ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.blog-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card .bc-img { width: 100%; height: 210px; object-fit: cover; display: block; background: var(--off-white); }
.blog-card .bc-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.18rem; color: var(--navy); font-weight: 600; line-height: 1.35; margin: 0.55rem 0; }
.blog-card p { font-size: 0.84rem; color: var(--text-mid); line-height: 1.7; flex: 1; }
.blog-card .news-meta { margin-top: 0.9rem; }
.blog-card .news-read { margin-top: 0.9rem; }
.blog-empty { grid-column: 1 / -1; text-align: center; color: var(--text-gray); font-size: 0.9rem; padding: 2rem; }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid, .blog-grid.cols-2 { grid-template-columns: 1fr; } }

/* ============================================================
   OUR WORK — client logo wall
   ============================================================ */
.client-group + .client-group { margin-top: 3rem; }
.client-group h3 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.client-card { background: #fff; border: 1px solid var(--border); padding: 1.6rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.85rem; min-height: 150px; transition: transform 0.3s, box-shadow 0.3s; }
.client-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.client-logo-wrap { height: 60px; display: flex; align-items: center; justify-content: center; }
.client-logo { max-height: 58px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: 0.85; transition: filter 0.3s, opacity 0.3s; }
.client-card:hover .client-logo { filter: none; opacity: 1; }
.client-cap { font-size: 0.8rem; font-weight: 600; color: var(--navy); line-height: 1.3; }
.client-sub { font-size: 0.68rem; color: var(--text-gray); letter-spacing: 0.04em; }
@media (max-width: 1024px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
