/* ID Legal Shield - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --primary-dark: #002117;
  --primary-green: #003333;
  --accent-gold: #C59D4F;
  --accent-gold-dark: #A67C2E;
  --accent-gold-light: #E8C882;
  --white: #FFFFFF;
  --off-white: #F9F6F2;
  --beige: #F5F0E9;
  --light-gray: #F8F8F8;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --text-light: #999999;
  --border-color: #e5e5e5;
  --overlay-dark: rgba(0, 33, 23, 0.85);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Segoe UI', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 6px;
  --radius-lg: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

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

.container-wide { max-width: 1400px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}

.btn-gold {
  background: var(--accent-gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--accent-gold-dark); }

.btn-dark {
  background: var(--primary-dark);
  color: var(--white);
}
.btn-dark:hover { background: var(--primary-green); }

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

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

.btn-sm { padding: 10px 24px; font-size: 12px; }

.btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gold);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-circle:hover { background: var(--accent-gold-dark); }

/* Section Labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}
.section-label::before,
.section-label::after {
  content: '◆';
  font-size: 8px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
}

.section-padding { padding: 80px 0; }
.section-padding-sm { padding: 60px 0; }

.text-center { text-align: center; }
.text-gold { color: var(--accent-gold); }
.text-white { color: var(--white); }

/* ========== HEADER ========== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

.site-header.scrolled {
  position: fixed;
  background: var(--primary-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 10px 0;
}

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

.logo img { height: 48px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav a {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.search-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.search-btn:hover { border-color: var(--accent-gold); color: var(--accent-gold); }

.cart-icon {
  position: relative;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent-gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ========== PAGE HERO ========== */
.page-hero {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

.page-hero .container { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 60px; }

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 15px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: var(--accent-gold); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.5); }

/* ========== HOME HERO ========== */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,33,23,0.92) 0%, rgba(0,33,51,0.85) 100%);
}

.home-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 180px;
}

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

.hero-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 25px;
}

.hero-title span { color: var(--accent-gold); }

.hero-text {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  margin-bottom: 35px;
  max-width: 550px;
}

.hero-features {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

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

.hero-feature-box {
  background: rgba(0, 33, 23, 0.9);
  border-top: 3px solid var(--accent-gold);
  padding: 30px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.hero-feature-box:hover { background: var(--accent-gold); }
.hero-feature-box:hover .feature-icon { color: var(--primary-dark); }
.hero-feature-box:hover h4,
.hero-feature-box:hover p { color: var(--primary-dark); }

.feature-icon {
  font-size: 32px;
  color: var(--accent-gold);
  transition: var(--transition);
}

.hero-feature-box h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-feature-box p {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* ========== ABOUT SECTION ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image { position: relative; }

.about-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

.about-image-small {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  border: 5px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-content .check-list { margin: 25px 0; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 15px;
}

.check-list li i {
  color: var(--accent-gold);
  margin-top: 4px;
  flex-shrink: 0;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
  text-align: center;
}

.stat-item h3 {
  font-size: 42px;
  color: var(--accent-gold);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-bar {
  background: var(--accent-gold);
  padding: 40px 0;
  border-radius: var(--radius-lg);
  margin-top: -40px;
  position: relative;
  z-index: 2;
}

.stats-bar .stat-item h3 { color: var(--white); }
.stats-bar .stat-item p { color: rgba(255,255,255,0.8); }

/* ========== SERVICES GRID ========== */
.services-section { background: var(--off-white); position: relative; }
.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 Q45 15 30 30 Q15 15 30 0' fill='none' stroke='%23002117' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

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

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-card-text {
  background: var(--primary-dark);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-text i {
  font-size: 36px;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.service-card-text h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 12px;
}

.service-card-text p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 20px;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 250px;
}

.service-card:nth-child(even) .service-card-text { order: 2; }
.service-card:nth-child(even) .service-card-img { order: 1; }

/* ========== ATTORNEYS ========== */
.attorneys-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

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

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

.attorney-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.attorney-info { padding: 25px 20px; }

.attorney-info h4 { font-size: 18px; margin-bottom: 5px; }
.attorney-info span { font-size: 13px; color: var(--accent-gold); display: block; margin-bottom: 12px; }
.attorney-info p { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }

.attorney-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.attorney-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  transition: var(--transition);
}

.attorney-social a:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--white);
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
}

.testimonials-section .container { position: relative; z-index: 1; }

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

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.testimonial-card {
  background: rgba(0, 33, 23, 0.8);
  border: 1px solid rgba(197, 157, 79, 0.2);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-header img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.testimonial-header h5 { color: var(--white); font-size: 16px; font-family: var(--font-sans); }
.testimonial-header span { font-size: 12px; color: var(--accent-gold); }

.testimonial-quote {
  font-size: 40px;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 10px;
}

.testimonial-card p {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-style: italic;
  line-height: 1.8;
}

/* ========== PRICING ========== */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 30px 0 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.toggle-switch {
  width: 56px;
  height: 28px;
  background: var(--accent-gold);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  border: none;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch.yearly::after { left: 31px; }

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

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

.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.featured { transform: scale(1.05); z-index: 2; }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-5px); }

.pricing-header {
  padding: 30px 25px 0;
}

.pricing-header h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.pricing-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.pricing-price {
  padding: 25px;
  margin: 20px 25px;
  border-radius: var(--radius);
  color: var(--white);
}

.pricing-card .pricing-price { background: var(--accent-gold); }
.pricing-card.featured .pricing-price { background: var(--primary-dark); }

.pricing-price .amount {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
}

.pricing-price .period { font-size: 14px; opacity: 0.8; }

.pricing-features {
  padding: 0 30px 30px;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li i { color: var(--accent-gold); }

.pricing-card .btn { width: calc(100% - 50px); margin: 0 25px 30px; justify-content: center; }

.pricing-card.featured .btn { background: var(--primary-dark); }
.pricing-card.featured .btn:hover { background: var(--primary-green); }

/* ========== EXPERTISE ========== */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.expertise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 450px;
}

.expertise-content {
  background: var(--primary-dark);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.expertise-content h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 20px;
}

.expertise-content > p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}

.expertise-steps { margin-top: 10px; }

.expertise-step {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
}

.expertise-step h4 { color: var(--white); font-size: 18px; margin-bottom: 8px; }
.expertise-step p { color: rgba(255,255,255,0.6); font-size: 14px; }

/* ========== BLOG ========== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.blog-card-img { position: relative; overflow: hidden; }

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

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

.blog-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-gold);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
}

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

.blog-meta {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-meta i { color: var(--accent-gold); margin-right: 5px; }

.blog-card-body h3 {
  font-size: 20px;
  margin-bottom: 15px;
  transition: var(--transition);
}

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

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

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
}

.read-more:hover { color: var(--accent-gold-dark); }

/* ========== CTA BANNER ========== */
.cta-banner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 200px;
}

.cta-banner-img {
  background-size: cover;
  background-position: center;
}

.cta-banner-content {
  background: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 50px;
  gap: 30px;
}

.cta-banner-content h2 {
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
  max-width: 500px;
}

/* ========== CASE STUDIES ========== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.case-card:hover img { transform: scale(1.08); }

.case-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,33,23,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 25px;
  transition: var(--transition);
}

.case-card:hover .case-card-overlay {
  background: linear-gradient(to top, rgba(0,33,23,0.95) 0%, rgba(0,33,23,0.4) 100%);
}

.case-card h3 { color: var(--white); font-size: 18px; }

.case-arrow {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}

.case-card:hover .case-arrow { transform: rotate(45deg); }

/* ========== FAQ ========== */
.faq-list { max-width: 800px; margin: 40px auto 0; }

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
  transition: var(--transition);
}

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

.faq-question i {
  color: var(--accent-gold);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question { background: var(--off-white); }
.faq-item.active .faq-question i { transform: rotate(180deg); }

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

.faq-answer-inner {
  padding: 0 25px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.8;
}

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

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--primary-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-info-card p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 30px;
}

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

.contact-info-item i {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(197, 157, 79, 0.2);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h5 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-info-item p { font-size: 14px; margin: 0; }

/* ========== FORMS ========== */
.form-group { margin-bottom: 20px; }

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 157, 79, 0.15);
}

.form-control.error { border-color: #e74c3c; }

.form-control.success { border-color: #27ae60; }

textarea.form-control { min-height: 150px; resize: vertical; }

.form-error {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

.form-error.show { display: block; }

.form-success-msg {
  background: #d4edda;
  color: #155724;
  padding: 15px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: none;
}

.form-success-msg.show { display: block; }

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

.contact-form-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form-card h3 {
  font-size: 24px;
  margin-bottom: 25px;
}

/* ========== PRODUCTS ========== */
.products-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin-top: 40px;
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.product-card:hover { box-shadow: var(--shadow); border-color: var(--accent-gold); }

.product-img-wrap {
  background: var(--beige);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 15px;
}

.product-img-wrap img {
  width: 100%;
  height: 160px;
  object-fit: contain;
}

.product-card h4 { font-size: 16px; margin-bottom: 8px; }

.product-price {
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.product-rating { color: var(--accent-gold); font-size: 12px; margin-bottom: 12px; }

.sidebar {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.sidebar h4 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-gold);
}

.sidebar-filter { margin-bottom: 30px; }

.sidebar-filter label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  cursor: pointer;
}

.sidebar-filter input[type="checkbox"] { accent-color: var(--accent-gold); }

/* ========== CART ========== */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.cart-table th,
.cart-table td {
  padding: 18px 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.cart-table th {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  background: var(--light-gray);
}

.cart-product {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cart-product img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  overflow: hidden;
}

.qty-control button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--light-gray);
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition);
}

.qty-control button:hover { background: var(--accent-gold); color: var(--white); }

.qty-control span {
  width: 40px;
  text-align: center;
  font-weight: 600;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  transition: var(--transition);
}

.cart-remove:hover { color: #e74c3c; }

.cart-totals {
  background: var(--off-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 450px;
  margin-top: 30px;
}

.cart-totals h3 { font-size: 22px; margin-bottom: 20px; }

.cart-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.cart-totals-row.total {
  font-size: 18px;
  font-weight: 700;
  border-bottom: none;
  padding-top: 15px;
}

.cart-totals-row.total span:last-child { color: var(--accent-gold); }

.cart-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.coupon-form {
  display: flex;
  gap: 10px;
  margin-top: 25px;
}

.coupon-form .form-control { flex: 1; }

/* Checkout Success Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

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

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.modal-content i.success-icon {
  font-size: 60px;
  color: #27ae60;
  margin-bottom: 20px;
}

.modal-content h3 { font-size: 24px; margin-bottom: 15px; }
.modal-content p { color: var(--text-muted); margin-bottom: 25px; }

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-muted);
}

/* ========== BLOG DETAIL ========== */
.blog-detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.blog-detail-content img.featured {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 25px;
}

.blog-detail-meta {
  display: flex;
  gap: 25px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.blog-detail-content h2 { font-size: 28px; margin: 25px 0 15px; }
.blog-detail-content p { margin-bottom: 18px; color: var(--text-muted); line-height: 1.9; }

blockquote {
  border-left: 4px solid var(--accent-gold);
  padding: 20px 30px;
  margin: 30px 0;
  background: var(--off-white);
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--primary-dark);
}

.blog-sidebar-widget {
  background: var(--beige);
  border-radius: var(--radius-lg);
  padding: 25px;
  margin-bottom: 25px;
}

.blog-sidebar-widget h4 {
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-gold);
}

.sidebar-post {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-post img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
}

.sidebar-post h5 { font-size: 14px; font-family: var(--font-sans); font-weight: 600; }
.sidebar-post span { font-size: 12px; color: var(--accent-gold); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

.tag-cloud a {
  padding: 6px 14px;
  background: var(--white);
  border-radius: 20px;
  font-size: 12px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.tag-cloud a:hover { background: var(--accent-gold); color: var(--white); border-color: var(--accent-gold); }

/* ========== LEGAL PAGES ========== */
.legal-content {
  max-width: 900px;
  margin: 40px auto;
}

.legal-content h2 {
  font-size: 24px;
  margin: 35px 0 15px;
  padding-top: 15px;
}

.legal-content h3 {
  font-size: 20px;
  margin: 25px 0 12px;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text-muted);
  line-height: 1.9;
}

.legal-content ul {
  list-style: disc;
  margin: 15px 0 15px 25px;
  color: var(--text-muted);
}

.legal-content ul li { margin-bottom: 8px; line-height: 1.8; }

.legal-content .last-updated {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 30px;
  padding: 10px 15px;
  background: var(--off-white);
  border-radius: var(--radius);
  display: inline-block;
}

/* ========== PAGINATION ========== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}

.pagination a,
.pagination span {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.pagination a:hover,
.pagination span.active {
  background: var(--accent-gold);
  color: var(--white);
  border-color: var(--accent-gold);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 3px, rgba(255,255,255,0.1) 3px, rgba(255,255,255,0.1) 4px);
}

.footer-main {
  padding: 70px 0 40px;
  position: relative;
  z-index: 1;
}

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

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

.footer-about p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 25px;
}

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

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition);
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
}

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

.footer-links a {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a::before {
  content: '›';
  color: var(--accent-gold);
  font-size: 18px;
  font-weight: 700;
}

.footer-links a:hover { color: var(--accent-gold); padding-left: 5px; }

.footer-post {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-post img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: var(--radius);
}

.footer-post .post-date {
  font-size: 12px;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.footer-post h5 {
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
}

.footer-post h5:hover { color: var(--accent-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

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

.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--accent-gold-dark); }

/* ========== WORKING PROCESS ========== */
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.process-steps { margin-top: 20px; }

.process-step {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.process-step:last-child { border-bottom: none; }

.process-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-gold);
  font-size: 22px;
}

.process-step .step-num {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 5px;
}

.process-step h4 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-muted); }

/* ========== VIDEO CTA ========== */
.video-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 450px;
}

.video-cta-image {
  position: relative;
  background-size: cover;
  background-position: center;
}

.video-cta-image .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--white);
  border: 4px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.video-cta-image .play-btn:hover {
  background: var(--accent-gold-dark);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-cta-content {
  background: var(--primary-dark);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.video-cta-content h2 {
  color: var(--white);
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 20px;
}

.video-cta-content p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
  line-height: 1.8;
}

.video-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* ========== MISSION BAR ========== */
.mission-bar {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.mission-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(197, 157, 79, 0.92);
}

.mission-bar .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 80px 20px;
}

.mission-bar h2 {
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.4;
}

.mission-bar p {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========== CASE DETAIL ========== */
.case-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.case-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.case-detail-meta i { color: var(--accent-gold); }

.case-detail-content ul {
  list-style: disc;
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.case-detail-content ul li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.related-case-link {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.related-case-link:last-child { border-bottom: none; }

.related-case-link img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}

.related-case-link h5 {
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.4;
}

.related-case-link span {
  font-size: 12px;
  color: var(--accent-gold);
  display: block;
  margin-top: 4px;
}

.related-case-link:hover h5 { color: var(--accent-gold); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-features-grid { grid-template-columns: repeat(2, 1fr); }
  .attorneys-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .products-layout { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 0;
    transition: var(--transition);
    z-index: 1001;
    overflow-y: auto;
  }

  .main-nav.open { right: 0; }
  .main-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; }
  .mobile-toggle { display: block; z-index: 1002; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
  }
  .nav-overlay.show { display: block; }

  .about-grid,
  .expertise-grid,
  .contact-grid,
  .process-grid,
  .video-cta,
  .cta-banner { grid-template-columns: 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-card:nth-child(even) .service-card-text { order: 1; }
  .service-card:nth-child(even) .service-card-img { order: 2; }

  .hero-features-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .testimonials-slider { grid-template-columns: 1fr; }
  .blog-grid,
  .cases-grid { grid-template-columns: 1fr; }
  .attorneys-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
  .cta-banner-content { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .about-image-small { display: none; }

  .home-hero { min-height: auto; }
  .home-hero .container { padding-bottom: 60px; }
  .hero-features { position: relative; }
}

@media (max-width: 480px) {
  .section-padding { padding: 50px 0; }
  .stats-row { grid-template-columns: 1fr; }
  .cart-table { font-size: 13px; }
  .cart-product img { width: 50px; height: 50px; }
}
