/*
Theme Name: Musamma Legal
Theme URI: https://musamma.com
Description: Premium law firm theme for Musamma Legal
Author: JMI Agency
Version: 1.0.0
Text Domain: musamma-legal
*/

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D1B2A;
  --navy-light: #1B2D45;
  --gold: #C8963E;
  --gold-hover: #D4A84E;
  --white: #FFFFFF;
  --off-white: #F7F5F0;
  --light-gray: #EDEDEA;
  --text-dark: #1A1A1A;
  --text-body: #4A4A4A;
  --text-muted: #7A7A7A;
  --border: #E0DDD6;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1280px;
  --section-pad: 100px 0;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); color: var(--text-dark); line-height: 1.1; font-weight: 700; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 40px; }

/* ===================== LABEL / OVERLINE ===================== */
.overline {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: block;
}
.overline--gold { color: var(--gold); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--outline { background: transparent; border: 1px solid var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--outline-dark { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header .logo { display: flex; align-items: center; }
.site-header .logo a { display: flex; align-items: center; }
.site-header .logo__img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
.site-nav a:hover, .site-nav a.active { color: var(--white); }
.header-cta .btn { padding: 12px 28px; font-size: 11px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ===================== HERO ===================== */
.hero {
  background: var(--navy);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero__accent {
  width: 60px;
  height: 4px;
  background: var(--gold);
  margin-bottom: 30px;
}
.hero h1 {
  font-size: 64px;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero h1 .highlight {
  color: var(--gold);
  display: block;
}
.hero__text {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 420px;
}
.hero__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 2;
}
.hero__images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.hero__images img:first-child {
  grid-row: 1 / 3;
  height: 100%;
}

/* ===================== SECTION STYLES ===================== */
.section { padding: var(--section-pad); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--offwhite { background: var(--off-white); }
.section--light { background: var(--light-gray); }

.section__header {
  margin-bottom: 60px;
}
.section__header h2 {
  font-size: 48px;
  margin-bottom: 20px;
}
.section__header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
}

/* ===================== COMPETENCIES / PRACTICE CARDS ===================== */
.competencies-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}
.competencies-header h2 { font-size: 48px; max-width: 500px; }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.practice-card {
  padding: 40px 30px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.practice-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.practice-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--navy);
}
.practice-card__icon svg { width: 36px; height: 36px; }
.practice-card h3 {
  font-size: 20px;
  margin-bottom: 14px;
  font-family: var(--font-sans);
  font-weight: 700;
}
.practice-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.practice-card__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.practice-card__link:hover { color: var(--gold); }

/* ===================== ETHOS / SPLIT SECTION ===================== */
.ethos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ethos__content h2 {
  font-size: 48px;
  margin-bottom: 24px;
}
.ethos__content h2 em {
  font-style: italic;
  color: var(--gold);
}
.ethos__content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 24px;
}
.ethos__link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.ethos__link:hover { text-decoration: underline; }
.ethos__images { position: relative; }
.ethos__images .img-main {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.ethos__stat {
  background: var(--gold);
  color: var(--white);
  padding: 30px 40px;
  display: inline-block;
  margin-top: -60px;
  position: relative;
  z-index: 2;
}
.ethos__stat .number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  display: block;
}
.ethos__stat .label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ===================== TESTIMONIALS ===================== */
.testimonials { text-align: center; }
.testimonials .section__header { margin-bottom: 50px; }
.testimonials h2 { font-size: 48px; }
.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}
.testimonial__quote-mark {
  font-family: var(--font-serif);
  font-size: 72px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 24px;
  font-weight: 600;
}
.testimonial__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.testimonial__title {
  font-size: 13px;
  color: var(--text-muted);
}
.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}
.testimonials__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.testimonials__dots span.active { background: var(--gold); }

/* ===================== CTA SECTION ===================== */
.cta-section {
  text-align: center;
  padding: 120px 0;
}
.cta-section h2 {
  font-size: 52px;
  margin-bottom: 20px;
}
.cta-section h2 em {
  font-style: italic;
  color: var(--gold);
}
.cta-section p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .logo { margin-bottom: 16px; }
.footer__logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 320px;
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  transition: color 0.3s;
}
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.footer__bottom .copyright { color: rgba(255,255,255,0.35); }
.footer__bottom .consultation-link {
  color: var(--gold);
  font-weight: 600;
}

/* ===================== ABOUT PAGE ===================== */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.page-hero h1 {
  font-size: 64px;
  color: var(--white);
  margin-bottom: 20px;
}
.page-hero h1 .highlight { display: block; }
.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
}

/* Philosophy / About split */
.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.philosophy__left h3 {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.philosophy__left p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}
.philosophy__right {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  display: flex;
  align-items: center;
}
.philosophy__right p {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
}

/* Legacy section */
.legacy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.legacy__image {
  position: relative;
}
.legacy__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.legacy__content {
  background: var(--off-white);
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.legacy__content h2 {
  font-size: 48px;
  margin-bottom: 20px;
}
.legacy__content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 30px;
}
.legacy__stats {
  display: flex;
  gap: 40px;
}
.legacy__stat .number {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 700;
  color: var(--text-dark);
}
.legacy__stat .label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Leadership cards */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.leader-card { text-align: center; }
.leader-card__image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  margin-bottom: 20px;
  filter: grayscale(30%);
  transition: filter 0.3s;
}
.leader-card:hover .leader-card__image { filter: grayscale(0%); }
.leader-card h3 { font-size: 20px; margin-bottom: 6px; font-family: var(--font-sans); font-weight: 700; }
.leader-card p { font-size: 14px; color: var(--text-muted); }

/* ===================== PRACTICE AREAS PAGE ===================== */
.practice-hero {
  background: var(--white);
  padding: 160px 0 60px;
}
.practice-hero h1 {
  font-size: 72px;
  margin-bottom: 20px;
}
.practice-hero p {
  font-size: 16px;
  color: var(--text-body);
  max-width: 600px;
  line-height: 1.7;
}

.practice-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.pa-card {
  padding: 44px 36px 36px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  margin: -0.5px;
}
.pa-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pa-card:hover::before { transform: scaleX(1); }
.pa-card:hover {
  background: var(--navy);
  border-color: var(--navy);
  z-index: 2;
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(13,27,42,0.2);
}
.pa-card:hover .pa-card__number,
.pa-card:hover .pa-card__desc { color: rgba(255,255,255,0.5); }
.pa-card:hover h3 { color: var(--white); }
.pa-card:hover .pa-card__icon svg { color: var(--gold); }
.pa-card:hover .pa-card__arrow { color: var(--gold); opacity: 1; transform: translateX(0); }
.pa-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: auto; }
.pa-card__icon { margin-bottom: 0; }
.pa-card__icon svg { width: 36px; height: 36px; color: var(--navy); transition: color 0.4s; }
.pa-card__number {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--border);
  letter-spacing: 1px;
  transition: color 0.4s;
}
.pa-card__body { margin-top: auto; }
.pa-card h3 {
  font-size: 19px;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  transition: color 0.4s;
}
.pa-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  transition: color 0.4s;
}
.pa-card__arrow {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s;
}
.pa-card__arrow svg { margin-left: 6px; }
.pa-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  grid-column: span 2;
}
.pa-card--featured::before { transform: scaleX(1); }
.pa-card--featured .pa-card__number { color: rgba(255,255,255,0.25); }
.pa-card--featured .pa-card__icon svg { color: var(--gold); }
.pa-card--featured h3 { color: var(--gold); font-size: 22px; }
.pa-card--featured .pa-card__desc { color: rgba(255,255,255,0.55); font-size: 14px; }
.pa-card--featured .pa-card__arrow { opacity: 1; transform: translateX(0); color: var(--white); }
.pa-card--featured:hover { transform: scale(1.01); background: var(--navy-light); }
a.pa-card-link { display: flex; text-decoration: none; color: inherit; }
a.pa-card-link .pa-card { cursor: pointer; width: 100%; }
a.pa-card-link--featured { grid-column: span 2; }

/* Tradition section */
.tradition {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}
.tradition h2 { font-size: 42px; margin-bottom: 16px; }
.tradition p { font-size: 15px; line-height: 1.8; color: var(--text-body); }
.tradition__stats { display: flex; gap: 50px; margin-top: 30px; }
.tradition__image {
  background: var(--navy);
  padding: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tradition__image .icon {
  width: 60px;
  height: 60px;
  color: var(--gold);
  margin-bottom: 16px;
}
.tradition__image .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ===================== TEAM PAGE ===================== */
.team-hero {
  background: var(--navy);
  padding: 160px 0 80px;
}
.team-hero h1 {
  font-size: 64px;
  color: var(--white);
  margin-bottom: 20px;
}
.team-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  line-height: 1.7;
}

.team-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: -1px;
}
.team-featured__member {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.team-featured__member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transition: filter 0.3s;
}
.team-featured__member:hover img { filter: brightness(0.75); }
.team-featured__info {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: var(--white);
}
.team-featured__info h3 {
  font-size: 18px;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.team-featured__info p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.council-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.council-member h4 {
  font-size: 16px;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--gold);
}
.council-member p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.join-section { text-align: center; }
.join-section h2 { font-size: 48px; margin-bottom: 16px; }
.join-section p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 36px;
}
.join-section .btn-group { display: flex; gap: 16px; justify-content: center; }

/* ===================== INSIGHTS PAGE ===================== */
.insights-featured {
  background: var(--gold);
  padding: 160px 0 60px;
  position: relative;
}
.insights-featured .overline { color: rgba(255,255,255,0.7); }
.insights-featured h1 {
  font-size: 56px;
  color: var(--white);
  margin-bottom: 20px;
}
.insights-featured h1 em { font-style: italic; }
.insights-featured__meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.insights-featured .btn { margin-top: 10px; }

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.insight-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
}
.insight-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.insight-card--text-only {
  grid-template-columns: 1fr;
}
.insight-card__image {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
.insight-card__content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.insight-card__content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
}
.insight-card__content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Newsletter */
.newsletter {
  background: var(--navy);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter h2 {
  font-size: 36px;
  color: var(--gold);
  margin-bottom: 12px;
}
.newsletter p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.newsletter__form { display: flex; gap: 12px; }
.newsletter__form input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-sans);
}
.newsletter__form input::placeholder { color: rgba(255,255,255,0.4); }

/* ===================== CAREERS PAGE ===================== */
.careers-hero {
  background: var(--white);
  padding: 160px 0 60px;
}
.careers-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.careers-hero h1 { font-size: 64px; margin-bottom: 16px; }
.careers-hero p { font-size: 15px; color: var(--text-body); line-height: 1.7; }

.life-at {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.life-card {
  padding: 40px;
  border: 1px solid var(--border);
}
.life-card h3 {
  font-size: 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 12px;
}
.life-card p { font-size: 14px; color: var(--text-body); line-height: 1.7; }
.life-card--featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.life-card--featured h3 { color: var(--gold); }
.life-card--featured p { color: rgba(255,255,255,0.7); }

.positions-list { max-width: 800px; }
.position-item {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.position-item h3 {
  font-size: 20px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.position-item .arrow {
  font-size: 24px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.position-item:hover .arrow { color: var(--gold); }

.careers-cta {
  background: var(--gold);
  padding: 80px 0;
}
.careers-cta h2 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 24px;
}

/* ===================== CONTACT PAGE ===================== */
.contact-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-hero h1 {
  font-size: 56px;
  color: var(--white);
  margin-bottom: 16px;
}
.contact-hero p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.contact-form {
  max-width: 600px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 14px;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.offices { margin-top: 40px; }
.office {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.office h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.office p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.global-network {
  background: var(--gold);
  padding: 30px 40px;
  margin-top: 30px;
}
.global-network h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.global-network p { font-size: 13px; color: rgba(255,255,255,0.8); }

/* Map/image banner */
.map-banner {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.map-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}
.map-banner__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
}
.map-banner__overlay h2 {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 12px;
}
.map-banner__overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero h1, .page-hero h1, .practice-hero h1, .team-hero h1 { font-size: 48px; }
  .section__header h2, .competencies-header h2, .ethos__content h2, .legacy__content h2 { font-size: 38px; }
  .practice-grid, .practice-areas-grid { grid-template-columns: repeat(2, 1fr); }
  .council-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero__images { display: none; }
  .ethos, .philosophy, .legacy, .tradition, .newsletter { grid-template-columns: 1fr; }
  .legacy__content { padding: 50px 40px; }
  .contact-hero .container { grid-template-columns: 1fr; }
  .careers-hero .container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px 0; }
  .container { padding: 0 20px; }
  .site-header { padding: 0 20px; }
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .site-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 20px;
    gap: 20px;
  }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1, .page-hero h1, .practice-hero h1, .team-hero h1, .contact-hero h1 { font-size: 38px; }
  .section__header h2, .competencies-header h2, .ethos__content h2, .cta-section h2, .join-section h2 { font-size: 32px; }
  .practice-grid, .practice-areas-grid, .insights-grid, .testimonials__grid { grid-template-columns: 1fr; }
  .team-featured { grid-template-columns: 1fr; }
  .team-featured__member { height: 350px; }
  .leaders-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .life-at { grid-template-columns: 1fr; }
  .newsletter { padding: 40px 24px; grid-template-columns: 1fr; }
  .newsletter__form { flex-direction: column; }
}
