/* ============================================
   Herbert Young Law Firm - Landing Page Styles
   Premium Dark Theme | Gold Accents
   ============================================ */

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

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-bg-primary: #0a0a0f;
  --color-bg-secondary: #111118;
  --color-bg-card: #16161e;
  --color-bg-card-hover: #1c1c28;
  --color-gold: #c9a84c;
  --color-gold-light: #d4b86a;
  --color-gold-dark: #a88a3a;
  --color-gold-glow: rgba(201, 168, 76, 0.15);
  --color-text-primary: #f0ede6;
  --color-text-secondary: #9e9ba8;
  --color-text-muted: #6b6878;
  --color-border: rgba(201, 168, 76, 0.12);
  --color-border-hover: rgba(201, 168, 76, 0.3);
  --color-overlay: rgba(10, 10, 15, 0.85);
  --color-overlay-heavy: rgba(10, 10, 15, 0.92);
  --color-white: #ffffff;
  --logo-filter: none;
  --hero-overlay: linear-gradient(135deg, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.7) 50%, rgba(10, 10, 15, 0.85) 100%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --container-padding: 0 40px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  /* Shadows */
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.1);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* --- Light Theme --- */
[data-theme="light"] {
  --color-bg-primary: #f8f6f1;
  --color-bg-secondary: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #faf9f6;
  --color-gold: #a8892e;
  --color-gold-light: #c9a84c;
  --color-gold-dark: #8a6f1e;
  --color-gold-glow: rgba(168, 137, 46, 0.12);
  --color-text-primary: #1a1a2e;
  --color-text-secondary: #555568;
  --color-text-muted: #8888a0;
  --color-border: rgba(26, 26, 46, 0.1);
  --color-border-hover: rgba(168, 137, 46, 0.35);
  --color-overlay: rgba(248, 246, 241, 0.9);
  --color-overlay-heavy: rgba(248, 246, 241, 0.95);
  --color-white: #1a1a2e;
  --logo-filter: invert(1) brightness(0.2);
  --hero-overlay: linear-gradient(135deg, rgba(248, 246, 241, 0.92) 0%, rgba(248, 246, 241, 0.75) 50%, rgba(248, 246, 241, 0.88) 100%);
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.06);
  --shadow-gold: 0 4px 30px rgba(168, 137, 46, 0.08);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* --- 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);
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Typography Utilities --- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--color-gold);
}

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

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

/* --- Gold Divider --- */
.gold-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  margin: 20px 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-medium);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

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

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

.navbar-logo img {
  height: 70px;
  width: auto;
  filter: var(--logo-filter, none) drop-shadow(0 0 6px rgba(201, 168, 76, 0.25));
  transition: var(--transition-medium);
}

.navbar-logo:hover img {
  filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.5));
}

.navbar.scrolled .navbar-logo img {
  height: 55px;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
}

.navbar-logo-text .firm-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 1.5px;
  line-height: 1.1;
}

.navbar-logo-text .firm-tagline {
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.navbar-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-medium);
}

.navbar-links a:hover {
  color: var(--color-gold-light);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta {
  padding: 10px 28px;
  border: 1px solid var(--color-gold);
  color: var(--color-gold) !important;
  font-size: 0.8rem !important;
  letter-spacing: 2px !important;
  transition: all var(--transition-medium) !important;
}

.navbar-cta:hover {
  background: var(--color-gold) !important;
  color: var(--color-bg-primary) !important;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--color-text-primary);
  transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--color-bg-primary));
}

.hero .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: var(--color-gold-glow);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero h1 .highlight {
  color: var(--color-gold);
  display: block;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  animation: fadeInUp 0.8s ease 0.8s both;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: var(--color-gold);
  color: var(--color-bg-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

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

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

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: transparent;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--color-border-hover);
  cursor: pointer;
  transition: all var(--transition-medium);
}

.btn-secondary:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
  position: absolute;
  right: 40px;
  bottom: 160px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  animation: fadeInRight 0.8s ease 1s both;
}

.stat-item {
  text-align: right;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.8s ease 1.2s both;
}

.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--color-gold);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: var(--section-padding);
  position: relative;
}

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

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

.about-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.9);
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--color-border);
  z-index: -1;
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 120px;
  height: 120px;
  background: var(--color-gold-glow);
  border: 1px solid var(--color-border);
}

.about-content .section-description {
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  border-left: 2px solid var(--color-border);
  transition: all var(--transition-medium);
}

.about-feature:hover {
  border-left-color: var(--color-gold);
  background: var(--color-gold-glow);
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   PRACTICE AREAS / SERVICES
   ============================================ */
.services {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
  position: relative;
}

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

.services-header {
  text-align: center;
  margin-bottom: 70px;
}

.services-header .section-description {
  margin: 0 auto;
}

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

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 48px 36px;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover {
  background: var(--color-bg-card-hover);
  border-color: var(--color-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}

.service-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--color-gold);
  font-size: 1.5rem;
  transition: all var(--transition-medium);
}

.service-card:hover .service-icon {
  background: var(--color-gold-glow);
  border-color: var(--color-gold);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

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

.service-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.06);
  line-height: 1;
}

/* ============================================
   NAVBAR RIGHT (lang + hamburger)
   ============================================ */
.navbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.lang-switcher a {
  color: var(--color-text-muted);
  padding: 4px 6px;
  transition: color var(--transition-fast);
}

.lang-switcher a.lang-active {
  color: var(--color-gold);
}

.lang-switcher a:hover {
  color: var(--color-gold-light);
}

.lang-divider {
  color: var(--color-border);
  font-weight: 300;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  padding: var(--section-padding);
  position: relative;
}

.team-header {
  text-align: center;
  margin-bottom: 70px;
}

.team-header .section-description {
  margin: 0 auto;
}

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

.team-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-medium);
}

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

.team-photo {
  position: relative;
  overflow: hidden;
  height: 320px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(10, 10, 15, 0.9));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

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

.team-social {
  display: flex;
  gap: 10px;
}

.team-social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.team-social a:hover {
  background: var(--color-gold);
  color: var(--color-bg-primary);
}

.team-info {
  padding: 24px 20px;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.team-specialty {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.team-divider {
  width: 30px;
  height: 1px;
  background: var(--color-gold);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   BADGES / CERTIFICATIONS
   ============================================ */
.badges {
  padding: 60px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.badges-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.badge-item:hover {
  color: var(--color-gold);
}

.badge-item i {
  font-size: 1.6rem;
  color: var(--color-gold);
  opacity: 0.6;
}

.badge-item:hover i {
  opacity: 1;
}

.badge-item span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ============================================
   TESTIMONIAL STARS
   ============================================ */
.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--color-gold);
  font-size: 0.8rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: var(--section-padding);
  position: relative;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.faq-content {
  position: sticky;
  top: 120px;
}

.faq-cta {
  margin-top: 40px;
}

.faq-cta p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-border-hover);
}

.faq-item.active {
  border-color: var(--color-gold);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-gold);
}

.faq-icon {
  color: var(--color-gold);
  font-size: 0.7rem;
  transition: transform var(--transition-medium);
  flex-shrink: 0;
}

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

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

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ============================================
   CONTACT MAP
   ============================================ */
.contact-map {
  margin-top: 30px;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.contact-map iframe {
  display: block;
}

/* Footer lang link */
.footer-lang {
  color: var(--color-gold) !important;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-bg-secondary);
  position: relative;
}

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

.testimonials-header {
  text-align: center;
  margin-bottom: 70px;
}

.testimonials-header .section-description {
  margin: 0 auto;
}

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

.testimonial-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 40px 32px;
  transition: all var(--transition-medium);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 2.5rem;
  color: var(--color-gold);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.5;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold-glow);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-primary);
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-padding);
  position: relative;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 40px;
}

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

.contact-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--transition-medium);
}

.contact-item:hover .contact-icon {
  background: var(--color-gold-glow);
  border-color: var(--color-gold);
}

.contact-item h4 {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contact-item p,
.contact-item a {
  font-size: 1rem;
  color: var(--color-text-primary);
}

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

/* Contact Form */
.contact-form {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  padding: 48px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.contact-form .form-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

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

.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

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

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239e9ba8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--color-gold);
  color: var(--color-bg-primary);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.form-submit:hover {
  background: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

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

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

.footer-brand img {
  height: 64px;
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.25));
  margin-bottom: 20px;
}

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

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

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

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

.footer-column ul li a {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--color-gold);
  padding-left: 8px;
}

.footer-newsletter p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-right: none;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.footer-newsletter-form input:focus {
  border-color: var(--color-gold);
}

.footer-newsletter-form button {
  padding: 12px 20px;
  background: var(--color-gold);
  border: 1px solid var(--color-gold);
  color: var(--color-bg-primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer-newsletter-form button:hover {
  background: var(--color-gold-light);
}

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

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

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

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

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

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.stagger-children.active > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px 0;
    --container-padding: 0 24px;
  }

  .about-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

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

  .faq-content { position: static; }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    flex-direction: row;
    gap: 40px;
    margin-top: 48px;
  }

  .stat-item {
    text-align: left;
  }

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

  .badges-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .navbar-logo img {
    height: 55px;
  }

  .navbar.scrolled .navbar-logo img {
    height: 45px;
  }

  .navbar-logo-text .firm-name {
    font-size: 1.3rem;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right var(--transition-medium);
    border-left: 1px solid var(--color-border);
  }

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

  .hamburger {
    display: flex;
  }

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

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

  .badges-grid {
    gap: 20px;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

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

  .contact-form {
    padding: 32px 24px;
  }

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

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

  .experience-badge {
    width: 120px;
    height: 120px;
    bottom: -15px;
    right: -15px;
  }

  .experience-badge .years {
    font-size: 2.2rem;
  }

  .about-image-wrapper::before {
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 480px) {
  :root {
    --container-padding: 0 16px;
  }

  .hero-badge {
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 6px 14px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .service-card {
    padding: 32px 24px;
  }

  .value-item {
    padding: 16px;
    flex-direction: column;
  }
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 998;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-fast);
  animation: fadeInUp 0.8s ease 1.5s both;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

/* ============================================
   PAGE LOADER
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-content img {
  height: 90px;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.4));
  margin: 0 auto 24px;
  animation: pulse 1.5s ease-in-out infinite;
}

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

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: var(--color-gold);
  animation: loading 1.2s ease-in-out infinite;
}

@keyframes loading {
  0% { left: -60%; }
  100% { left: 100%; }
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.theme-toggle {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 1rem;
  margin-right: 8px;
}

.theme-toggle:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: var(--color-gold-glow);
}

.theme-toggle .fa-sun { display: none; }
.theme-toggle .fa-moon { display: inline; }

[data-theme="light"] .theme-toggle .fa-sun { display: inline; }
[data-theme="light"] .theme-toggle .fa-moon { display: none; }

/* ============================================
   LIGHT THEME OVERRIDES
   ============================================ */
body {
  transition: background-color 0.4s ease, color 0.4s ease;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(248, 246, 241, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 26, 46, 0.08);
}

[data-theme="light"] .navbar-logo img {
  filter: invert(1) brightness(0.15) drop-shadow(0 0 4px rgba(0,0,0,0.1));
}

[data-theme="light"] .navbar-logo:hover img {
  filter: invert(1) brightness(0.1) drop-shadow(0 0 8px rgba(168, 137, 46, 0.3));
}

[data-theme="light"] .navbar-links a {
  color: #555568;
}

[data-theme="light"] .navbar-links a:hover {
  color: #a8892e;
}

[data-theme="light"] .navbar-cta {
  border-color: #a8892e;
  color: #a8892e;
}

[data-theme="light"] .navbar-cta:hover {
  background: #a8892e;
  color: #ffffff;
}

[data-theme="light"] .hero-badge {
  background: rgba(168, 137, 46, 0.1);
  border-color: rgba(168, 137, 46, 0.3);
  color: #a8892e;
}

[data-theme="light"] .section-label {
  color: #a8892e;
}

[data-theme="light"] .section-label::before,
[data-theme="light"] .section-label::after {
  background: #a8892e;
}

[data-theme="light"] .service-card {
  background: #ffffff;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover {
  border-color: rgba(168, 137, 46, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .service-icon {
  background: rgba(168, 137, 46, 0.08);
}

[data-theme="light"] .team-card {
  background: #ffffff;
  border: 1px solid rgba(26, 26, 46, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .team-card:hover {
  border-color: rgba(168, 137, 46, 0.3);
}

[data-theme="light"] .value-item {
  background: rgba(168, 137, 46, 0.04);
  border-color: rgba(26, 26, 46, 0.06);
}

[data-theme="light"] .testimonial-card {
  background: #ffffff;
  border-color: rgba(26, 26, 46, 0.08);
}

[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: rgba(26, 26, 46, 0.08);
}

[data-theme="light"] .faq-item:hover,
[data-theme="light"] .faq-item.active {
  border-color: rgba(168, 137, 46, 0.3);
}

[data-theme="light"] .contact-form {
  background: #ffffff;
  border-color: rgba(26, 26, 46, 0.08);
}

[data-theme="light"] .form-input {
  background: #f8f6f1;
  border-color: rgba(26, 26, 46, 0.1);
  color: #1a1a2e;
}

[data-theme="light"] .form-input:focus {
  border-color: #a8892e;
  background: #ffffff;
}

[data-theme="light"] .footer {
  background: #1a1a2e;
  color: #f0ede6;
}

[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-column a,
[data-theme="light"] .footer-newsletter p {
  color: #9e9ba8;
}

[data-theme="light"] .footer-column h4 {
  color: #f0ede6;
}

[data-theme="light"] .footer-brand img {
  filter: drop-shadow(0 0 6px rgba(201, 168, 76, 0.25));
}

[data-theme="light"] .footer-bottom {
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .footer-bottom p,
[data-theme="light"] .footer-legal a {
  color: #6b6878;
}

[data-theme="light"] .hamburger span {
  background: #1a1a2e;
}

[data-theme="light"] .lang-switcher a {
  color: #8888a0;
}

[data-theme="light"] .lang-active {
  color: #a8892e !important;
}

[data-theme="light"] .mobile-overlay {
  background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .loader {
  background: #f8f6f1;
}

[data-theme="light"] .loader-content img {
  filter: invert(1) brightness(0.15);
}

[data-theme="light"] .loader-bar {
  background: rgba(26, 26, 46, 0.1);
}

[data-theme="light"] .experience-badge {
  background: #a8892e;
}

[data-theme="light"] .whatsapp-float {
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

[data-theme="light"] .about-image-wrapper::before {
  border-color: rgba(168, 137, 46, 0.3);
}

[data-theme="light"] .hero-image-glow {
  background: rgba(168, 137, 46, 0.06);
}

/* Blog light overrides */
[data-theme="light"] .blog-hero {
  background: linear-gradient(135deg, #f8f6f1 0%, #f0ede6 50%, #f8f6f1 100%);
}

[data-theme="light"] .blog-card {
  background: #ffffff;
  border-color: rgba(26, 26, 46, 0.08);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .blog-card:hover {
  border-color: rgba(168, 137, 46, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .blog-cta-card {
  background: linear-gradient(135deg, #f0ede6 0%, #ffffff 100%);
  border-color: rgba(168, 137, 46, 0.2);
}

[data-theme="light"] .categories-bar .category-btn {
  border-color: rgba(26, 26, 46, 0.12);
  color: #555568;
}

[data-theme="light"] .categories-bar .category-btn.active {
  background: #a8892e;
  border-color: #a8892e;
  color: #ffffff;
}

/* ============================================
   BLOG PAGES
   ============================================ */
.navbar-solid {
  background: var(--color-bg-primary);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar-links a.active {
  color: var(--color-gold);
}

.blog-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--color-bg-primary) 0%, hsl(220, 30%, 12%) 50%, var(--color-bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect fill="none" stroke="rgba(191,155,48,0.04)" stroke-width="0.5" width="60" height="60"/></svg>');
  opacity: 0.5;
}

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

.blog-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--color-text-primary);
  margin: 16px 0;
  line-height: 1.2;
}

.blog-hero-content p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
}

/* Categories Bar */
.blog-categories {
  background: var(--color-bg-secondary);
  padding: 0;
  position: sticky;
  top: 72px;
  z-index: 50;
  border-bottom: 1px solid var(--color-border);
}

.categories-bar {
  display: flex;
  gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.categories-bar::-webkit-scrollbar { display: none; }

.category-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: 10px 24px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.category-btn:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.category-btn.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg-primary);
  font-weight: 600;
}

/* Blog Grid */
.blog-listing {
  padding: 60px 0 80px;
  background: var(--color-bg-primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Blog Cards */
.blog-card {
  background: var(--color-bg-secondary);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-medium);
  animation: fadeInUp 0.6s ease forwards;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 155, 48, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.blog-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.blog-card-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-gold);
  color: var(--color-bg-primary);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.blog-card-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 16px;
}

.blog-card-meta span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card-meta i {
  color: var(--color-gold);
  font-size: 0.75rem;
}

.blog-card-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-content h2 {
  color: var(--color-gold);
}

.blog-card-content > p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

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

.blog-card-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-gold);
}

.author-name {
  display: block;
  color: var(--color-text-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.author-role {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.blog-read-more {
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.blog-read-more:hover {
  gap: 12px;
  color: var(--color-gold-light);
}

/* Blog CTA */
.blog-cta-section {
  margin-top: 60px;
}

.blog-cta-card {
  background: linear-gradient(135deg, hsl(220, 30%, 14%) 0%, hsl(220, 25%, 18%) 100%);
  border: 1px solid rgba(191, 155, 48, 0.2);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.blog-cta-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: rgba(37, 211, 102, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #25d366;
}

.blog-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.blog-cta-text p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

.blog-cta-card .btn-primary {
  white-space: nowrap;
  min-width: max-content;
}

/* Blog Responsive */
@media (max-width: 768px) {
  .blog-hero {
    padding: 120px 0 50px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-cta-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .blog-cta-card .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .blog-card-footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .blog-card-image {
    height: 180px;
  }

  .blog-card-content {
    padding: 20px;
  }

  .blog-card-content h2 {
    font-size: 1.15rem;
  }
}
