/* ============================================
   The McPherson Firm - Premium Website Design
   Driven by Excellence
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary-dark: #0c1524;
  --primary-navy: #152238;
  --primary-mid: #1a2d4a;
  --accent-gold: #c5a44e;
  --accent-gold-light: #d4b86a;
  --accent-gold-dim: rgba(197, 164, 78, 0.15);
  --text-light: #f0ece4;
  --text-muted: #8a9ab5;
  --text-body: #4a5568;
  --text-dark: #1a202c;
  --white: #ffffff;
  --off-white: #faf9f7;
  --gray-warm: #f5f3f0;
  --gray-medium: #e8e5e0;
  --border-light: rgba(0,0,0,0.06);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-gold: 0 4px 30px rgba(197, 164, 78, 0.2);
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-gold-light);
}

/* ---- Layout ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ---- Header / Navigation ---- */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

header.scrolled {
  background: rgba(12, 21, 36, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  transition: var(--transition);
}

header.scrolled nav {
  padding: 0.75rem 2.5rem;
}

.logo-img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

header.scrolled .logo-img {
  height: 42px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  position: relative;
  transition: var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 20px;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
  padding: 4px;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 1px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---- Hero Section (Home) ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 21, 36, 0.4) 0%,
    rgba(12, 21, 36, 0.6) 50%,
    rgba(12, 21, 36, 0.85) 100%
  );
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-bg.active {
  opacity: 1;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-logo {
  height: 160px;
  width: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.4));
  animation: fadeInDown 1s ease 0.2s both;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
  margin: 0 auto 2rem;
  animation: fadeIn 1s ease 0.6s both;
}

.hero h1 {
  color: var(--white);
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-subtitle {
  color: rgba(240, 236, 228, 0.9);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 300;
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: fadeIn 1s ease 1.2s both;
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
}

.hero-scroll a:hover {
  color: var(--accent-gold);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 50px; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Page Hero (Inner Pages) ---- */
.page-hero {
  padding: 12rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 21, 36, 0.88) 0%,
    rgba(21, 34, 56, 0.85) 100%
  );
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero .tagline {
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.page-hero h1 {
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0;
}

.page-hero-divider {
  width: 50px;
  height: 2px;
  background: var(--accent-gold);
  margin: 1.5rem auto 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  position: relative;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-secondary {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(197, 164, 78, 0.6);
}

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

.btn-lg {
  padding: 1.15rem 3.5rem;
  font-size: 0.85rem;
}

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

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--primary-dark);
  padding: 4rem 2rem;
  position: relative;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.stat-item {
  padding: 1.5rem 1rem;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--accent-gold);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.75rem;
  font-weight: 500;
}

/* ---- Section Styles ---- */
section {
  padding: 7rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.section-header h2 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-gold);
  margin: 1rem auto 0;
}

.section-header p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 1.5rem auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.section-header.light .section-label {
  color: var(--accent-gold);
}

.section-header.light h2 {
  color: var(--white);
}

.section-header.light h2::after {
  background: var(--accent-gold);
}

.section-header.light p {
  color: rgba(240, 236, 228, 0.8);
}

/* ---- About Section ---- */
.about-section {
  background: var(--off-white);
  padding: 8rem 2rem;
}

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

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-gold);
  z-index: 0;
}

.about-image-wrapper img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.about-text .section-label {
  text-align: left;
}

.about-text h2 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.about-text h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--accent-gold);
  margin-top: 1rem;
}

.about-text p {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-text .btn {
  margin-top: 1rem;
}

/* ---- Services Section ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent-gold);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-gold);
  transition: var(--transition);
}

.service-card:hover .service-icon svg {
  fill: var(--primary-dark);
}

.service-card h3 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ---- Parallax Banner Section ---- */
.banner-section {
  position: relative;
  padding: 8rem 2rem;
  overflow: hidden;
}

.banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.banner-content h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.banner-content p {
  color: rgba(240, 236, 228, 0.85);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* ---- Locations Preview ---- */
.locations-preview {
  background: var(--white);
  padding: 7rem 2rem;
}

.location-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.location-badge {
  background: var(--off-white);
  color: var(--text-dark);
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.location-badge:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Locations Grid (locations page) */
.locations-section {
  background: var(--off-white);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  margin: 0 auto;
}

.location-item {
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

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

.location-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.location-item:hover::before {
  transform: scaleX(1);
}

.location-item .state-abbr {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
}

.location-item .state-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-logo {
  height: 150px;
  width: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
  opacity: 0.9;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 500;
}

.cta-section p {
  color: rgba(240, 236, 228, 0.85);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ---- Team Section ---- */
.team-section {
  background: var(--off-white);
}

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

.team-card {
  background: var(--white);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

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

.team-card-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-mid) 100%);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}

.team-avatar {
  width: 90px;
  height: 90px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 1px;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.staff-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 2px solid var(--accent-gold);
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-header h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.team-card-header .title {
  color: var(--accent-gold);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.team-card-body {
  padding: 1.75rem 2rem;
}

.team-card-body .jurisdictions {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

.team-card-body .jurisdictions strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* Staff Section */
.staff-section {
  background: var(--primary-dark);
  padding: 5rem 2rem;
  position: relative;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.staff-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.staff-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.staff-card h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.staff-card .title {
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---- Contact Section ---- */
.contact-section {
  background: var(--off-white);
  padding: 7rem 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
}

.contact-info h3 {
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: var(--accent-gold);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-gold);
  transition: var(--transition);
}

.contact-item:hover .contact-icon svg {
  fill: var(--primary-dark);
}

.contact-item h4 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contact-item p {
  color: var(--text-body);
  margin: 0;
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--accent-gold);
}

.contact-item a:hover {
  color: var(--accent-gold-light);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.contact-form > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--gray-medium);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

/* ---- Footer ---- */
footer {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 5rem 2rem 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4rem;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
}

/* ---- Values / Features Grid ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold-dim);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-gold);
}

.value-item h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.value-item p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

/* ---- Office Info Block ---- */
.office-block {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.office-block p {
  color: rgba(240, 236, 228, 0.85);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.office-block a {
  color: var(--accent-gold);
  font-size: 1.15rem;
}

/* ---- Process / How We Work ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  counter-reset: process;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
  counter-increment: process;
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  display: block;
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-gold-dim);
  margin-bottom: 1rem;
  line-height: 1;
}

.process-step h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

/* ---- Dark Section Utility ---- */
.section-dark {
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-dark .section-header h2::after {
  background: var(--accent-gold);
}

.section-dark .section-header p {
  color: rgba(240, 236, 228, 0.7);
}

/* ---- Expansion Notice ---- */
.expansion-section {
  padding: 5rem 2rem;
  background: var(--white);
  text-align: center;
}

.expansion-section h3 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.expansion-section p {
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 3rem;
  }
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-slow);
    gap: 0;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 1rem;
    letter-spacing: 2px;
  }

  .menu-toggle {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-image-wrapper::before {
    top: -15px;
    left: -15px;
  }

  .about-text {
    text-align: center;
  }

  .about-text h2::after {
    margin-left: auto;
    margin-right: auto;
  }

  .about-text .section-label {
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .values-grid,
  .process-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .banner-section {
    background-attachment: scroll !important;
  }

  .banner-bg {
    background-attachment: scroll !important;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 1.5rem;
  }

  .hero {
    min-height: 100vh;
  }

  .hero-logo {
    height: 110px;
  }

  .page-hero {
    padding: 10rem 1.5rem 4rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .staff-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
  }

  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .about-image-wrapper img {
    height: 350px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2.75rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero-logo {
    height: 90px;
  }

  .location-badges {
    gap: 0.5rem;
  }

  .location-badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
