/*
Theme Name: Horgan Law
Theme URI: https://horganlawfirm.com
Author: Horgan Law Firm
Description: Custom theme for Horgan Law Firm — modern, minimal, red accent design
Version: 1.0.0
Text Domain: horgan-law
*/

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

:root {
  --navy: #1a2330;
  --navy-deep: #0f1720;
  --navy-light: #243040;
  --red: #E51B24;
  --red-dark: #c41920;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-700);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; display: block; }

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

/* ========== NAVIGATION ========== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: all 0.4s ease;
}

nav.scrolled {
  background: rgba(15, 23, 32, 0.98);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-mark::before {
  content: 'H';
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
}

.logo-mark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--red);
  opacity: 0.6;
}

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

.logo-text span:first-child {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-text span:last-child {
  font-size: 0.6rem;
  color: var(--gray-400);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 0.25rem 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-links .client-login { color: var(--red); }

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.8rem;
  white-space: nowrap;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.nav-phone svg { width: 16px; height: 16px; stroke: var(--red); }

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 32, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav-overlay.open { display: flex; }

.mobile-nav-overlay a {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mobile-nav-overlay a:hover { color: var(--red); }

.mobile-nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,23,32,0.97) 0%, rgba(15,23,32,0.7) 50%, rgba(15,23,32,0.4) 100%);
  z-index: 1;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.3);
  transform: scale(1.05);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.hero-text-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hero-text-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-text-slides {
  position: relative;
  min-height: 280px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 2rem;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.hero-arrow:hover {
  background: rgba(229, 27, 36, 0.8);
  border-color: var(--red);
}

.hero-arrow-left { left: 2rem; }
.hero-arrow-right { right: 2rem; }

.hero-indicators {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active {
  background: var(--red);
  width: 30px;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.hero-left { padding-top: 4rem; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-tag-line {
  width: 40px;
  height: 1px;
  background: var(--red);
}

.hero-tag-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 27, 36, 0.3);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.05);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 6rem;
}

.hero-stat {
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-stat:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(229, 27, 36, 0.2);
  transform: translateX(8px);
}

.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 0.25rem;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

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

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

/* ========== TRUST BAR ========== */
.trust-bar {
  padding: 3rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  opacity: 0.4;
  filter: grayscale(100%);
}

.trust-item {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-600);
  white-space: nowrap;
}

/* ========== SECTION COMMON ========== */
.section {
  padding: 8rem 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-tag-line {
  width: 30px;
  height: 1px;
  background: var(--red);
}

.section-tag-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 3px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.8;
  font-weight: 300;
}

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-top: 4rem;
}

.about-image {
  position: relative;
  height: 500px;
  background: var(--navy);
  overflow: hidden;
}

.about-image iframe,
.about-image video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7);
  border: none;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 1px solid var(--red);
  opacity: 0.3;
  z-index: 1;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.about-content p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  margin-right: 0.5rem;
  color: var(--navy);
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature-dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  flex-shrink: 0;
}

.about-feature span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.5px;
}

/* ========== PRACTICE AREAS ========== */
.practice {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.practice::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(229,27,36,0.05);
  border-radius: 50%;
}

.practice .section-title { color: var(--white); }
.practice .section-subtitle { color: var(--gray-400); }

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: rgba(255,255,255,0.05);
}

.practice-card {
  padding: 3rem 2.5rem;
  background: var(--navy-deep);
  position: relative;
  transition: all 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  display: block;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.practice-card:hover::before { width: 100%; }

.practice-card:hover {
  background: var(--navy-light);
  transform: translateY(-4px);
}

.practice-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(229,27,36,0.15);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.practice-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
}

.practice-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  font-weight: 300;
}

.practice-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.practice-card:hover .practice-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ========== INDUSTRIES WE SERVE ========== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.industry-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.industry-card:hover::before { width: 100%; }

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: transparent;
}

.industry-card-icon {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.industry-card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--navy);
}

.industry-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.industry-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 300;
}

/* ========== DIFFERENTIATOR ========== */
.diff {
  background: var(--white);
  position: relative;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-top: 4rem;
}

.diff-sticky {
  position: sticky;
  top: 8rem;
}

.diff-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.diff-item {
  padding: 2rem;
  border-left: 2px solid var(--gray-200);
  transition: all 0.3s ease;
}

.diff-item:hover {
  border-left-color: var(--red);
  padding-left: 2.5rem;
}

.diff-item h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.diff-item p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 300;
}

/* ========== TEAM ========== */
.team {
  background: var(--gray-100);
}

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

.team-card {
  background: var(--white);
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
  display: block;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.team-photo {
  height: 340px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

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

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.team-info {
  padding: 1.5rem 2rem 2rem;
}

.team-info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-info .role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.team-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.4s ease;
}

.team-card:hover::after { width: 100%; }

/* ========== BLOG ========== */
.blog {
  background: var(--white);
}

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

.blog-card {
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  overflow: hidden;
  display: block;
  background: var(--white);
}

.blog-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

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

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: saturate(0.2);
}

.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,32,0.7), rgba(229,27,36,0.15));
}

.blog-card-top {
  padding: 2rem 2rem 0;
}

.blog-date {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.blog-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.blog-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 300;
}

.blog-card-bottom {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--red);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========== FAQ ========== */
.faq {
  background: var(--gray-100);
}

.faq-grid {
  max-width: 800px;
  margin: 4rem auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
  cursor: pointer;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.3s ease;
}

.faq-q:hover { color: var(--red); }

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--red);
  transition: transform 0.3s ease;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-a {
  max-height: 200px;
  padding-top: 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-a p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.8;
  font-weight: 300;
}

/* ========== REPRESENTATIVE MATTERS ========== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: rgba(255,255,255,0.05);
}

.result-card {
  padding: 2.5rem;
  background: var(--navy-deep);
  transition: all 0.4s ease;
}

.result-card:hover {
  background: var(--navy-light);
}

.result-card-area {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.result-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.result-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.7;
  font-weight: 300;
}

/* ========== OUR PROCESS TIMELINE ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(229,27,36,0.2));
}

.process-step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
  cursor: pointer;
}

.process-step-number {
  width: 56px;
  height: 56px;
  background: var(--navy-deep);
  border: 2px solid rgba(229,27,36,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--red);
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.process-step:hover .process-step-number {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: scale(1.1);
}

.process-step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.8rem;
  color: var(--gray-400);
  line-height: 1.6;
  font-weight: 300;
}

/* ========== BOOKING FORM ========== */
.booking {
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.booking-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border: 1px solid rgba(229,27,36,0.03);
  border-radius: 50%;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.booking-form-wrap {
  background: var(--white);
  padding: 2.5rem;
  min-height: 400px;
}

.booking-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.booking-contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(229,27,36,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.booking-contact-label {
  font-size: 0.7rem;
  color: var(--gray-500);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

/* ========== STATS BAR ========== */
.stats-bar {
  padding: 4rem 0;
  background: var(--navy);
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 0.25rem;
}

.stat-item-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========== CTA ========== */
.cta {
  padding: 8rem 0;
  background: var(--navy-deep);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  border: 1px solid rgba(229,27,36,0.03);
  border-radius: 50%;
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  position: relative;
}

.cta p {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.8;
  position: relative;
}

.cta .btn-primary { position: relative; }

/* ========== FOOTER ========== */
footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.8;
  margin-top: 1rem;
  font-weight: 300;
}

.footer-brand .address {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.8;
}

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

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-weight: 300;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gray-500);
}

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

.footer-social a {
  font-size: 0.75rem;
  color: var(--gray-500);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-social a:hover { color: var(--red); }

/* ========== FLOATING TEXT US BUTTON ========== */
.float-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(229, 27, 36, 0.35);
  transition: all 0.3s ease;
  text-decoration: none;
}

.float-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(229, 27, 36, 0.5);
  color: var(--white);
}

.float-cta svg { width: 18px; height: 18px; }

/* ========== SCROLL-TRIGGERED NAV CTA ========== */
.nav-cta-scroll {
  padding: 0.6rem 1.25rem;
  background: var(--red);
  color: var(--white) !important;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: 1rem;
  opacity: 0;
  transform: translateY(-5px);
  pointer-events: none;
  transition: all 0.4s ease;
}

.nav-cta-scroll.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-cta-scroll:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 20px rgba(229, 27, 36, 0.3);
}

/* ========== EXIT-INTENT POPUP ========== */
.exit-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 32, 0.85);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.exit-overlay.show { display: flex; }

.exit-popup {
  background: var(--white);
  max-width: 520px;
  width: 90%;
  padding: 3.5rem;
  position: relative;
  text-align: center;
  animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--gray-400);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.exit-popup-close:hover { color: var(--navy); }

.exit-popup-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.exit-popup h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.exit-popup p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

.exit-popup .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 1.1rem 2rem;
}

.exit-popup-dismiss {
  display: block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
}

.exit-popup-dismiss:hover { color: var(--gray-600); }

/* ========== PAGE HERO (Interior Pages) ========== */
.page-hero {
  padding: 10rem 0 4rem;
  background: var(--navy-deep);
  position: relative;
}

.page-hero .section-title {
  color: var(--white);
}

.page-hero .section-subtitle {
  color: var(--gray-400);
}

.page-hero-breadcrumb {
  font-size: 0.75rem;
  color: var(--gray-500);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.page-hero-breadcrumb a {
  color: var(--gray-400);
}

.page-hero-breadcrumb a:hover {
  color: var(--red);
}

/* ========== SINGLE POST ========== */
.single-post-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.single-post-meta span {
  font-size: 0.8rem;
  color: var(--gray-400);
  letter-spacing: 0.5px;
}

.single-post-meta .category {
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.7rem;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--navy);
  margin: 3rem 0 1rem;
}

.article-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-body li {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--gray-100);
  font-style: italic;
  color: var(--navy);
}

.article-body img {
  margin: 2rem 0;
  width: 100%;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem;
  background: var(--gray-100);
  margin: 3rem 0;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  background: var(--navy);
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

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

.author-bio h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.author-bio p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Related Posts */
.related-posts {
  padding: 4rem 0;
  background: var(--gray-100);
}

/* Archive / Blog Listing */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--gray-200);
  color: var(--navy);
  transition: all 0.3s ease;
}

.pagination a:hover {
  border-color: var(--red);
  color: var(--red);
}

.pagination .current {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ========== PAGE CONTENT ========== */
.page-content {
  padding: 4rem 0 6rem;
}

.page-content .container {
  max-width: 900px;
}

/* ========== SIDEBAR ========== */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 4rem;
  padding: 4rem 0;
}

.sidebar {
  position: sticky;
  top: 6rem;
}

.sidebar-widget {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--gray-100);
}

.sidebar-widget h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--red);
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-widget li:last-child {
  border-bottom: none;
}

.sidebar-widget a {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 400;
}

.sidebar-widget a:hover {
  color: var(--red);
}

.sidebar-cta {
  padding: 2rem;
  background: var(--navy-deep);
  text-align: center;
}

.sidebar-cta h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-cta p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* ========== DARK MODE ========== */
.dark-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray-400);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.dark-toggle:hover {
  border-color: var(--red);
  color: var(--white);
}

body.dark-mode {
  background: var(--navy-deep);
  color: var(--gray-300);
}

body.dark-mode .about,
body.dark-mode .diff,
body.dark-mode .blog,
body.dark-mode .contact-section,
body.dark-mode .detail-section {
  background: var(--navy);
}

body.dark-mode .section-title { color: var(--white); }
body.dark-mode .about-content p { color: var(--gray-400); }
body.dark-mode .diff-item h4 { color: var(--white); }
body.dark-mode .diff-item p { color: var(--gray-400); }
body.dark-mode .diff-item { border-left-color: rgba(255,255,255,0.1); }
body.dark-mode .blog-card { background: var(--navy-light); border-color: rgba(255,255,255,0.05); }
body.dark-mode .blog-card h3 { color: var(--white); }
body.dark-mode .blog-card p { color: var(--gray-400); }
body.dark-mode .faq { background: var(--navy); }
body.dark-mode .faq-q { color: var(--white); }
body.dark-mode .faq-a p { color: var(--gray-400); }
body.dark-mode .faq-item { border-bottom-color: rgba(255,255,255,0.08); }
body.dark-mode .team { background: var(--navy); }
body.dark-mode .team-card { background: var(--navy-light); }
body.dark-mode .team-info h3 { color: var(--white); }
body.dark-mode .practice-card { background: var(--navy); }
body.dark-mode .practice-card:hover { background: var(--navy-light); }

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { height: 350px; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: 1fr; gap: 3rem; }
  .diff-sticky { position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .process-grid::before { display: none; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .single-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .blog-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-phone { display: none; }
  .nav-cta-scroll { display: none; }
  .dark-toggle { display: none; }
  .mobile-toggle { display: flex; }
  .section { padding: 5rem 0; }
  .practice-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .blog-archive-grid { grid-template-columns: 1fr; }
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
