/* ============================================
   JAMES SCOTT & CO LAWYERS — Stylesheet
   Professional Law Firm Website
   ============================================ */

/* --- CSS Variables / Design Tokens --- */
:root {
  --primary:       #0f172a;
  --primary-light: #1e293b;
  --primary-dark:  #020617;
  --accent:        #fbbf24;
  --accent-hover:  #fcd34d;
  --accent-dark:   #f59e0b;
  --secondary:     #334155;
  --secondary-light: #64748b;
  --light:         #f8fafc;
  --white:         #ffffff;
  --text:          #1e293b;
  --text-light:    #64748b;
  --border:        #e2e8f0;
  --shadow:        0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg:     0 8px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl:     0 20px 60px rgba(15, 23, 42, 0.18);
  --shadow-2xl:    0 25px 80px rgba(15, 23, 42, 0.25);
  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 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-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography Enhancements --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
}

/* --- Utility Classes --- */
.section-padding {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-header .divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  margin: 0 auto 24px;
  border-radius: 2px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- Button Enhancements --- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition-bounce);
  cursor: pointer;
  border: none;
  line-height: 1;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover), var(--accent));
  color: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  font-weight: 600;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(10, 25, 41, 0.2);
}

/* --- Top Bar Enhancements --- */
.top-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.top-bar a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-left span,
.top-bar-right span {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}

.top-bar-left span:hover,
.top-bar-right span:hover {
  transform: translateY(-1px);
}

/* --- Header Enhancements --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(10, 25, 41, 0.06);
  transition: all var(--transition);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.site-header.scrolled {
  box-shadow: 0 4px 40px rgba(10, 25, 41, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(10, 25, 41, 0.2);
  position: relative;
  overflow: hidden;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.logo-text h1 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 4px;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Navigation Enhancements */
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 6px;
  transition: all var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width var(--transition-bounce);
  border-radius: 1px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  transform: translateY(-1px);
}

.main-nav .btn {
  padding: 12px 28px;
  font-size: 0.85rem;
  margin-left: 8px;
}

/* Mobile Menu Toggle Enhancements */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  transition: all var(--transition);
}

.menu-toggle:hover {
  transform: scale(1.05);
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary);
  transition: all var(--transition-bounce);
  border-radius: 2px;
}

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

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

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

/* --- Hero Section Enhancements --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  max-height: 1000px;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 25, 41, 0.95) 0%, rgba(30, 58, 95, 0.9) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%230a1929" width="1200" height="800"/><g opacity="0.03"><path d="M0,600 L200,400 L400,550 L600,350 L800,500 L1000,300 L1200,450 L1200,800 L0,800 Z" fill="%23d4af37"/><path d="M0,700 C200,600 400,750 600,650 C800,550 1000,700 1200,600 L1200,800 L0,800 Z" fill="%23d4af37"/></g></svg>')
    center/cover no-repeat;
  animation: pulse 20s ease-in-out infinite;
}

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

.hero-pattern {
  position: absolute;
  right: -5%;
  top: -5%;
  width: 50%;
  height: 120%;
  opacity: 0.03;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 50px,
    rgba(212, 175, 55, 0.5) 50px,
    rgba(212, 175, 55, 0.5) 51px
  );
  animation: slidePattern 60s linear infinite;
}

@keyframes slidePattern {
  0% { transform: translateX(0) translateY(0); }
  100% { transform: translateX(-100px) translateY(-100px); }
}

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

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 10px 28px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease-out;
}

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

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content h1 .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(212, 175, 55, 0.3);
  z-index: -1;
  animation: underlineExpand 1s ease-out 0.8s both;
}

@keyframes underlineExpand {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hero Stats Enhancements */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 560px;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-stat {
  text-align: center;
  transition: all var(--transition-bounce);
}

.hero-stat:hover {
  transform: translateY(-5px) scale(1.05);
}

.hero-stat h3 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 700;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* --- Trust / Accreditation Bar Enhancements --- */
.trust-bar {
  background: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(10, 25, 41, 0.04);
}

.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--transition-bounce);
  padding: 20px;
  border-radius: var(--radius);
  background: var(--light);
}

.trust-item:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.trust-item svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all var(--transition);
}

.trust-item:hover svg {
  color: var(--primary-dark);
}

/* --- Practice Areas Section Enhancements --- */
.practice-areas {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.practice-areas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to bottom, var(--light), transparent);
  z-index: 1;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  transition: all var(--transition-bounce);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(10, 25, 41, 0.04);
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-bounce);
}

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

.practice-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  background: linear-gradient(135deg, var(--white), var(--light));
}

.practice-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.practice-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transform: rotate(45deg);
  animation: iconShine 4s infinite;
}

@keyframes iconShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
  100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.practice-icon svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.practice-card:hover .practice-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  transform: scale(1.1) rotate(5deg);
}

.practice-card:hover .practice-icon svg {
  color: var(--primary-dark);
}

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 16px;
  transition: color var(--transition);
}

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

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

/* --- About Section (Home) Enhancements --- */
.about-section {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-bounce);
  transform: perspective(1000px) rotateY(-5deg);
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

.about-image-placeholder {
  width: 100%;
  height: 600px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  opacity: 0.9;
  position: relative;
  overflow: hidden;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: placeholderShine 3s infinite;
}

@keyframes placeholderShine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.about-image .experience-badge {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  padding: 24px 32px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  animation: pulse 3s ease-in-out infinite;
  transform-style: preserve-3d;
  transition: all var(--transition-bounce);
}

.about-image .experience-badge:hover {
  transform: scale(1.05) translateZ(10px);
}

.about-image .experience-badge .number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-image .experience-badge .label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.about-content .divider {
  display: none;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-content .signature {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary);
  font-style: italic;
  margin-top: 32px;
  position: relative;
  padding-left: 40px;
}

.about-content .signature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

/* Values Grid Enhancements */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 15px rgba(10, 25, 41, 0.04);
  transition: all var(--transition-bounce);
  border: 1px solid var(--border);
}

.value-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 30px rgba(10, 25, 41, 0.08);
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--white), var(--light));
}

.value-item .value-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.value-item:hover .value-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: scale(1.1) rotate(360deg);
}

.value-item .value-icon img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  transition: all var(--transition);
}

.value-item .value-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: all var(--transition);
}

.value-item:hover .value-icon svg {
  color: var(--primary-dark);
}

.value-item h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Why Choose Us Section Enhancements --- */
.why-choose-us {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.feature-card {
  text-align: center;
  padding: 48px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-bounce);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, var(--white), var(--light));
}

.feature-card svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
  transition: all var(--transition-bounce);
}

.feature-card:hover svg {
  transform: scale(1.2) rotate(5deg);
  color: var(--accent-dark);
}

.feature-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Testimonials Section Enhancements --- */
.testimonials {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

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

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonials .section-header .divider {
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-bounce);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 16px;
  font-family: var(--font-serif);
  font-size: 8rem;
  color: rgba(212, 175, 55, 0.1);
  line-height: 1;
  z-index: 0;
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 175, 55, 0.3);
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 20px;
  letter-spacing: 3px;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.testimonial-card blockquote {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.3rem;
  font-family: var(--font-serif);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all var(--transition-bounce);
}

.testimonial-card:hover .testimonial-avatar {
  transform: scale(1.1) rotate(360deg);
}

.testimonial-author-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 600;
}

.testimonial-author-info span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- CTA Section Enhancements --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 150%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 700px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  margin: 0 12px;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

/* --- Footer Enhancements --- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(212, 175, 55, 0.05), transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 2;
}

.footer-about .logo {
  margin-bottom: 20px;
}

.footer-about .logo-text h1 {
  color: var(--white);
  font-size: 1.4rem;
}

.footer-about .logo-text span {
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
}

.footer-about > p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.footer-social a {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transition: left 0.6s ease;
}

.footer-social a:hover::before {
  left: 100%;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px) scale(1.1);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  transition: all var(--transition);
}

.footer-social a:hover svg {
  transform: scale(1.1);
}

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
  position: relative;
}

.footer-col ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.footer-col ul li a:hover::after {
  transform: scaleX(1);
}

.footer-contact li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
  transition: all var(--transition);
}

.footer-contact li:hover svg {
  transform: translateY(-2px) scale(1.1);
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: all var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* ============================================
   INTERNAL PAGES
   ============================================ */

/* --- Page Banner Enhancements --- */
.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -30%;
  width: 60%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 50px,
    rgba(212, 175, 55, 0.05) 50px,
    rgba(212, 175, 55, 0.05) 51px
  );
  animation: slidePattern 80s linear infinite;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 700;
}

.page-banner p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--accent);
  font-weight: 600;
}

/* --- About Page Enhancements --- */
.about-page-content {
  padding: 100px 0;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-page-text h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.about-page-text .divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}

.about-page-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-page-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-bounce);
  transform: perspective(1000px) rotateY(-5deg);
}

.about-page-image:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
}

/* Team Section Enhancements */
.team-section {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.team-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition-bounce);
  text-align: center;
  position: relative;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.05));
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

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

.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.team-card-image {
  height: 280px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card-image::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent);
  transform: rotate(45deg);
  animation: teamShine 4s infinite;
}

@keyframes teamShine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
  100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.team-card-image .initials {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--accent);
  font-weight: 700;
  position: relative;
  z-index: 2;
  transition: all var(--transition-bounce);
}

.team-card:hover .team-card-image .initials {
  transform: scale(1.1) rotate(5deg);
}

.team-card-body {
  padding: 28px;
  position: relative;
  z-index: 2;
}

.team-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 600;
  transition: color var(--transition);
}

.team-card:hover h3 {
  color: var(--accent);
}

.team-card-body .role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

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

/* --- Practice Areas Page Enhancements --- */
.practice-page-content {
  padding: 100px 0;
}

.practice-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.practice-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-bounce);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.practice-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
  transition: left 0.6s ease;
}

.practice-item:hover::before {
  left: 100%;
}

.practice-item:hover {
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  transform: translateY(-5px) scale(1.01);
  background: linear-gradient(135deg, var(--white), var(--light));
}

.practice-item.reverse {
  direction: rtl;
}

.practice-item.reverse .practice-item-content {
  direction: ltr;
}

.practice-item-content h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.practice-item-content .divider-sm {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 16px;
}

.practice-item-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.practice-item-content ul {
  list-style: none;
  margin-bottom: 20px;
}

.practice-item-content ul li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1rem;
}

.practice-item-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  transition: all var(--transition);
}

.practice-item:hover .practice-item-content ul li::before {
  transform: scale(1.2) rotate(360deg);
}

.practice-item-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-bounce);
}

.practice-item:hover .practice-item-image {
  transform: scale(1.05) rotate(2deg);
}

.practice-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.practice-item:hover .practice-item-image img {
  transform: scale(1.1);
}

.practice-item-image svg {
  width: 100px;
  height: 100px;
  color: var(--accent);
  opacity: 0.6;
  transition: all var(--transition);
}

.practice-item:hover .practice-item-image svg {
  opacity: 0.8;
  transform: scale(1.1);
}

/* --- Contact Page Enhancements --- */
.contact-page-content {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  transition: all var(--transition-bounce);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
  transform: scaleY(0);
  transition: transform var(--transition-bounce);
  transform-origin: bottom;
}

.contact-info-card:hover::before {
  transform: scaleY(1);
}

.contact-info-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.contact-info-item:hover {
  transform: translateX(5px);
}

.contact-info-item .icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-bounce);
}

.contact-info-item:hover .icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: scale(1.1) rotate(360deg);
}

.contact-info-item .icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: all var(--transition);
}

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

.contact-info-item h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

.contact-info-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.contact-hours {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 32px;
  border: 1px solid var(--border);
  transition: all var(--transition-bounce);
}

.contact-hours:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.contact-hours h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-hours .hours-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.contact-hours .hours-row:hover {
  background: rgba(212, 175, 55, 0.05);
  padding-left: 8px;
  padding-right: 8px;
}

.contact-hours .hours-row:last-child {
  border-bottom: none;
}

.contact-hours .hours-row .day {
  color: var(--text);
  font-weight: 500;
}

.contact-hours .hours-row .time {
  color: var(--text-light);
}

/* Contact Form Enhancements */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-bounce);
}

.contact-form-wrapper:hover::before {
  transform: scaleX(1);
}

.contact-form-wrapper:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

.contact-form-wrapper > p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  color: var(--accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
  position: relative;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: var(--accent);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

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

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

.form-submit {
  text-align: right;
  margin-top: 32px;
}

.form-submit .btn {
  min-width: 200px;
}

/* Map placeholder enhancements */
.map-section {
  padding: 0;
  margin-top: 60px;
}

.map-container {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.map-container:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.map-container svg {
  width: 64px;
  height: 64px;
  color: var(--accent);
  opacity: 0.7;
  transition: all var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.map-container:hover svg {
  transform: scale(1.1) rotate(5deg);
  opacity: 1;
}

.map-container p {
  color: var(--text-light);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.map-container strong {
  color: var(--primary);
  display: block;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .section-padding {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 2.4rem;
  }

  .hero {
    height: auto;
    min-height: 700px;
    padding: 120px 0;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-placeholder {
    height: 400px;
  }

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

  .practice-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .practice-item.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* Mobile Large */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 60px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1.1rem;
  }

  /* Top Bar */
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-right {
    display: none;
  }

  /* Navigation */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 16px;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .main-nav.open {
    display: flex;
    animation: slideDown 0.3s ease;
  }

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

  .main-nav a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .main-nav .btn {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 600px;
    padding: 100px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .hero-stat h3 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  /* Trust bar */
  .trust-bar .container {
    justify-content: center;
    flex-direction: column;
  }

  /* Practice areas */
  .practice-grid {
    grid-template-columns: 1fr;
  }

  /* About grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-placeholder {
    height: 300px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section .btn {
    display: block;
    margin: 12px auto;
    max-width: 280px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  /* Page Banner */
  .page-banner h1 {
    font-size: 2rem;
  }

  /* About page */
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Practice items */
  .practice-item {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
  }

  .practice-item.reverse {
    direction: ltr;
  }

  .practice-item-image {
    height: 200px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .contact-info-card,
  .contact-form-wrapper {
    padding: 32px;
  }

  /* Map */
  .map-container {
    height: 300px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .logo-text h1 {
    font-size: 1.1rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .practice-item-content h3 {
    font-size: 1.4rem;
  }

  .team-card-image .initials {
    font-size: 3rem;
  }

  .cta-section h2 {
    font-size: 1.6rem;
  }

  .footer-bottom span {
    font-size: 0.85rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--accent), var(--accent-dark));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, var(--accent-hover), var(--accent));
}

/* --- Utility Classes --- */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header .divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 20px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  line-height: 1;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.3);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Top Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.top-bar a:hover {
  color: var(--accent);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left span,
.top-bar-right span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Header / Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(12, 26, 50, 0.06);
  transition: all var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(12, 26, 50, 0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-text h1 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.main-nav .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--primary);
  transition: all var(--transition);
  border-radius: 2px;
}

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

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

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

/* --- Hero Section --- */
  .hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, rgba(10, 25, 41, 0.95) 0%, rgba(30, 58, 95, 0.9) 100%),
      url('https://images.unsplash.com/photo-1497366216548-374554ee7e78?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
    animation: pulse 20s ease-in-out infinite;
  }

.hero-pattern {
  position: absolute;
  right: -10%;
  top: -10%;
  width: 60%;
  height: 120%;
  opacity: 0.04;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.5) 40px,
    rgba(255, 255, 255, 0.5) 41px
  );
}

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

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content h1 .highlight {
  color: var(--accent);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 540px;
}

.hero-stat h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Trust / Accreditation Bar --- */
.trust-bar {
  background: var(--light);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.trust-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- Practice Areas Section --- */
.practice-areas {
  background: var(--white);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.practice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.practice-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.practice-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.practice-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- About Section (Home) --- */
.about-section {
  background: var(--light);
}

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

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  opacity: 0.9;
}

.about-image .experience-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
}

.about-image .experience-badge .number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about-image .experience-badge .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.about-content .divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-content .signature {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary);
  font-style: italic;
  margin-top: 24px;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-item .value-icon {
  width: 40px;
  height: 40px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-item .value-icon img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.value-item .value-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.value-item h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Why Choose Us --- */
.why-choose-us {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.feature-card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-4px);
}

.feature-card svg {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-card h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--primary);
  color: var(--white);
}

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

.testimonials .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
}

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

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-serif);
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--white);
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-section .btn {
  margin: 0 8px;
}

/* --- Footer --- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-about .logo {
  margin-bottom: 16px;
}

.footer-about .logo-text h1 {
  color: var(--white);
  font-size: 1.2rem;
}

.footer-about .logo-text span {
  color: rgba(255, 255, 255, 0.5);
}

.footer-about > p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  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(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

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

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}

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

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact li a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact li a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ============================================
   INTERNAL PAGES
   ============================================ */

/* --- Page Banner --- */
.page-banner {
  background: var(--primary);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  right: -20%;
  top: -50%;
  width: 60%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.03) 40px,
    rgba(255, 255, 255, 0.03) 41px
  );
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.page-banner h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb .current {
  color: var(--accent);
}

/* --- About Page --- */
.about-page-content {
  padding: 80px 0;
}

.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-page-text h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.about-page-text .divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 24px;
}

.about-page-text p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-page-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Team Section */
.team-section {
  background: var(--light);
  padding: 100px 0;
}

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

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  text-align: center;
}

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

.team-card-image {
  height: 280px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.team-card-image .initials {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--accent);
  font-weight: 700;
}

.team-card-body {
  padding: 28px;
}

.team-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.team-card-body .role {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

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

/* --- Practice Areas Page --- */
.practice-page-content {
  padding: 80px 0;
}

.practice-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.practice-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.practice-item:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.practice-item.reverse {
  direction: rtl;
}

.practice-item.reverse .practice-item-content {
  direction: ltr;
}

.practice-item-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.practice-item-content .divider-sm {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 16px;
}

.practice-item-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.practice-item-content ul {
  list-style: none;
  margin-bottom: 20px;
}

.practice-item-content ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.practice-item-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.practice-item-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.practice-item-image svg {
  width: 80px;
  height: 80px;
  color: var(--accent);
  opacity: 0.5;
}

/* --- Contact Page --- */
.contact-page-content {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item .icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.contact-info-item h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

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

.contact-hours {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-hours h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-hours .hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.contact-hours .hours-row:last-child {
  border-bottom: none;
}

.contact-hours .hours-row .day {
  color: var(--text);
  font-weight: 500;
}

.contact-hours .hours-row .time {
  color: var(--text-light);
}

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

.contact-form-wrapper h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-form-wrapper > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

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

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

.form-submit {
  text-align: right;
}

/* Map placeholder */
.map-section {
  padding: 0;
}

.map-container {
  width: 100%;
  height: 400px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}

.map-container svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  opacity: 0.5;
}

.map-container p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.map-container strong {
  color: var(--primary);
  display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* Top Bar */
  .top-bar .container {
    justify-content: center;
    text-align: center;
  }

  .top-bar-right {
    display: none;
  }

  /* Navigation */
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 16px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    font-size: 1rem;
    padding: 8px 0;
  }

  .main-nav .btn {
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero {
    height: auto;
    min-height: 500px;
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .hero-stat h3 {
    font-size: 1.5rem;
  }

  /* Trust bar */
  .trust-bar .container {
    justify-content: center;
  }

  /* Practice areas */
  .practice-grid {
    grid-template-columns: 1fr;
  }

  /* About grid */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-placeholder {
    height: 300px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-section .btn {
    display: block;
    margin: 12px auto;
    max-width: 280px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  /* Page Banner */
  .page-banner h1 {
    font-size: 2rem;
  }

  /* About page */
  .about-page-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Practice items */
  .practice-item {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px;
  }

  .practice-item.reverse {
    direction: ltr;
  }

  .practice-item-image {
    height: 200px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* Mobile Small */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .page-banner h1 {
    font-size: 1.6rem;
  }

  .logo-text h1 {
    font-size: 1.1rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* --- Logo Image --- */
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  border-radius: 0;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
  transition: all var(--transition-bounce);
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

/* --- Hero Slider --- */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--primary-dark);
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(2, 6, 23, 0.85) 0%,
    rgba(15, 23, 42, 0.7) 50%,
    rgba(2, 6, 23, 0.85) 100%
  );
  z-index: 1;
}

.slide .container {
  position: relative;
  z-index: 2;
}

.slide .hero-content {
  max-width: 680px;
}

.slide.active .hero-content {
  animation: slideContentIn 0.8s ease forwards;
}

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

.slide.active .hero-badge {
  animation: fadeInDown 0.6s ease 0.2s both;
}

.slide.active h1 {
  animation: fadeInDown 0.6s ease 0.35s both;
}

.slide.active p {
  animation: fadeInDown 0.6s ease 0.5s both;
}

.slide.active .hero-buttons {
  animation: fadeInDown 0.6s ease 0.65s both;
}

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

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
  opacity: 0;
}

.hero-slider:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-bounce);
  border: 2px solid transparent;
}

.slider-dots .dot.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.slider-dots .dot:hover {
  background: var(--accent-hover);
  transform: scale(1.2);
}

.slider-stats {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 60px;
}

.slider-stats .hero-stat {
  text-align: center;
  color: var(--white);
  opacity: 0;
  animation: fadeInDown 0.6s ease 0.9s both;
}

.slider-stats .hero-stat h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.slider-stats .hero-stat p {
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .slider-stats { gap: 40px; }
  .slider-stats .hero-stat h3 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
  .hero-slider { height: 90vh; min-height: 500px; }
  .slider-arrow { width: 44px; height: 44px; font-size: 1.5rem; }
  .slider-arrow.prev { left: 12px; }
  .slider-arrow.next { right: 12px; }
  .slider-stats { gap: 24px; bottom: 75px; }
  .slider-stats .hero-stat h3 { font-size: 1.4rem; }
  .slider-stats .hero-stat p { font-size: 0.7rem; }
}
@media (max-width: 480px) {
  .hero-slider { height: 100vh; min-height: 480px; }
  .slider-arrow { display: none; }
  .slider-dots { bottom: 60px; }
  .slider-stats { gap: 16px; bottom: 65px; }
  .slider-stats .hero-stat h3 { font-size: 1.1rem; }
  .slider-stats .hero-stat p { font-size: 0.65rem; }
}

/* --- Pulse Animation --- */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(251, 191, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

/* --- Float Animation --- */
.float {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* --- Scale In Animation --- */
.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Slide Up Animation --- */
.slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Rotate In Animation --- */
.rotate-in {
  opacity: 0;
  transform: rotate(-10deg) scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rotate-in.visible {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* --- Image Gallery Section --- */
.image-gallery {
  padding: 80px 0;
  background: var(--light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 220px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-bounce);
}

.gallery-item:hover img {
  transform: scale(1.12);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.8), transparent);
  opacity: 0;
  transition: all var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 160px; }
}

/* ============================================
   PREMIUM UPGRADES — $5000 Polish
   ============================================ */

/* --- Glassmorphism Header --- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
  box-shadow: 0 4px 30px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* --- Premium Shadows --- */
:root {
  --shadow-glass: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 40px rgba(251, 191, 36, 0.15), 0 8px 32px rgba(15, 23, 42, 0.1);
  --shadow-card: 0 20px 60px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 30px 80px rgba(15, 23, 42, 0.12), 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* --- Text Gradient --- */
.text-gradient {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header h2 .highlight-gradient {
  background: linear-gradient(135deg, var(--accent), #f59e0b, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Premium Button Effects --- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-primary:hover {
  box-shadow: 0 8px 40px rgba(251, 191, 36, 0.35), 0 0 60px rgba(251, 191, 36, 0.1);
  transform: translateY(-3px) scale(1.03);
}

/* --- Wave Dividers --- */
.wave-divider {
  position: relative;
  width: 100%;
  height: 80px;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.wave-divider--top {
  margin-top: -1px;
}

.wave-divider--bottom {
  margin-bottom: -1px;
  transform: rotate(180deg);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all var(--transition-bounce);
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* --- Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark), var(--accent));
  z-index: 1001;
  transition: width 0.1s linear;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 4px;
  margin-bottom: 24px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.preloader-bar-inner {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 2px;
  animation: preloaderLoad 1.8s ease forwards;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.98); }
}

@keyframes preloaderLoad {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

/* --- 3D Card Tilt --- */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.2s ease;
}

.tilt-card-inner {
  transform-style: preserve-3d;
}

.tilt-card .tilt-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.15), transparent 60%);
}

.tilt-card:hover .tilt-glow {
  opacity: 1;
}

/* --- Staggered Reveal --- */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Text Reveal Animation --- */
.reveal-text {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}

.reveal-text span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-text.visible span {
  transform: translateY(0);
}

/* --- Particle Background --- */
.particle-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.3; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* --- Enhanced Mobile Menu --- */
@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 40px;
    gap: 24px;
    transition: right 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.1);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    font-size: 1.4rem;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: 0s;
  }

  .main-nav.open a {
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.open a:nth-child(1) { transition-delay: 0.1s; }
  .main-nav.open a:nth-child(2) { transition-delay: 0.2s; }
  .main-nav.open a:nth-child(3) { transition-delay: 0.3s; }
  .main-nav.open a:nth-child(4) { transition-delay: 0.4s; }
  .main-nav.open a:nth-child(5) { transition-delay: 0.5s; }

  .main-nav a.btn {
    margin-top: 16px;
    text-align: center;
    width: 100%;
  }

  /* Overlay when menu open */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* --- Enhanced Form --- */
.form-group {
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  border: 2px solid var(--border);
  background: var(--white);
  transition: all var(--transition);
  padding: 16px 20px;
  font-size: 1rem;
  border-radius: var(--radius);
  width: 100%;
  font-family: var(--font-sans);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.1);
  outline: none;
}

.form-group label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Newsletter --- */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
  outline: none;
  background: rgba(255,255,255,0.1);
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form .btn {
  padding: 14px 28px;
  white-space: nowrap;
}

/* --- Image Reveal on Scroll --- */
.img-reveal {
  position: relative;
  overflow: hidden;
}

.img-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(0);
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 1;
}

.img-reveal.revealed::after {
  transform: translateX(100%);
}

.img-reveal img {
  transform: scale(1.1);
  transition: transform 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.img-reveal.revealed img {
  transform: scale(1);
}

/* --- Glow Dot --- */
.glow-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.5); }
  50% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.8), 0 0 60px rgba(251, 191, 36, 0.3); }
}

/* --- Section with glass background --- */
.glass-section {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  transition: all var(--transition-bounce);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass);
}

/* --- Hero Overlay Enhancement --- */
.slide-overlay {
  background: linear-gradient(135deg,
    rgba(2, 6, 23, 0.9) 0%,
    rgba(15, 23, 42, 0.6) 40%,
    rgba(2, 6, 23, 0.7) 100%
  );
}

/* --- Section Divider Accents --- */
.section-header .divider {
  position: relative;
  overflow: visible;
}

.section-header .divider::before,
.section-header .divider::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 2px;
  background: var(--accent);
  opacity: 0.3;
}

.section-header .divider::before { left: -40px; }
.section-header .divider::after { right: -40px; }

/* --- Team Card Premium --- */
.team-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-bounce);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.team-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--shadow-card-hover);
}

.team-card-image {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.team-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,6,23,0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.team-card:hover .team-card-image::after {
  opacity: 1;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-card-image img {
  transform: scale(1.08);
}

.team-card-body {
  position: relative;
  z-index: 2;
  padding: 24px;
  background: var(--white);
}

.team-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.team-card-body .role {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 12px;
}

.team-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Practice Card Premium --- */
.practice-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-bounce);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.practice-card:hover::before {
  transform: scaleX(1);
}

.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

.practice-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all var(--transition-bounce);
}

.practice-card:hover .practice-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: scale(1.1) rotate(8deg);
}

.practice-icon svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
  transition: all var(--transition);
}

.practice-card:hover .practice-icon svg {
  color: var(--primary-dark);
  transform: rotate(-8deg);
}

/* --- Testimonial Card Premium --- */
.testimonial-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-bounce);
  padding: 40px 32px;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.15;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

/* --- CTA Section Premium --- */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(251, 191, 36, 0.08), transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(251, 191, 36, 0.05), transparent 60%);
  pointer-events: none;
}

.cta-section h2 {
  position: relative;
  z-index: 1;
}

.cta-section p {
  position: relative;
  z-index: 1;
}

.cta-section .btn-outline {
  border-color: rgba(255,255,255,0.3);
}

.cta-section .btn-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--primary);
}

/* --- Footer Premium --- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
}

.footer-grid {
  position: relative;
  z-index: 1;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-bounce);
  border: 1px solid rgba(255,255,255,0.1);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.1);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.footer-social a:hover svg {
  color: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 32px;
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* --- Page Banner Premium --- */
.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(251, 191, 36, 0.08), transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(251, 191, 36, 0.05), transparent 50%);
  pointer-events: none;
}

/* --- Responsive Tweaks --- */
@media (max-width: 768px) {
  .back-to-top { bottom: 20px; right: 20px; width: 44px; height: 44px; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .back-to-top { bottom: 16px; right: 16px; width: 40px; height: 40px; }
}
