/*
Theme Name: Steinepreis Paganin
Theme URI: https://www.steinpag.com.au
Author: Steinepreis Paganin Lawyers and Consultants
Author URI: https://www.steinpag.com.au
Description: A modern, sophisticated corporate law firm theme for Steinepreis Paganin. Dark navy and teal-blue palette matching current brand colours.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: steinpag
*/

/* =============================================
   CSS CUSTOM PROPERTIES (Easy to customise)
   ============================================= */
:root {
  /* Dark navy backgrounds — matching current steinpag.com.au */
  --color-navy:        #111b27;
  --color-navy-dark:   #0a1219;
  --color-navy-mid:    #182333;
  --color-navy-light:  #1f2f42;

  /* Teal-blue accent — matches #4B7D9A from current site */
  --color-gold:        #4B7D9A;
  --color-gold-light:  #6B9DB8;
  --color-gold-pale:   #d4e8f2;

  --color-white:       #ffffff;
  --color-off-white:   #f4f6f8;
  --color-light-gray:  #e2e8ed;
  --color-mid-gray:    #8fa3b1;
  --color-text:        #1a2a36;
  --color-text-light:  #4b6478;

  --font-heading:      'Inter', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:         'Inter', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm:   0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:   0 10px 40px rgba(0,0,0,0.18);
  --shadow-xl:   0 20px 60px rgba(0,0,0,0.25);

  --border-radius: 4px;
  --border-radius-lg: 8px;
  --transition: 0.3s ease;

  --container-max: 1200px;
  --container-wide: 1400px;
}

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

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  font-weight: 700;
  color: var(--color-navy);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1.25em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-text-light);
}

/* =============================================
   UTILITY CLASSES
   ============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 8rem 0; }

.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-white); }
.text-navy { color: var(--color-navy); }

.bg-navy { background: var(--color-navy); }
.bg-navy-dark { background: var(--color-navy-dark); }
.bg-navy-mid { background: var(--color-navy-mid); }
.bg-off-white { background: var(--color-off-white); }
.bg-white { background: var(--color-white); }

.divider-gold {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 1.5rem 0;
}

.divider-gold.center { margin: 1.5rem auto; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  display: block;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}
.btn-gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(75,125,154,0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}
.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
  border: 2px solid var(--color-navy);
}
.btn-navy:hover {
  background: var(--color-navy-light);
  border-color: var(--color-navy-light);
  transform: translateY(-2px);
}

/* =============================================
   NOTIFICATION BAR (inside fixed header)
   ============================================= */
.notif-bar {
  background: var(--color-navy-mid);
  border-bottom: 1px solid rgba(75,125,154,0.2);
  padding: 0.45rem 2rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  max-height: 40px;
  overflow: hidden;
}

.notif-bar a {
  color: var(--color-gold);
  font-weight: 700;
}

.notif-bar a:hover { color: var(--color-gold-light); }

/* Hide notif bar after scrolling */
#site-header.scrolled .notif-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Always visible — dark semi-transparent at top, solid on scroll */
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(0,30,110,0.12);
  transition: all 0.35s ease;
}

#site-header.scrolled {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  border-bottom-color: rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  max-width: var(--container-wide);
  margin: 0 auto;
  transition: padding var(--transition);
}

#site-header.scrolled .header-inner {
  padding: 0.85rem 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-navy);
  padding: 0.6rem 0.9rem;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.main-nav a:hover { color: var(--color-gold); }
.main-nav a:hover::after { width: 70%; }

.nav-cta {
  margin-left: 0.75rem;
  background: var(--color-gold) !important;
  color: var(--color-navy-dark) !important;
  padding: 0.6rem 1.2rem !important;
}

.nav-cta:hover {
  background: var(--color-gold-light) !important;
  color: var(--color-navy-dark) !important;
}

.nav-cta::after { display: none !important; }

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Invisible hover bridge between trigger and submenu */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 0.6rem;
}

.nav-chevron {
  font-size: 0.55em;
  transition: transform var(--transition);
  display: inline-block;
  line-height: 1;
}

.nav-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 230px;
  background: var(--color-navy-dark);
  border-top: 2px solid var(--color-gold);
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 0;
  padding: 0.6rem 0 0.4rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateY(-6px);
  z-index: 500;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-submenu li { margin: 0; padding: 0; }

#site-header .nav-submenu a {
  display: block;
  padding: 0.65rem 1.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85) !important;
  white-space: nowrap;
  transition: all var(--transition);
  border-radius: 0;
}

#site-header .nav-submenu a::after { display: none !important; }

#site-header .nav-submenu a:hover {
  color: var(--color-gold);
  background: rgba(255,255,255,0.06);
  padding-left: 1.5rem;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 50%, var(--color-navy-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(75,125,154,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(75,125,154,0.07) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75,125,154,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,125,154,0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(75,125,154,0.15);
  border: 1px solid rgba(75,125,154,0.35);
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  margin-bottom: 2.5rem;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-badge span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.hero h1 {
  color: var(--color-white);
  max-width: 780px;
  margin-bottom: 1.75rem;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
}

.hero h1 em {
  font-style: normal;
  color: var(--color-gold);
}

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.hero-stat {}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2.5s infinite;
}

.hero-scroll svg { color: var(--color-gold); opacity: 0.6; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--color-navy-mid);
  border-top: 1px solid rgba(75,125,154,0.25);
  border-bottom: 1px solid rgba(75,125,154,0.25);
  padding: 1.5rem 0;
}

.stats-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.5rem;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 2rem;
}

.stats-bar-item {
  text-align: center;
}

.stats-bar-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.stats-bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.3rem;
}

.stats-bar-divider {
  width: 1px;
  height: 40px;
  background: rgba(75,125,154,0.2);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  margin-bottom: 4rem;
}

.section-header.center { text-align: center; }
.section-header.center .divider-gold { margin: 1.5rem auto; }

.section-header h2 { margin-bottom: 1.25rem; }

.section-header p {
  color: var(--color-text-light);
  max-width: 600px;
  font-size: 1.05rem;
}

.section-header.center p { margin: 0 auto; }

/* =============================================
   PRACTICE AREAS
   ============================================= */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--color-light-gray);
}

.practice-card {
  background: var(--color-white);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.practice-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.practice-card:hover { background: var(--color-navy); }
.practice-card:hover::before { transform: scaleX(1); }

.practice-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--border-radius);
  background: rgba(75,125,154,0.1);
  border: 1px solid rgba(75,125,154,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  transition: all var(--transition);
}

.practice-card-icon svg {
  color: var(--color-gold);
  width: 24px;
  height: 24px;
}

.practice-card:hover .practice-card-icon {
  background: rgba(75,125,154,0.2);
}

.practice-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.practice-card:hover h3 { color: var(--color-white); }

.practice-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  transition: color var(--transition);
}

.practice-card:hover p { color: rgba(255,255,255,0.65); }

.practice-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition);
}

.practice-card:hover .practice-card-link { gap: 0.8rem; }

/* =============================================
   WHY CHOOSE US
   ============================================= */
.why-section {
  background: var(--color-navy);
  color: var(--color-white);
}

.why-section h2 { color: var(--color-white); }
.why-section .section-label { color: var(--color-gold); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-features { display: flex; flex-direction: column; gap: 2.5rem; }

.why-feature {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(75,125,154,0.15);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-feature-icon svg { color: var(--color-gold); width: 22px; height: 22px; }

.why-feature h4 {
  color: var(--color-white);
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.why-feature p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin: 0;
}

.why-visual {
  position: relative;
}

.why-visual-card {
  background: var(--color-navy-mid);
  border: 1px solid rgba(75,125,154,0.15);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
}

.why-visual-number {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-gold);
  opacity: 0.15;
  line-height: 1;
  position: absolute;
  top: -1.5rem;
  right: 2rem;
}

.why-visual-quote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 2rem;
}

.why-visual-cite {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.why-metric-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.why-metric-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.35rem;
}

/* =============================================
   RECENT TRANSACTIONS
   ============================================= */
.transactions-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.transaction-card {
  background: var(--color-off-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.transaction-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-gold);
}

.transaction-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.transaction-amount {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.transaction-desc {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.transaction-tag {
  display: inline-block;
  background: rgba(75,125,154,0.12);
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  border: 1px solid rgba(75,125,154,0.25);
}

/* =============================================
   NEWS / BLOG CARDS
   ============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card-image {
  height: 200px;
  background: var(--color-navy-mid);
  overflow: hidden;
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img { transform: scale(1.05); }

.news-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-navy-mid), var(--color-navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-image-placeholder svg { color: rgba(75,125,154,0.3); width: 48px; height: 48px; }

.news-card-body { padding: 1.75rem; }

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-card-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(75,125,154,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
}

.news-card-date {
  font-size: 0.78rem;
  color: var(--color-mid-gray);
}

.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-card h3 a:hover { color: var(--color-gold); }

.news-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.news-card-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* =============================================
   TEAM CARDS
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--color-navy-mid), var(--color-navy-light));
  border-radius: var(--border-radius-lg);
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
  transition: all var(--transition);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-photo-placeholder svg { color: rgba(75,125,154,0.3); width: 64px; height: 64px; }

.team-card:hover .team-card-photo { box-shadow: var(--shadow-xl); }

.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.team-card:hover .team-card-overlay { opacity: 1; }

.team-card-overlay a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 0.3rem;
}

.team-card-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.4rem;
}

.team-card-practice {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(75,125,154,0.12) 0%, transparent 70%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 { color: var(--color-white); margin-bottom: 1.25rem; }
.cta-inner p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-bottom: 2.5rem; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =============================================
   OFFICES
   ============================================= */
.offices-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.office-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.office-card-header {
  background: var(--color-navy);
  padding: 2rem 2.5rem;
}

.office-card-city {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.office-card-country {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.office-card-body { padding: 2.5rem; }

.office-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.office-detail:last-child { margin-bottom: 0; }

.office-detail-icon {
  width: 36px;
  height: 36px;
  background: rgba(75,125,154,0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.office-detail-icon svg { color: var(--color-gold); width: 18px; height: 18px; }

.office-detail-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mid-gray);
  margin-bottom: 0.25rem;
}

.office-detail-value { font-size: 0.95rem; color: var(--color-text); line-height: 1.5; }
.office-detail-value a:hover { color: var(--color-gold); }

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-section { background: var(--color-off-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.contact-form-wrapper h3 {
  margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(75,125,154,0.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* =============================================
   PAGE HERO (Inner Pages)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 100%);
  padding: 11rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(75,125,154,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(75,125,154,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero h1 { color: var(--color-white); margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,0.7); max-width: 580px; margin: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.78rem;
}

.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb-sep { color: rgba(255,255,255,0.25); }
.breadcrumb-current { color: var(--color-gold); font-weight: 600; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-story-visual {
  position: relative;
}

.about-story-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--color-navy-mid), var(--color-navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-story-image img { width: 100%; height: 100%; object-fit: cover; }

.about-story-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--color-gold);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.about-story-badge-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1;
}

.about-story-badge-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.4rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(75,125,154,0.3);
  transform: translateY(-4px);
}

.value-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(75,125,154,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-card-icon svg { color: var(--color-gold); width: 28px; height: 28px; }
.value-card h4 { margin-bottom: 0.75rem; font-size: 1.1rem; }
.value-card p { font-size: 0.92rem; color: var(--color-text-light); margin: 0; }

/* =============================================
   CAREERS PAGE
   ============================================= */
.careers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: rgba(75,125,154,0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg { color: var(--color-gold); width: 20px; height: 20px; }
.benefit-item h5 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.85rem; color: var(--color-text-light); margin: 0; }

.job-listing {
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.job-item {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--color-light-gray);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  transition: background var(--transition);
}

.job-item:last-child { border-bottom: none; }
.job-item:hover { background: var(--color-off-white); }

.job-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.job-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-light);
}

/* =============================================
   FOUNDATION PAGE
   ============================================= */
.foundation-hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.impact-card {
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(75,125,154,0.06);
  border: 1px solid rgba(75,125,154,0.15);
  border-radius: var(--border-radius-lg);
}

.impact-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.program-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.program-card-header {
  background: var(--color-navy);
  padding: 2rem;
}

.program-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(75,125,154,0.15);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.program-card-icon svg { color: var(--color-gold); width: 24px; height: 24px; }
.program-card-header h3 { color: var(--color-white); font-size: 1.15rem; }
.program-card-body { padding: 1.75rem; }
.program-card-body p { font-size: 0.9rem; color: var(--color-text-light); margin: 0; }

/* =============================================
   FOOTER
   ============================================= */
#site-footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.65);
}

.footer-top {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-brand {}

.footer-logo-main {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer-logo-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.75rem; }

.footer-social { display: flex; gap: 0.75rem; }

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy-dark);
}

.footer-social a svg { width: 16px; height: 16px; }

.footer-nav-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.footer-nav-list { display: flex; flex-direction: column; gap: 0.7rem; }

.footer-nav-list a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-nav-list a:hover { color: var(--color-gold); padding-left: 4px; }

.footer-offices { display: flex; flex-direction: column; gap: 1.75rem; }

.footer-office-city {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.footer-office address {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-office address a { color: rgba(255,255,255,0.6); }
.footer-office address a:hover { color: var(--color-gold); }

.footer-bottom {
  padding: 1.75rem 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.83rem; }
.footer-copy a:hover { color: var(--color-gold); }

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--color-gold); }

/* Notification bar styles are in the HEADER & NAVIGATION section above */

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  color: var(--color-navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: 900;
  border: none;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--color-gold-light); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* =============================================
   HERO BANNER (image hero)
   ============================================= */
.hero-banner {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--color-navy);
  padding: 2.5rem 3rem;
  max-width: 420px;
}

.hero-banner-overlay p {
  color: var(--color-white);
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.home-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .home-two-col { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--color-navy-dark);
    padding: 5rem 2rem 2rem;
    z-index: 999;
    box-shadow: var(--shadow-xl);
    gap: 0.25rem;
    overflow-y: auto;
  }

  /* Mobile dropdown */
  .nav-dropdown { width: 100%; flex-direction: column; align-items: flex-start; }
  .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .nav-submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--color-gold);
    border-radius: 0;
    min-width: 0;
    width: 100%;
    background: rgba(255,255,255,0.05);
    padding: 0;
    display: none;
  }
  .nav-dropdown.open .nav-submenu { display: block; }
  .nav-dropdown.open .nav-chevron { transform: rotate(180deg); }
  .nav-submenu a { padding: 0.55rem 1rem 0.55rem 1.2rem; font-size: 0.8rem; }
  .nav-submenu a:hover { padding-left: 1.5rem; }

  .hero-banner-overlay { position: relative; max-width: 100%; padding: 1.5rem 1.25rem; }
  .hero-banner-overlay p { font-size: 1.2rem; }
    .hero-stats { gap: 2rem; }
  .practice-grid { grid-template-columns: 1fr; }
  .home-two-col { grid-template-columns: 1fr; }
  .transactions-list { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .about-story { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid { grid-template-columns: 1fr; }
  .offices-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .careers-intro { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .why-metrics { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar-divider { display: none; }
  .stats-bar-inner { gap: 2rem; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 4rem 0; }
}
