/* ============================================================
   Sameer Khan & Associates
   Theme: White & Gold — Traditional Delhi Law Firm
   advocatesameerdelhi.in
   ============================================================ */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');
@import url('https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css');

/* ---------- Variables ---------- */
:root {
  --gold:         #9A7B2F;
  --gold-dark:    #7A5F1F;
  --gold-mid:     #B8942E;
  --gold-light:   #C9A84C;
  --gold-pale:    #F7F0DC;
  --gold-border:  #DEC97A;
  --dark:         #1A1A1A;
  --text:         #3A3A3A;
  --muted:        #6B6B6B;
  --border:       #E5E0D6;
  --bg-grey:      #F8F5EF;
  --white:        #FFFFFF;
  --wa-green:     #25D366;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.07);
  --shadow:       0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:    0 8px 36px rgba(0,0,0,0.12);
  --radius:       6px;
  --radius-lg:    10px;
  --transition:   all 0.22s ease;
  --font-serif:   'EB Garamond', 'Georgia', serif;
  --font-sans:    'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --max-width:    1120px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body  { font-family: var(--font-sans); background: var(--white); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; width: 100%; max-width: 100vw; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-serif); color: var(--dark); line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p  { color: var(--text); margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 16px;
}
.rule-center { margin-left: auto; margin-right: auto; }

/* ---------- Layout ---------- */
.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section    { padding: 60px 0; }
.section-bg { background: var(--bg-grey); }
.text-center{ text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 24px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover { background: #333; }

.btn-wa {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
}
.btn-wa:hover { background: #1ebe5a; }

/* ---------- DISCLAIMER MODAL ---------- */
#disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

#disclaimer-modal {
  background: var(--white);
  max-width: 520px;
  width: 100%;
  max-height: 78vh;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  overflow: hidden;
  border: 1.5px solid var(--gold);
  animation: modalPop 0.22s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.disclaimer-header {
  background: var(--dark);
  color: var(--white);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
  flex-shrink: 0;
}

.disclaimer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.disclaimer-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: rgba(154, 123, 47, 0.25);
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
}

.disclaimer-body {
  padding: 14px 16px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  flex: 1 1 auto;
  background: #fdfcf9;
}

.disclaimer-body p { margin-bottom: 8px; }
.disclaimer-body strong { color: var(--dark); }
.disclaimer-body ul { list-style: disc; padding-left: 18px; margin: 6px 0 8px; }
.disclaimer-body ul li { margin-bottom: 4px; color: #444; }

.disclaimer-footer {
  padding: 10px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
  text-align: center;
  flex-shrink: 0;
}
.disclaimer-footer .btn { 
  width: 100%; 
  justify-content: center; 
  padding: 10px 20px; 
  font-size: 0.95rem; 
  letter-spacing: 0.04em;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(154,123,47,0.35);
}

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--gold);
  transition: var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  flex-wrap: nowrap;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-logo-sub {
  font-size: 0.65rem;
  color: var(--gold-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--dark);
  padding: 6px 10px;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--gold);
}

/* Nav Dropdown for Desktop */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  padding: 6px 0;
  display: none;
  z-index: 1050;
  animation: navDropFade 0.2s ease;
}

@keyframes navDropFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 0.84rem;
  color: var(--dark);
  font-weight: 500;
  border-bottom: 1px solid #f1ece4;
  white-space: normal;
  line-height: 1.35;
}

.nav-dropdown-menu a:last-child {
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
  padding-left: 20px;
}

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-call {
  display: flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--white);
  padding: 7px 16px; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.83rem; font-weight: 700;
  transition: var(--transition);
}
.nav-call:hover { background: var(--gold-dark); }

.nav-wa {
  display: flex; align-items: center; gap: 6px;
  background: var(--wa-green); color: var(--white);
  padding: 7px 14px; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 0.83rem; font-weight: 700;
  transition: var(--transition);
}
.nav-wa:hover { background: #1ebe5a; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; background: var(--white);
  border-top: 1px solid var(--border);
  padding: 8px 18px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { display: block; }
.mobile-nav > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 4px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid #f1ece4;
  text-decoration: none;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.mobile-nav > a:last-child {
  border-bottom: none;
}
.mobile-nav > a:hover,
.mobile-nav > a:active {
  color: var(--gold);
  padding-left: 5px;
}
.mobile-nav-practice-box {
  padding: 10px 4px 8px;
  border-bottom: 1px solid #f1ece4;
}
.mobile-nav-practice-title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.mobile-nav-practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
}
.mobile-nav-practice-grid a {
  padding: 7px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  border: 1px solid rgba(154, 123, 47, 0.22);
  border-radius: 6px;
  background: #fdfbf7;
  text-decoration: none;
  display: block;
  line-height: 1.25;
  transition: all 0.18s ease;
}
.mobile-nav-practice-grid a:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
  border-color: var(--gold);
}
.mobile-nav-practice-grid a.active-link {
  font-weight: 700;
  color: var(--gold-dark);
  background: #fdf6e6;
  border-color: var(--gold);
}
.mobile-nav-practice-grid a.span-2 {
  grid-column: span 2;
}
.mobile-cta { display: none !important; }

/* ---------- HERO ---------- */
#hero { padding-top: 64px; background: var(--white); border-bottom: 1px solid var(--border); }

.hero-grid {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 40px; align-items: center; padding: 42px 0 36px;
}

/* ---------- HERO ROTATING SLIDER TICKER ---------- */
.hero-ticker-wrap {
  display: inline-block;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
.hero-ticker-track {
  position: relative;
  min-height: 32px;
}
.ticker-slide {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  color: #854d0e;
  letter-spacing: 0.03em;
  background: #fefce8;
  border: 1px solid #fef08a;
  padding: 5px 14px;
  border-radius: 20px;
  animation: tickerFade 0.4s ease-out;
}
.ticker-slide.active {
  display: inline-flex;
}
@keyframes tickerFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ticker-icon {
  font-size: 0.88rem;
  color: var(--gold);
}

.hero-eyebrow-clean {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 8px;
}
.hero-title { font-size: clamp(2rem, 3.8vw, 2.9rem); color: var(--dark); line-height: 1.15; margin-bottom: 6px; }
.hero-title span { color: var(--gold); }
.hero-tagline { font-family: var(--font-serif); font-size: 1.1rem; color: var(--muted); font-style: italic; margin-bottom: 14px; }
.hero-desc { font-size: 0.98rem; color: var(--text); line-height: 1.7; margin-bottom: 0; max-width: 520px; }
.hero-court-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(154, 123, 47, 0.08);
  border: 1px solid rgba(154, 123, 47, 0.25);
  border-radius: 6px;
  padding: 7px 14px;
  margin-top: 18px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
}
.hero-court-strip .hcs-icon {
  color: var(--gold);
  font-size: 1rem;
}

/* ---------- HERO BAR MEMBERSHIPS (RECOGNIZED BAR MEMBERSHIPS) ---------- */
.hero-bar-memberships {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.hbm-label {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
}
.hbm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.hbm-tag {
  background: #18181b;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
}
.hbm-tag:hover {
  background: var(--gold-dark);
  color: #ffffff;
  border-color: var(--gold);
}

/* ---------- CLEAN EXECUTIVE PROFILE DP ---------- */
.hero-photo-wrap {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.hero-photo-frame {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid rgba(154, 123, 47, 0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-photo-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}
.hero-photo-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hero-photo-caption {
  background: #ffffff;
  padding: 12px 16px;
  text-align: center;
  border-top: 1px solid rgba(154, 123, 47, 0.15);
}
.hero-photo-caption .hpc-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.hero-photo-caption .hpc-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 3px;
}

/* ---------- TRUST STRIP ---------- */
#trust-strip { background: var(--dark); padding: 12px 0; }
.trust-inner {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 0;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.8); font-family: var(--font-sans);
  font-size: 0.82rem; font-weight: 600;
  padding: 5px 20px; border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-item:last-child { border-right: none; }
.trust-item .ti-icon { color: var(--gold-light); }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.about-img-wrap { position: relative; }
.about-img-main {
  width: 100%; max-height: 480px; object-fit: cover; object-position: top center;
  border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow);
}
.about-img-office {
  position: absolute; bottom: -20px; right: -20px;
  width: 160px; height: 130px; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}
.about-exp {
  position: absolute; top: 20px; left: -20px;
  background: var(--gold); color: var(--white);
  text-align: center; padding: 14px 16px;
  border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--font-sans);
  min-width: 90px;
}
.about-exp strong { display: block; font-size: 1.9rem; font-family: var(--font-serif); line-height: 1; }
.about-exp span   { font-size: 0.65rem; letter-spacing: 0.05em; opacity: 0.9; text-transform: uppercase; }
.about-exp-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  animation: tickerFade 0.4s ease-out;
}
.about-exp-slide.active {
  display: flex;
}

/* ---------- 3 KEY HIGHLIGHTS TAGS (PC VIEW: ABOVE HEADLINE) ---------- */
.about-tags-floating-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
/* Mobile overlap tags: hidden on PC view */
.about-tags-mobile-overlap {
  display: none;
}

.at-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fdfbf7;
  border: 1px solid rgba(154, 123, 47, 0.35);
  border-radius: 24px;
  padding: 7px 16px;
  font-family: var(--font-sans);
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--dark);
  box-shadow: 0 2px 6px rgba(154, 123, 47, 0.08);
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.at-tag-pill:hover {
  transform: translateY(-2px);
  background: #fbf5e6;
  border-color: var(--gold);
}
.at-tag-icon {
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.at-tag-text {
  letter-spacing: 0.02em;
}

/* Icon Utility Styling (FontAwesome & BoxIcons) */
.bx, .fa-solid, .fa-brands, .fa-regular {
  vertical-align: middle;
}
.why-icon i {
  font-size: 1.45rem;
  color: var(--white);
  line-height: 1;
}
.cd-icon-bx, .cd-icon-fa {
  font-size: 1.25rem;
  color: var(--gold);
  line-height: 1;
}
.float-circle-btn i {
  font-size: 1.35rem;
  line-height: 1;
  color: #ffffff;
}
.mbb-btn i {
  font-size: 1.35rem;
  line-height: 1;
}

/* Contact Address Compact Switchers */
.addr-desktop { display: inline; }
.addr-mobile  { display: none; }

/* ---------- HERO BAR MEMBERSHIPS ROW ---------- */
.hero-bar-memberships {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.hbm-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  white-space: nowrap;
  padding-top: 6px;
  flex-shrink: 0;
}
.hbm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hbm-tag {
  display: inline-block;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 3px;
  letter-spacing: 0.01em;
  transition: background 0.18s;
}
.hbm-tag:hover { background: var(--gold-dark); }

/* ---------- PRACTICE AREAS EXTRAS & SHOW ALL ---------- */
.exp-showall-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 0;
  flex-wrap: wrap;
}
.exp-showmore-btn {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--gold);
  gap: 8px;
  font-size: 0.88rem;
}
.exp-showmore-btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold-dark);
}
.exp-viewall-btn {
  font-size: 0.88rem;
}

.about-highlights-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0 22px;
}
.highlight-pill {
  background: #fdfbf7;
  border: 1px solid rgba(154, 123, 47, 0.28);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.highlight-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(154, 123, 47, 0.12);
}
.hl-pill-icon {
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
  line-height: 1;
}
.hl-pill-content {
  display: flex;
  flex-direction: column;
}
.hl-pill-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}
.hl-pill-sub {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  color: #666;
  margin-top: 2px;
  line-height: 1.2;
}

.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 22px; }
.highlight {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--gold-pale); padding: 11px 12px;
  border-radius: var(--radius); border-left: 2px solid var(--gold);
}
.highlight p { font-size: 0.82rem; font-family: var(--font-sans); color: var(--dark); font-weight: 600; margin: 0; line-height: 1.35; }

.memberships { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mem-tag {
  background: var(--dark); color: var(--white);
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600;
  padding: 5px 14px; border-radius: 3px;
}

/* ---------- STATS ---------- */
#stats-bar { background: var(--gold); padding: 36px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat-item { padding: 8px 16px; border-right: 1px solid rgba(255,255,255,0.25); }
.stat-item:last-child { border-right: none; }
.stat-num  { display: block; font-family: var(--font-serif); font-size: 2.6rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-label{ font-family: var(--font-sans); font-size: 0.8rem; color: rgba(255,255,255,0.85); margin-top: 6px; }

/* ---------- OUR EXPERTISE / CASES CARDS (PIC 2 STYLE) ---------- */
.expertise-header {
  margin-bottom: 28px;
}
.expertise-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.exp-card {
  background: #f4f5f7;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.exp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.exp-card-media {
  position: relative;
  height: 165px;
  background: #0f172a;
  overflow: hidden;
}
.exp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.exp-card:hover .exp-card-media img {
  transform: scale(1.04);
}
.exp-card-badge {
  position: absolute;
  bottom: -15px;
  left: 15px;
  width: 36px;
  height: 36px;
  background: #071914;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  z-index: 2;
  color: #ffffff;
}
.exp-card-badge svg {
  width: 17px;
  height: 17px;
}
.exp-card-body {
  padding: 22px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.exp-card-body h3 {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
  line-height: 1.3;
}
.exp-card-body p {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 14px 0;
  flex: 1;
}
.exp-card-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease, gap 0.2s ease;
  margin-top: auto;
}
.exp-card:hover .exp-card-link {
  color: var(--gold-dark);
  gap: 7px;
}

/* Card Image Placeholder Fallback */
.card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0e1e19 0%, #17382d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  padding: 10px;
  text-align: center;
}
.cip-icon {
  font-size: 1.8rem;
  color: var(--gold-pale);
}
.cip-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Redirection Box for More Legal Services */
.exp-more-box {
  margin-top: 32px;
  background: #ffffff;
  border: 1px solid rgba(154, 123, 47, 0.25);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.emb-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.emb-text h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark);
  margin: 0 0 6px;
}
.emb-text p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
}
.emb-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.emb-pill {
  display: inline-block;
  padding: 7px 14px;
  background: #fdfbf7;
  border: 1px solid rgba(154, 123, 47, 0.35);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: all 0.2s ease;
}
.emb-pill:hover {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}
.emb-pill-cta {
  background: var(--dark);
  color: #ffffff;
  border-color: var(--dark);
}
.emb-pill-cta:hover {
  background: var(--gold);
  color: #ffffff;
}

/* ---------- PRACTICE AREAS SHOW ALL / VIEW ALL ROW ---------- */
.exp-showall-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.exp-showmore-btn {
  background: var(--gold);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.exp-showmore-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}
.exp-viewall-btn {
  padding: 10px 22px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1.5px solid var(--gold);
  color: var(--dark);
  border-radius: var(--radius);
  background: #ffffff;
  transition: all 0.2s ease;
}
.exp-viewall-btn:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- 2-LINE SLIDING MARQUEE FOR COURTS ---------- */
.courts-slider-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 24px;
  padding: 8px 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.courts-track-line {
  display: flex;
  gap: 12px;
  width: max-content;
  margin-bottom: 12px;
}
.courts-track-line.line-1 {
  animation: slideLeft 28s linear infinite;
}
.courts-track-line.line-2 {
  animation: slideRight 32s linear infinite;
}
.courts-slider-wrap:hover .courts-track-line {
  animation-play-state: paused;
}
@keyframes slideLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes slideRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.exp-card:hover .exp-card-link {
  color: #9a7b2f;
  gap: 7px;
}
.pc-link:hover { gap: 8px; }

/* ---------- WHY US ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.why-card {
  text-align: center; padding: 28px 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.why-icon {
  width: 56px; height: 56px; margin: 0 auto 14px;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.why-card h4 { font-size: 0.95rem; margin-bottom: 7px; color: var(--dark); }
.why-card p  { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- COURTS ---------- */
.courts-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.court-tag {
  background: var(--white); border: 1px solid var(--border);
  color: var(--dark); font-family: var(--font-sans); font-size: 0.84rem; font-weight: 600;
  padding: 8px 18px; border-radius: 3px; transition: var(--transition);
}
.court-tag:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ---------- TEAM ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; text-align: center; transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow); }
.team-photo { height: 220px; background: var(--bg-grey); overflow: hidden; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.4s ease; }
.team-card:hover .team-photo img { transform: scale(1.04); }
.team-photo-placeholder {
  width: 100%; height: 100%; background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700;
  color: var(--gold-light);
}
.team-info { padding: 16px; }
.team-info h4   { font-size: 0.98rem; margin-bottom: 3px; color: var(--dark); }
.team-info span { font-size: 0.75rem; color: var(--gold); font-weight: 700; font-family: var(--font-sans); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- OFFICE ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.office-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.office-grid img:hover { box-shadow: var(--shadow); }

/* Office Locations Two-column Layout */
.office-locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.office-loc-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 14px; }
.office-loc-label {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700;
  color: var(--gold-dark); text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.office-loc-card .office-grid { gap: 8px; }
.office-loc-card .office-grid img { height: 180px; }

/* ---------- TESTIMONIALS ---------- */
.testi-slider-container { position: relative; width: 100%; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; transition: var(--transition); }
.testi-card:hover { box-shadow: var(--shadow); }
.testi-stars { color: #B8902A; font-size: 0.9rem; margin-bottom: 10px; }
.testi-card p { font-size: 0.88rem; font-style: italic; color: var(--text); line-height: 1.65; margin-bottom: 16px; font-family: var(--font-serif); }
.testi-author { display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--border); }
.ta-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gold); color: var(--white);
  font-family: var(--font-serif); font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ta-name { font-size: 0.88rem; font-weight: 700; color: var(--dark); font-family: var(--font-sans); }
.ta-type { font-size: 0.75rem; color: var(--muted); font-family: var(--font-sans); }
/* Arrow buttons — hidden on desktop */
.testi-arrow { display: none; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }

.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.cd-icon {
  width: 40px; height: 40px;
  background: var(--gold-pale); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1px solid var(--gold-border);
}
.cd-label { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; display: block; margin-bottom: 2px; }
.cd-value { font-family: var(--font-sans); font-size: 0.9rem; color: var(--dark); font-weight: 500; line-height: 1.45; }
.cd-value a:hover { color: var(--gold); }

.contact-btns-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 24px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { display: block; }

/* Contact Form */
.contact-form-box {
  background: var(--bg-grey); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--border);
}
.contact-form-box h3 { margin-bottom: 4px; }
.form-note-sub { font-size: 0.82rem; color: var(--muted); font-family: var(--font-sans); margin-bottom: 22px; }

.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-family: var(--font-sans); font-size: 0.82rem; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-sans); font-size: 0.9rem;
  color: var(--dark); background: var(--white); transition: var(--transition); outline: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(154,123,47,0.1);
}
.form-row textarea { resize: vertical; min-height: 100px; }

.form-submit { width: 100%; justify-content: center; padding: 13px; font-size: 0.95rem; }
.form-privacy { font-size: 0.75rem; color: var(--muted); text-align: center; margin-top: 10px; font-family: var(--font-sans); display: flex; align-items: center; justify-content: center; gap: 4px; }

.direct-wa-box {
  margin-top: 16px; padding: 14px;
  background: rgba(37,211,102,0.07); border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius); text-align: center;
}
.direct-wa-box p { font-size: 0.8rem; color: var(--muted); margin-bottom: 10px; font-family: var(--font-sans); }

#form-success {
  display: none; background: #EBF7ED; border: 1px solid #A8D5AE;
  border-radius: var(--radius); padding: 16px; text-align: center;
  color: #2E7D32; font-family: var(--font-sans); font-size: 0.9rem; margin-top: 14px; font-weight: 600;
}

/* ---------- FOOTER (EXACT MATCH TO SANDHYA GUPTA PIC 5) ---------- */
#footer {
  background: #061a15;
  color: rgba(255,255,255,0.78);
  padding: 52px 0 0;
  font-family: var(--font-sans);
  position: relative;
}

.footer-sg-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 40px;
}

.footer-sg-brand .nav-logo,
.footer-sg-brand .footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-sg-brand .nav-logo-img,
.footer-sg-brand .footer-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.footer-sg-brand .nav-logo-name,
.footer-sg-brand .footer-logo-name {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: block;
  line-height: 1.2;
}
.footer-sg-brand .nav-logo-sub,
.footer-sg-brand .footer-logo-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}
.footer-sg-bio {
  font-size: 0.84rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
  margin-bottom: 20px;
  max-width: 320px;
}
.footer-follow-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  display: block;
}
.footer-social-circles {
  display: flex;
  gap: 10px;
}
.social-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #061a15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.social-circle-btn:hover {
  transform: translateY(-2px);
  background: var(--gold);
  color: #ffffff;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  font-family: var(--font-sans);
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li {
  margin-bottom: 9px;
}
.footer-links-list li a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}
.footer-links-list li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

/* Contact rows in col 4 with circular white icons */
.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.footer-contact-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  color: #061a15;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-circle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.footer-contact-circle i {
  font-size: 15px;
  color: #061a15;
  line-height: 1;
}
.footer-contact-info {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.45;
}
.footer-contact-info a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}
.footer-contact-info a:hover {
  color: var(--gold);
}

.footer-sg-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-sg-bottom p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.footer-scroll-top-btn {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.footer-scroll-top-btn:hover {
  background: rgba(255,255,255,0.3);
}

/* Left floating action buttons matching pic 5 */
.float-actions-left {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.float-circle-btn:hover {
  transform: scale(1.1);
}
.float-circle-btn.btn-email { background: #e53935; }
.float-circle-btn.btn-call  { background: #1e88e5; }
.float-circle-btn.btn-wa    { background: #25d366; }
.float-circle-btn svg { width: 20px; height: 20px; fill: currentColor; }

#scroll-top { display: none; }

/* ---------- FAQ ACCORDION (HOMEPAGE & GLOBAL) ---------- */
.faq-section {
  padding: 64px 0 70px;
  background: #fdfcf9;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.faq-list {
  max-width: 860px;
  margin: 32px auto 0;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 14px rgba(154, 123, 47, 0.08);
}
.faq-item.open {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(154, 123, 47, 0.12);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}
.faq-q:hover {
  background: var(--gold-pale);
  color: var(--gold-dark);
}
.faq-item.open .faq-q {
  background: #fbf7ee;
  color: var(--gold-dark);
  font-weight: 700;
}
.faq-chevron,
.faq-q svg,
.faq-q i {
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron,
.faq-item.open .faq-q svg,
.faq-item.open .faq-q i {
  transform: rotate(180deg);
}
.faq-a {
  display: none;
  padding: 16px 20px 20px;
  font-family: var(--font-sans);
  font-size: 0.91rem;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
  border-top: 1px solid rgba(154, 123, 47, 0.15);
}
.faq-a p {
  margin: 0 0 10px;
}
.faq-a p:last-child {
  margin-bottom: 0;
}
.faq-item.open .faq-a {
  display: block;
}

/* ---------- FADE IN ---------- */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ---------- MOBILE BOTTOM QUICK BAR ---------- */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: var(--white);
  border-top: 1.5px solid var(--gold);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

.mbb-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  gap: 3px;
  transition: background 0.2s;
  border-right: 1px solid var(--border);
}

.mbb-btn:last-child {
  border-right: none;
}

.mbb-btn svg {
  width: 17px;
  height: 17px;
}

.mbb-call {
  background: var(--gold);
  color: var(--white);
}
.mbb-call:active, .mbb-call:hover {
  background: var(--gold-dark);
}

.mbb-wa {
  background: var(--wa-green);
  color: var(--white);
}
.mbb-wa:active, .mbb-wa:hover {
  background: #1eb956;
}

.mbb-chamber {
  background: #242424;
  color: #f1ede3;
}
.mbb-chamber:active, .mbb-chamber:hover {
  background: #111;
}

/* ============================================================
   RESPONSIVE & MOBILE-FIRST OPTIMIZATIONS
============================================================ */
@media (max-width: 1024px) {
  .exp-grid      { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .why-grid      { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-sg-grid{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-grid     { grid-template-columns: 1fr 300px; gap: 32px; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 58px; /* space for mobile bottom bar */
  }

  /* Compact Mobile Disclaimer Modal - Button Always Visible */
  #disclaimer-overlay { padding: 8px; align-items: center; }
  #disclaimer-modal { 
    max-height: 70vh; 
    width: 94%; 
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  .disclaimer-header { padding: 8px 14px; }
  .disclaimer-header h3 { font-size: 0.98rem; }
  .disclaimer-body { 
    padding: 10px 14px; 
    font-size: 0.78rem; 
    line-height: 1.45; 
  }
  .disclaimer-body p { margin-bottom: 6px; }
  .disclaimer-body ul { margin: 5px 0 6px; padding-left: 15px; }
  .disclaimer-body ul li { margin-bottom: 3px; }
  .disclaimer-footer { padding: 8px 14px; }
  .disclaimer-footer .btn { 
    padding: 9px 16px; 
    font-size: 0.9rem; 
    font-weight: 700;
  }

  .mobile-bottom-bar {
    display: grid;
  }

  /* Reposition floating widgets so they don't cover bottom bar */
  .float-actions-left {
    display: none; /* Mobile bottom bar provides quick actions */
  }
  #float-wa {
    display: none;
  }

  .section { padding: 36px 0; }
  .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .nav-inner { height: 60px; }
  .nav-logo-img { width: 40px; height: 40px; }
  .nav-logo-name { font-size: 1.02rem; }
  .nav-logo-sub { font-size: 0.58rem; letter-spacing: 0.1em; }
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  /* Hero Mobile Optimized & Centered Alignment */
  .hero-grid { 
    grid-template-columns: 1fr; 
    gap: 18px; 
    padding: 16px 0 24px; 
  }
  .hero-ticker-track { min-height: 28px; }
  .ticker-slide { font-size: 0.70rem; padding: 4px 10px; }
  .hero-photo-wrap { 
    order: -1; 
    max-width: 270px; 
    margin: 0 auto; 
  }
  .hero-photo-frame img { 
    height: 290px; 
    object-position: center 15%; 
    object-fit: cover;
  }
  .hero-photo-caption { padding: 10px 14px; }
  .hero-photo-caption .hpc-name { font-size: 1.05rem; }
  .hero-photo-caption .hpc-title { font-size: 0.68rem; }
  .hero-content {
    text-align: center;
    padding: 0 4px;
    box-sizing: border-box;
  }
  .hero-eyebrow-clean { 
    font-size: 0.72rem; 
    display: block; 
    text-align: center; 
    margin-bottom: 6px; 
  }
  .hero-title { 
    font-size: 1.75rem; 
    line-height: 1.2; 
    text-align: center; 
    margin-bottom: 6px; 
  }
  .hero-tagline { 
    font-size: 0.95rem; 
    margin-bottom: 8px; 
    text-align: center; 
  }
  .hero-desc  { 
    font-size: 0.88rem; 
    line-height: 1.55; 
    margin: 0 auto 14px; 
    max-width: 460px; 
    text-align: center; 
  }
  .hero-court-strip { 
    font-size: 0.74rem; 
    padding: 7px 12px; 
    width: 100%; 
    max-width: 440px; 
    margin: 0 auto; 
    justify-content: center; 
    text-align: center;
    box-sizing: border-box;
  }
  .hero-bar-memberships {
    align-items: center;
    margin-top: 14px;
    width: 100%;
  }
  .hbm-tags {
    justify-content: center;
    gap: 6px;
  }
  .hbm-tag {
    font-size: 0.73rem;
    padding: 5px 10px;
  }

  /* Practice Areas / Cases Cards Mobile (Big Rectangular Photos, Less Text - Pic 1 Style) */
  .exp-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
  }
  .exp-card { 
    border-radius: 8px; 
    overflow: hidden; 
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
  }
  .exp-card-media { 
    height: 175px !important; 
    width: 100%;
    border-radius: 8px 8px 0 0;
  }
  .exp-card-media img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
  }
  .exp-card-body { 
    padding: 7px 8px 9px; 
    flex: 0 0 auto;
  }
  .exp-card-body h3 { 
    font-size: 0.84rem; 
    line-height: 1.18; 
    margin: 0 0 3px; 
    font-weight: 700;
    color: #111827;
  }
  /* Less space for text on mobile: hide description paragraph */
  .exp-card-body p { 
    display: none !important; 
  }
  .exp-card-link { 
    font-size: 0.68rem; 
    font-weight: 700;
    color: var(--gold-dark);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-top: 2px;
  }
  .exp-more-box { padding: 14px 12px; margin-top: 16px; border-radius: 8px; }
  .emb-text h4 { font-size: 0.98rem; margin-bottom: 4px; }
  .emb-text p { font-size: 0.74rem; line-height: 1.35; }
  .emb-links { gap: 6px; margin-top: 8px; }
  .emb-pill { padding: 4px 8px; font-size: 0.68rem; }

  /* About Section Mobile Alignment (Inside Picture Tags on Mobile) */
  .about-grid { 
    grid-template-columns: 1fr; 
    gap: 18px; 
  }
  .about-img-office { display: none; }
  .about-img-wrap {
    position: relative;
    max-width: 290px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  /* Elegant contrast gradient at photo bottom for inside tags */
  .about-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 52%;
    background: linear-gradient(to top, rgba(14, 12, 8, 0.88) 0%, rgba(14, 12, 8, 0.42) 55%, rgba(14, 12, 8, 0) 100%);
    pointer-events: none;
    z-index: 2;
  }
  .about-img-main {
    display: block;
    width: 100%;
    height: 315px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
  }
  /* 12+ Years Exp badge on the photo in mobile view (restored as in PC view) */
  .about-exp { 
    display: block !important;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    background: var(--gold);
    color: var(--white);
    text-align: center;
    padding: 7px 11px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    font-family: var(--font-sans);
    min-width: 68px;
    border: 1px solid rgba(255, 255, 255, 0.28);
  }
  .about-exp strong {
    display: block;
    font-size: 1.45rem;
    font-family: var(--font-serif);
    line-height: 1;
    font-weight: 700;
  }
  .about-exp span {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.95;
    margin-top: 2px;
    font-weight: 700;
  }

  /* Mobile-only tags: positioned INSIDE the picture, beautifully aligned */
  .about-tags-mobile-overlap {
    display: flex !important;
    position: absolute;
    bottom: 10px;
    left: 6px;
    right: 6px;
    z-index: 5;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0 2px;
    box-sizing: border-box;
  }
  .at-pill-mob {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(20, 16, 10, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(212, 175, 55, 0.65);
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.70rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
  }
  .at-pill-mob i {
    color: var(--gold-light);
    font-size: 0.76rem;
  }

  /* Hide PC version of tags on mobile */
  .about-tags-pc {
    display: none !important;
  }

  .about-text { 
    margin-top: 6px; 
    width: 100%;
    text-align: left;
    box-sizing: border-box;
  }
  .about-text .label {
    display: block;
    text-align: center;
  }
  .about-text h2 {
    font-size: 1.55rem;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 8px;
  }
  .about-text .rule {
    margin: 0 auto 14px;
  }
  .about-text p {
    font-size: 0.90rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 12px;
    text-align: left;
    word-break: break-word;
  }

  .why-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 8px; 
  }
  .why-card { 
    padding: 10px 8px; 
    text-align: center; 
    border-radius: 8px; 
  }
  .why-icon { 
    width: 28px; 
    height: 28px; 
    margin: 0 auto 5px; 
  }
  .why-icon svg { width: 15px; height: 15px; }
  .why-card h4 { 
    font-size: 0.82rem; 
    line-height: 1.2; 
    margin-bottom: 3px; 
  }
  .why-card p { 
    font-size: 0.66rem; 
    line-height: 1.3; 
  }

  /* Legal Team (Big Rectangular Photos, Less Text - Pic 1 Style) */
  .team-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 8px; 
  }
  .team-card { 
    padding: 0; 
    border-radius: 8px; 
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-align: left; 
    display: flex;
    flex-direction: column;
  }
  .team-photo { 
    width: 100%; 
    height: 165px !important; 
    border-radius: 8px 8px 0 0;
    margin: 0; 
    overflow: hidden;
  }
  .team-photo img { 
    width: 100% !important; 
    height: 100% !important; 
    border-radius: 8px 8px 0 0; 
    object-fit: cover; 
    object-position: top center;
  }
  .team-photo-placeholder { 
    width: 100% !important; 
    height: 100% !important; 
    font-size: 1.6rem; 
    border-radius: 8px 8px 0 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; 
  }
  .team-info {
    padding: 6px 8px 8px;
    flex: 0 0 auto;
  }
  .team-info h4 { 
    font-size: 0.84rem; 
    line-height: 1.18; 
    margin: 0 0 2px; 
    font-weight: 700;
  }
  .team-info span { 
    font-size: 0.65rem; 
    color: var(--gold-dark); 
    display: block; 
  }
  /* Less space for text on mobile: hide long description */
  .team-info p { 
    display: none !important; 
  }

  /* Testimonials Mobile — Horizontal Slider */
  .testi-slider-container {
    padding: 0 32px;
    position: relative;
  }
  .testi-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding: 8px 2px 14px !important;
    scrollbar-width: none;
    margin-top: 0 !important;
  }
  .testi-grid::-webkit-scrollbar { display: none; }
  .testi-card {
    flex: 0 0 86% !important;
    scroll-snap-align: center !important;
    min-width: 0;
  }
  .testi-arrow {
    display: flex !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--gold);
    color: var(--dark);
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
  }
  .testi-prev { left: -4px; }
  .testi-next { right: -4px; }
  .clients-strip { gap: 8px; }
  .client-pill { padding: 6px 12px; font-size: 0.78rem; }

  /* Chamber & Office Infrastructure (Both Pics In One Line Mobile View) */
  .office-locations-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }
  .office-loc-card .office-grid img { height: 110px !important; }
  .office-grid { 
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 6px; 
  }
  .office-grid picture,
  .office-grid img { 
    height: 105px !important; 
    width: 100% !important; 
    object-fit: cover; 
    border-radius: 6px; 
  }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form-box { padding: 18px 14px; }
  .contact-item { padding: 10px 12px; font-size: 0.85rem; }

  /* Compact mobile addresses in Contact section */
  .addr-desktop { display: none !important; }
  .addr-mobile  { display: inline !important; }

  /* Hero bar memberships — stack nicely on mobile */
  .hero-bar-memberships {
    align-items: center;
    text-align: center;
    gap: 8px;
    margin-top: 14px;
  }
  .hbm-label { padding-top: 0; font-size: 0.70rem; text-align: center; }
  .hbm-tags { justify-content: center; gap: 6px; }
  .hbm-tag { font-size: 0.72rem; padding: 5px 10px; }

  /* Practice area show-more row */
  .exp-showall-row { gap: 8px; margin-top: 14px; }
  .exp-showmore-btn, .exp-viewall-btn { font-size: 0.82rem; padding: 9px 16px; }

  /* Footer Mobile */
  .footer-sg-grid  { grid-template-columns: 1fr; gap: 28px; }
  .footer-sg-bottom{ flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 480px) {
  .container { padding-left: 14px !important; padding-right: 14px !important; }
  /* Keep team grid 2 cards per line on small mobile screens */
  .team-grid  { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .mobile-cta { flex-direction: column; }
}
