/* ============================================
   LAWYER PORTFOLIO — Design System
   ============================================ */

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

/* --- CSS Variables --- */
:root {
  /* Colors */
  --clr-bg:        #0e0e10;
  --clr-bg-alt:    #161618;
  --clr-surface:   #1c1c20;
  --clr-surface-2: #26262b;
  --clr-border:    #2e2e34;
  --clr-gold:      #c9a84c;
  --clr-gold-light:#dfc06e;
  --clr-gold-dark: #a88a3a;
  --clr-text:      #e8e6e1;
  --clr-text-dim:  #9e9c97;
  --clr-white:     #faf9f6;
  --clr-accent-bg: rgba(201,168,76,0.08);

  /* Typography */
  --ff-heading: 'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', -apple-system, sans-serif;

  /* Sizing */
  --max-width:  1200px;
  --nav-height: 80px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s var(--ease);
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

/* --- Utilities --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

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

.section-title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--clr-text-dim);
  max-width: 600px;
  line-height: 1.8;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--ff-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--clr-gold);
  color: var(--clr-bg);
}

.btn-primary:hover {
  background: var(--clr-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--clr-gold);
  border: 1px solid var(--clr-gold);
}

.btn-outline:hover {
  background: var(--clr-gold);
  color: var(--clr-bg);
  transform: translateY(-2px);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.4s var(--ease);
}

.navbar.scrolled {
  background: rgba(14, 14, 16, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.logo-co {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-gold);
  letter-spacing: 2px;
  margin-bottom: -2px;
}

.logo-name {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--clr-text-dim);
  position: relative;
  padding: 4px 0;
}

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

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

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

.nav-cta {
  padding: 10px 24px !important;
  background: var(--clr-gold) !important;
  color: var(--clr-bg) !important;
  border-radius: 2px;
  font-weight: 500 !important;
  letter-spacing: 1px;
}

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

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.nav-hamburger span {
  width: 28px;
  height: 2px;
  background: var(--clr-white);
  transition: all 0.3s var(--ease);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--nav-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to top, var(--clr-bg), transparent);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
  margin-block: auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.2s forwards;
}



.hero-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.4s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--clr-gold);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--clr-text-dim);
  line-height: 1.9;
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.6s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 0.8s forwards;
}

.hero-stats {
  display: flex;
  gap: 64px;
  margin-top: 80px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease) 1s forwards;
}

.hero-stat {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--clr-gold);
}

.hero-stat h3 {
  font-family: var(--ff-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--clr-gold);
  line-height: 1.1;
}

.hero-stat p {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* Decorative vertical line */
.hero-decor {
  position: absolute;
  right: 10%;
  top: 20%;
  width: 1px;
  height: 300px;
  background: linear-gradient(to bottom, transparent, var(--clr-gold), transparent);
  opacity: 0.3;
  animation: decorPulse 4s ease-in-out infinite;
}

/* ============================================
   PRACTICE AREAS / SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 44px 36px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--clr-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  border-color: var(--clr-gold-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-bg);
  border-radius: 4px;
  margin-bottom: 24px;
  color: var(--clr-gold);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.service-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--clr-text-dim);
  line-height: 1.8;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-card .learn-more::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}

.service-card:hover .learn-more::after {
  transform: translateX(4px);
}

/* ============================================
   ABOUT PREVIEW (Home) & ABOUT PAGE
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

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

.about-image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(20%);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--clr-gold);
  border-radius: 4px;
  z-index: -1;
}

.about-content .section-subtitle {
  margin-bottom: 30px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
  margin-bottom: 40px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-top: 2px;
}

.about-feature h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-white);
}

.about-feature p {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  margin-top: 2px;
}

/* About Page Specific */
.about-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
}

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

.about-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 30px);
}

.about-sidebar-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}

.about-sidebar-info {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 28px;
}

.about-sidebar-info h4 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-white);
  margin-bottom: 16px;
}

.about-sidebar-info ul li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.88rem;
}

.about-sidebar-info ul li:last-child {
  border-bottom: none;
}

.about-sidebar-info ul li span:first-child {
  color: var(--clr-text-dim);
}

.about-sidebar-info ul li span:last-child {
  color: var(--clr-white);
  font-weight: 500;
}

.about-main h2 {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  color: var(--clr-white);
  margin-bottom: 16px;
  margin-top: 48px;
}

.about-main h2:first-child {
  margin-top: 0;
}

.about-main p {
  font-size: 0.95rem;
  color: var(--clr-text-dim);
  line-height: 1.9;
  margin-bottom: 16px;
}

.timeline {
  margin-top: 24px;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 6px;
  width: 1px;
  height: 100%;
  background: var(--clr-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-gold);
  border: 2px solid var(--clr-bg);
}

.timeline-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 2px;
}

.timeline-item .timeline-date {
  font-size: 0.78rem;
  color: var(--clr-gold);
  font-weight: 500;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 40px;
  transition: all 0.3s var(--ease);
}

.testimonial-card:hover {
  border-color: var(--clr-gold-dark);
}

.testimonial-stars {
  color: var(--clr-gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--clr-text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-gold);
  font-weight: 600;
}

.testimonial-author h4 {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-white);
}

.testimonial-author p {
  font-size: 0.78rem;
  color: var(--clr-text-dim);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--ff-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  font-size: 1rem;
  color: var(--clr-text-dim);
  max-width: 500px;
  margin: 0 auto 32px;
  position: relative;
}

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

/* ============================================
   BLOG
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
  margin-top: 60px;
}

.blog-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--clr-gold-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.03);
}

.blog-card-image-wrap {
  overflow: hidden;
}

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

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.blog-card-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--clr-gold);
  background: var(--clr-accent-bg);
  padding: 4px 12px;
  border-radius: 2px;
}

.blog-card-date {
  font-size: 0.78rem;
  color: var(--clr-text-dim);
}

.blog-card h3 {
  font-family: var(--ff-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color 0.3s var(--ease);
}

.blog-card:hover h3 {
  color: var(--clr-gold);
}

.blog-card p {
  font-size: 0.88rem;
  color: var(--clr-text-dim);
  line-height: 1.7;
  margin-bottom: 18px;
}

.blog-card .read-more {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--clr-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-card .read-more::after {
  content: '→';
  transition: transform 0.3s var(--ease);
}

.blog-card:hover .read-more::after {
  transform: translateX(4px);
}

/* Featured Blog Post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 60px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.blog-featured:hover {
  border-color: var(--clr-gold-dark);
}

.blog-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 380px;
}

.blog-featured-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body .blog-card-tag {
  align-self: flex-start;
  margin-bottom: 20px;
}

.blog-featured-body h2 {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--clr-white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.blog-featured-body p {
  font-size: 0.95rem;
  color: var(--clr-text-dim);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Blog Page Hero */
.blog-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
}

/* ============================================
   SERVICES PAGE DETAILED
   ============================================ */
.services-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--clr-border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-content .section-label {
  margin-bottom: 8px;
}

.service-detail-content h2 {
  font-family: var(--ff-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 18px;
}

.service-detail-content p {
  font-size: 0.95rem;
  color: var(--clr-text-dim);
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-detail-content ul {
  margin-top: 16px;
}

.service-detail-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--clr-text-dim);
}

.service-detail-content ul li::before {
  content: '✦';
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.7rem;
}

.service-detail-visual {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 4px;
  padding: 48px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-detail-visual .icon {
  margin-bottom: 20px;
  color: var(--clr-gold);
}

.service-detail-visual .icon svg {
  width: 48px;
  height: 48px;
  display: block;
}

.service-detail-visual h3 {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  color: var(--clr-white);
  margin-bottom: 10px;
}

.service-detail-visual p {
  font-size: 0.88rem;
  color: var(--clr-text-dim);
  max-width: 280px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about .nav-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 0.88rem;
  color: var(--clr-text-dim);
  line-height: 1.8;
  max-width: 300px;
}

.footer h4 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: 22px;
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--clr-text-dim);
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: var(--clr-text-dim);
}

.footer-contact-icon {
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--clr-border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--clr-text-dim);
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 50%;
  color: var(--clr-text-dim);
  font-size: 0.85rem;
  transition: all 0.3s var(--ease);
}

.footer-socials a:hover {
  background: var(--clr-gold);
  border-color: var(--clr-gold);
  color: var(--clr-bg);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: var(--clr-bg-alt);
  border-bottom: 1px solid var(--clr-border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  margin-bottom: 20px;
}

.page-header .breadcrumb a:hover {
  color: var(--clr-gold);
}

.page-header .breadcrumb .separator {
  color: var(--clr-border);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s var(--ease);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-preview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-detail-grid {
    grid-template-columns: 1fr;
  }

  .about-sidebar {
    position: static;
    max-width: 400px;
  }

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

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

  .service-detail.reverse {
    direction: ltr;
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-img {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: var(--clr-bg-alt);
    border-left: 1px solid var(--clr-border);
    gap: 28px;
    transition: right 0.4s var(--ease);
    z-index: 1000;
  }

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

  .nav-hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
  }

  .services-grid,
  .blog-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

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

  .cta-banner {
    padding: 50px 28px;
  }

  .blog-featured-body {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

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

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
  z-index: 999;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   ENHANCED ANIMATIONS & DYNAMIC ELEMENTS
   ============================================ */

/* --- Floating Background Orbs --- */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.07;
  animation: orbFloat 20s infinite ease-in-out;
}

.hero-orb:nth-child(1) {
  width: 500px; height: 500px;
  background: var(--clr-gold);
  top: -10%; right: -10%;
  animation-duration: 18s;
}

.hero-orb:nth-child(2) {
  width: 350px; height: 350px;
  background: #7c6cf0;
  bottom: 10%; left: -5%;
  animation-duration: 22s;
  animation-delay: -5s;
}

.hero-orb:nth-child(3) {
  width: 250px; height: 250px;
  background: var(--clr-gold-light);
  top: 40%; right: 20%;
  animation-duration: 25s;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -40px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(15px, 30px) scale(1.05); }
}

/* --- Animated Gradient Border on Cards --- */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--clr-gold) 50%, transparent 60%);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
  animation: gradientShift 4s linear infinite paused;
}

.service-card:hover::after {
  opacity: 1;
  animation-play-state: running;
}

@keyframes gradientShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 300%; }
}

/* --- Shimmer Button Effect --- */
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: none;
  animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

/* --- Glow Pulse on Hero Stats --- */
.hero-stat h3 {
  text-shadow: 0 0 20px rgba(201,168,76,0.3);
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 20px rgba(201,168,76,0.2); }
  50% { text-shadow: 0 0 35px rgba(201,168,76,0.5); }
}

/* --- Staggered Reveal for Cards --- */
.services-grid .service-card.reveal { transition-delay: 0s; }
.services-grid .service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.services-grid .service-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.services-grid .service-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.services-grid .service-card.reveal:nth-child(6) { transition-delay: 0.5s; }

.testimonials-grid .testimonial-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials-grid .testimonial-card.reveal:nth-child(3) { transition-delay: 0.3s; }

.blog-grid .blog-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.blog-grid .blog-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.blog-grid .blog-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.blog-grid .blog-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.blog-grid .blog-card.reveal:nth-child(6) { transition-delay: 0.5s; }

/* --- Enhanced Reveal Variants --- */
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s var(--ease);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s var(--ease);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.7s var(--ease);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Floating Decorative Elements --- */
.float-element {
  position: absolute;
  pointer-events: none;
  opacity: 0.15;
  color: var(--clr-gold);
  font-size: 2rem;
  animation: floatY 6s ease-in-out infinite;
}

.float-element:nth-child(2) { animation-delay: -2s; animation-duration: 7s; }
.float-element:nth-child(3) { animation-delay: -4s; animation-duration: 8s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}



@keyframes decorPulse {
  0%, 100% { opacity: 0.15; height: 300px; }
  50% { opacity: 0.4; height: 350px; }
}

/* --- Parallax Grain Overlay --- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* --- Testimonial Card Hover Glow --- */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201,168,76,0.06) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

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

/* --- About Image Hover --- */
.about-image-wrapper:hover .about-image {
  filter: grayscale(0%);
  transform: scale(1.02);
  transition: all 0.6s var(--ease);
}

.about-image {
  transition: all 0.6s var(--ease);
}

/* --- Animated Section Divider --- */
.section-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  margin: 16px auto 0;
  position: relative;
  overflow: hidden;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: dividerShine 2.5s ease-in-out infinite;
}

@keyframes dividerShine {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* --- CTA Banner Animated Border --- */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-surface) 0%, rgba(201,168,76,0.05) 100%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  padding: 1px;
  background: linear-gradient(var(--angle, 135deg), var(--clr-gold), transparent, var(--clr-gold));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  pointer-events: none;
  animation: rotateBorder 6s linear infinite;
}

@keyframes rotateBorder {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* --- Blog Card Image Parallax --- */
.blog-card-image {
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.blog-card:hover .blog-card-image {
  filter: brightness(1.1);
}

/* --- Magnetic Hover for Service Icons --- */
.service-icon {
  transition: all 0.4s var(--ease);
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
  background: rgba(201,168,76,0.15);
  box-shadow: 0 0 30px rgba(201,168,76,0.2);
}

/* --- Timeline Animated Line --- */
.timeline::before {
  background: linear-gradient(to bottom, var(--clr-gold), var(--clr-border), var(--clr-gold));
  background-size: 100% 200%;
  animation: timelineFlow 4s ease-in-out infinite;
}

@keyframes timelineFlow {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 0% 100%; }
}

.timeline-item::before {
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
  transition: all 0.3s var(--ease);
}

.timeline-item:hover::before {
  box-shadow: 0 0 0 8px rgba(201,168,76,0.2);
  transform: scale(1.3);
}

/* --- Nav Link Hover Glow --- */
.nav-links a:hover {
  text-shadow: 0 0 12px rgba(201,168,76,0.3);
}

/* --- Footer Social Pulse --- */
.footer-socials a:hover {
  animation: socialPulse 0.5s ease;
}

@keyframes socialPulse {
  0% { box-shadow: 0 0 0 0 rgba(201,168,76,0.5); }
  100% { box-shadow: 0 0 0 12px rgba(201,168,76,0); }
}

/* --- Page Header Animated BG --- */
.page-header {
  background: linear-gradient(135deg, var(--clr-bg-alt) 0%, rgba(201,168,76,0.03) 50%, var(--clr-bg-alt) 100%);
  background-size: 200% 200%;
  animation: headerBg 8s ease-in-out infinite;
}

@keyframes headerBg {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* --- Cursor Glow (applied via JS) --- */
.cursor-glow {
  position: fixed;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

/* --- Typewriter cursor for hero label --- */
.hero-label::after {
  content: '|';
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  color: var(--clr-gold);
}

@keyframes blink {
  50% { opacity: 0; }
}

/* --- Floating particles canvas --- */
#particles-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
