/* =============================================
   PRP LAW FIRM — Design System & Styles
   Pranjani Radja S.H., M.H. & Partners
   ============================================= */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* — Colors — */
  --maroon: #800020;
  --maroon-dark: #5C0015;
  --maroon-light: #A0294A;
  --gold: #C9A84C;
  --gold-light: #E0C878;
  --gold-dark: #A8872A;
  --black: #0D0D0D;
  --charcoal: #1A1A1A;
  --dark-gray: #2D2D2D;
  --warm-gray: #6B6B6B;
  --light-gray: #B0B0B0;
  --off-white: #FAF8F5;
  --cream: #F5F0E8;
  --white: #FFFFFF;

  /* — Typography — */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* — Spacing — */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* — Transitions — */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-elegant: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* — Shadows — */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
  --shadow-gold: 0 4px 20px rgba(201, 168, 76, 0.15);

  /* — Border Radius — */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background-color: var(--off-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;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}

/* ===== UTILITY CLASSES ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--charcoal);
  margin-bottom: 16px;
  position: relative;
}

.section-title span {
  color: var(--maroon);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--warm-gray);
  max-width: 640px;
  line-height: 1.8;
}

.section-subtitle.centered {
  margin: 0 auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo img {
  height: 48px;
  width: auto;
}

.header.scrolled .logo img {
  height: 40px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.logo-desc {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-base);
  letter-spacing: 0.3px;
}

.nav-cta:hover {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg,
      rgba(13, 13, 13, 0.92) 0%,
      rgba(92, 0, 21, 0.75) 50%,
      rgba(13, 13, 13, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50px;
  margin-bottom: 32px;
  animation: fadeInDown 1s ease 0.3s both;
}

.hero-badge span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-title .accent {
  color: var(--gold);
  font-style: italic;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 40px;
  animation: fadeInUp 1s ease 0.7s both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid var(--maroon);
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(128, 0, 32, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 1s ease 1.2s both;
}

.hero-scroll span {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--charcoal);
  padding: 50px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: rgba(201, 168, 76, 0.2);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.5px;
}

/* ===== ABOUT SECTION ===== */
.about {
  padding: var(--section-padding);
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-content .section-title {
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  color: var(--warm-gray);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold);
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}

.about-highlight-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
  color: var(--gold);
}

.about-highlight-text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.about-highlight-text p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-image-main img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--maroon);
  color: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-image-badge .badge-year {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.about-image-badge .badge-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: var(--section-padding);
  background: var(--cream);
}

.gallery-showcase {
  position: relative;
  max-width: 900px;
  margin: 60px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--black);
}

.gallery-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.03);
}

.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 36px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  z-index: 3;
}

.gallery-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.gallery-caption p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 600px;
}

.gallery-controls {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  z-index: 5;
}

.gallery-btn {
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: all var(--transition-base);
}

.gallery-btn:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  transform: scale(1.1);
}

.gallery-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-base);
}

.gallery-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ===== TEAM SECTION ===== */
.team {
  padding: var(--section-padding);
  background: var(--charcoal);
  color: var(--white);
}

.team .section-title {
  color: var(--white);
}

.team-category-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
  margin-top: 60px;
  position: relative;
  padding-bottom: 12px;
}

.team-category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gold);
}

.team-category-title.centered::after {
  left: 50%;
  transform: translateX(-50%);
}

.team-category-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
}

.team-card {
  background: var(--dark-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-elegant);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: var(--shadow-gold);
}

.team-card-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--dark-gray), transparent);
}

.team-card-info {
  padding: 20px;
  position: relative;
  z-index: 2;
  margin-top: -40px;
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.team-card-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.team-card-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

/* Senior Consultants Grid — wider cards */
.team-grid-senior {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.team-grid-senior .team-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.team-grid-senior .team-card-image {
  width: 140px;
  min-width: 140px;
  height: auto;
  min-height: 200px;
}

.team-grid-senior .team-card-image::after {
  display: none;
}

.team-grid-senior .team-card-info {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 24px;
}

/* ===== PRACTICE AREAS ===== */
.practice {
  padding: var(--section-padding);
  background: var(--off-white);
}

.practice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 60px;
}

.practice-column {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
}

.practice-column:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.practice-column-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.practice-column-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--maroon);
  border-radius: var(--radius-md);
  color: var(--white);
  flex-shrink: 0;
}

.practice-column-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
}

.practice-column-subtitle {
  font-size: 0.8rem;
  color: var(--warm-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.practice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.practice-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.practice-item:hover {
  background: var(--cream);
}

.practice-item-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 0, 32, 0.08);
  border-radius: var(--radius-sm);
  color: var(--maroon);
}

.practice-item-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
}

/* ===== SPECIAL SERVICES ===== */
.services {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--maroon-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.04);
}

.services .section-title {
  color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition-elegant);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-6px);
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.12);
  border-radius: var(--radius-md);
  color: var(--gold);
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

/* ===== CLIENTS SECTION ===== */
.clients {
  padding: var(--section-padding);
  background: var(--off-white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.client-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition-elegant);
  filter: grayscale(100%);
  opacity: 0.6;
}

.client-card:hover {
  filter: grayscale(0%);
  opacity: 1;
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.client-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 8px;
  transition: color var(--transition-base);
}

.client-type {
  font-size: 0.75rem;
  color: var(--warm-gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 44px;
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--maroon);
  color: var(--white);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-sm);
  color: var(--gold);
}

.footer-contact-item p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--gold);
}

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    order: -1;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .team-grid-senior .team-card {
    flex-direction: column;
  }

  .team-grid-senior .team-card-image {
    width: 100%;
    min-width: auto;
    height: 200px;
  }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: var(--charcoal);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 40px;
    gap: 24px;
    transition: right var(--transition-base);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-cta {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile overlay */
  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item::after {
    display: none !important;
  }

  .stat-number {
    font-size: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image-badge {
    bottom: -20px;
    left: 16px;
    padding: 20px 24px;
  }

  .about-image-badge .badge-year {
    font-size: 1.8rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .team-card-image {
    height: 200px;
  }

  .team-grid-senior {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .team-grid-senior .team-card {
    flex-direction: column;
  }

  .team-grid-senior .team-card-image {
    width: 100%;
    min-width: auto;
    height: 180px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-column {
    padding: 32px 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery-showcase {
    margin-top: 40px;
    border-radius: var(--radius-md);
  }

  .gallery-track {
    aspect-ratio: 3 / 4;
  }

  .gallery-caption {
    padding: 40px 20px 28px;
  }

  .gallery-caption h4 {
    font-size: 1.1rem;
  }

  .gallery-caption p {
    font-size: 0.85rem;
  }

  .gallery-controls {
    padding: 14px 16px;
  }

  .gallery-btn {
    width: 36px;
    height: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===== RESPONSIVE: SMALL MOBILE ===== */
@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid-senior {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card-featured {
    grid-column: 1;
  }
}

/* =============================================
   NEWS PAGE STYLES
   ============================================= */

/* ===== NEWS HERO ===== */
.news-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.news-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.news-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  transform: scale(1.05);
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg,
      rgba(13, 13, 13, 0.94) 0%,
      rgba(92, 0, 21, 0.7) 50%,
      rgba(13, 13, 13, 0.9) 100%);
}

.news-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  padding: 120px 24px 60px;
}

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease 0.2s both;
}

.breadcrumb a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb svg {
  color: rgba(255, 255, 255, 0.3);
}

.breadcrumb span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
}

.news-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.news-hero-title span {
  color: var(--gold);
  font-style: italic;
}

.news-hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ===== NEWS FILTER ===== */
.news-filter-section {
  background: var(--off-white);
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 64px;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(250, 248, 245, 0.92);
}

.news-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-filter-bar::-webkit-scrollbar {
  display: none;
}

.news-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--warm-gray);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.news-filter-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
  background: rgba(128, 0, 32, 0.04);
}

.news-filter-btn.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(128, 0, 32, 0.25);
}

.news-filter-btn.active svg {
  stroke: var(--white);
}

/* ===== NEWS GRID ===== */
.news-section {
  padding: 60px 0 100px;
  background: var(--off-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===== NEWS CARD ===== */
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  border-color: rgba(201, 168, 76, 0.2);
}

.news-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.news-card-featured .news-card-image {
  height: 100%;
  min-height: 360px;
}

.news-card-featured .news-card-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-card-featured .news-card-title {
  font-size: 1.5rem;
}

.news-card-featured .news-card-excerpt {
  font-size: 0.95rem;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.news-card-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}

.news-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: var(--maroon);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  z-index: 2;
}

.news-card-content {
  padding: 28px 24px;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.news-card-date,
.news-card-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--light-gray);
}

.news-card-date svg,
.news-card-author svg {
  flex-shrink: 0;
  stroke: var(--gold);
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color var(--transition-base);
}

.news-card:hover .news-card-title {
  color: var(--maroon);
}

.news-card-excerpt {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 0.3px;
  transition: all var(--transition-base);
}

.news-card-link svg {
  transition: transform var(--transition-base);
}

.news-card-link:hover {
  color: var(--gold-dark);
}

.news-card-link:hover svg {
  transform: translateX(4px);
}

/* ===== NEWS NO RESULTS ===== */
.news-no-results {
  text-align: center;
  padding: 80px 24px;
  color: var(--warm-gray);
}

.news-no-results svg {
  color: var(--light-gray);
  margin-bottom: 16px;
}

.news-no-results h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.news-no-results p {
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== NEWS CTA ===== */
.news-cta {
  padding: 0 0 100px;
  background: var(--off-white);
}

.news-cta-card {
  position: relative;
  background: var(--charcoal);
  border-radius: var(--radius-lg);
  padding: 64px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.12);
}

.news-cta-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.news-cta-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.news-cta-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 32px;
}

.news-cta-decoration {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  opacity: 0.5;
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

/* ===== NEWS CARD ANIMATION ===== */
.news-card.hidden {
  opacity: 0;
  transform: scale(0.92) translateY(20px);
  position: absolute;
  pointer-events: none;
}

.news-card.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  position: relative;
  pointer-events: all;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== NEWS RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-card-featured {
    grid-column: 1 / -1;
  }

  .news-cta-card {
    padding: 48px 36px;
  }

  .news-cta-decoration {
    display: none;
  }
}

/* ===== NEWS RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  .news-hero-content {
    padding: 100px 20px 48px;
  }

  .news-hero-title {
    font-size: 2rem;
  }

  .news-filter-section {
    top: 56px;
  }

  .news-filter-bar {
    padding: 12px 0;
    gap: 6px;
  }

  .news-filter-btn {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-card-featured {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .news-card-featured .news-card-image {
    min-height: 220px;
  }

  .news-card-featured .news-card-content {
    padding: 24px 20px;
  }

  .news-cta-card {
    padding: 36px 24px;
  }

  .news-cta-content h2 {
    font-size: 1.4rem;
  }
}