/**
 * Valiasr Technical & Engineering Services - Components CSS
 * Matches exact premium Dark-Gold styling from visual blueprint
 */

/* ==========================================================================
   1. Header & Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 13, 20, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(8, 11, 18, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Brand / Logo */
.header-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(245, 158, 11, 0.12);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  box-shadow: 0 0 15px var(--gold-glow);
  transition: transform var(--transition-normal);
}

.brand-icon-wrap img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.header-brand:hover .brand-icon-wrap {
  transform: scale(1.05);
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Nav Menu */
.header-nav {
  display: flex;
  align-items: center;
}

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

.nav-link {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.5rem 0.2rem;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 0 8px var(--gold-primary);
}

/* Header Contact Box */
.header-contact-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-gold);
  background: rgba(245, 158, 11, 0.08);
  transition: all var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-contact-box:hover {
  background: rgba(245, 158, 11, 0.16);
  border-color: var(--gold-light);
  box-shadow: 0 0 15px var(--gold-glow);
  transform: translateY(-2px);
}

.header-phone-main {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  direction: rtl;
}

.header-phone-main svg {
  color: var(--gold-primary);
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.header-contact-box:hover .header-phone-main svg {
  transform: scale(1.1);
  color: var(--gold-light);
}

.header-contact-box:hover .header-phone-main span {
  color: var(--gold-light);
}

.header-contact-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}


/* ==========================================================================
   2. Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}

.btn-gold {
  background: #f59e0b;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #0f141f;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 30px rgba(245, 158, 11, 0.65);
  transform: translateY(-2px);
  color: #0a0d14;
}

.btn-outline-gold {
  background: rgba(15, 20, 31, 0.75);
  color: #ffffff;
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--gold-light);
  color: var(--gold-light);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.1rem;
}


/* ==========================================================================
   3. Hero Section - Seamless Full-Bleed Cinematic Stage
   ========================================================================== */
.hero-cinematic-section {
  position: relative;
  min-height: 600px;
  background-color: #06080d;
  background-image: url('/static/images/hero_full_bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: none;
}

/* Gradient Overlay: Keeps left appliance area vivid and right text area dark & crisp */
.hero-cinematic-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 8, 13, 0.1) 0%, rgba(6, 8, 13, 0.3) 40%, rgba(6, 8, 13, 0.85) 70%, rgba(6, 8, 13, 0.98) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-cinematic-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  display: flex;
  justify-content: flex-start; /* in RTL, this positions content on the right */
}

.hero-cinematic-content {
  max-width: 560px;
  text-align: right;
}

.hero-agency-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-agency-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 8px var(--gold-primary);
}

.hero-main-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.hero-sub-title {
  display: block;
  font-size: 3.3rem;
  font-weight: 900;
  color: var(--gold-primary);
  margin-top: 0.2rem;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 25px rgba(245, 158, 11, 0.25);
}

.hero-cinematic-desc {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #cbd5e1;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cinematic-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}


/* ==========================================================================
   4. Circular Service Cards (5 Icon Row)
   ========================================================================== */
.services-circle-section {
  padding: 3.5rem 0 4.5rem;
  background-color: var(--bg-main);
  position: relative;
  border-bottom: none;
}

.services-circle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.service-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.service-circle-avatar {
  width: 130px;
  height: 130px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, #1a2436 0%, #0d121c 100%);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.service-circle-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.service-circle-card:hover .service-circle-avatar {
  border-color: var(--gold-primary);
  box-shadow: 0 0 35px var(--gold-glow);
  transform: translateY(-6px);
}

.service-circle-card:hover .service-circle-avatar img {
  transform: scale(1.1);
}

.service-circle-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.service-circle-link {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast);
}

.service-circle-card:hover .service-circle-link {
  color: var(--gold-primary);
}

/* Service Catalog List Card */
.service-catalog-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  padding: 2.5rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.service-catalog-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 8px 30px var(--gold-glow);
  transform: translateY(-3px);
}

.service-catalog-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
}

.service-catalog-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.service-catalog-title a:hover {
  color: var(--gold-primary);
}

.service-catalog-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-catalog-img-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-surface);
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   5. Official Agency & Brands Section
   ========================================================================== */
.brands-agency-section {
  padding: 4.5rem 0 5.5rem;
  background: var(--bg-secondary);
  border-bottom: none;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.brand-agency-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 2rem;
  background: #111723;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.brand-agency-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.brand-agency-card:hover {
  border-color: var(--border-gold);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 25px var(--gold-glow);
  transform: translateY(-4px);
}

.brand-agency-card:hover::before {
  opacity: 1;
}

.brand-logo-img {
  max-height: 65px;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0.95);
  transition: filter var(--transition-fast);
}

.brand-agency-card:hover .brand-logo-img {
  filter: brightness(1.1);
}


/* ==========================================================================
   6. Trust & Feature Bar (5 Value Props Strip)
   ========================================================================== */
.trust-feature-bar {
  background: var(--bg-surface);
  border: none;
  padding: 2.2rem 0;
}

.trust-feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.trust-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  padding: 0.5rem 0.75rem;
}

.trust-feature-item:last-child {
  border-left: none;
}

.trust-feature-icon {
  color: var(--gold-primary);
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}


/* ==========================================================================
   7. Product Catalog Cards
   ========================================================================== */
.product-card {
  background: #111723;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  align-self: start;
  width: 100%;
}

.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .catalog-products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px var(--gold-glow);
}

.product-img-wrap {
  position: relative;
  background: #0c1018;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

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

.product-condition-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 2;
}

.badge-new {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.45);
  backdrop-filter: blur(4px);
}

.badge-used {
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  backdrop-filter: blur(4px);
}

.product-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-brand {
  font-size: 0.82rem;
  color: var(--gold-primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  min-height: 2.8rem;
  height: 2.8rem;
  line-height: 1.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Quick Specs Modal & Triggers */
.btn-specs-modal {
  transition: all 0.2s ease;
  font-family: inherit;
}
.btn-specs-modal:hover {
  color: var(--gold-primary) !important;
  transform: translateY(-1px);
}

.specs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 15, 25, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  animation: fadeInOverlay 0.2s ease-out;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.specs-modal-dialog {
  background: #111723;
  color: #f8fafc;
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(245, 158, 11, 0.15);
  border-radius: 18px;
  width: 100%;
  max-width: 640px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.specs-modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #151d2d;
}

.specs-modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.specs-modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.specs-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
  transform: rotate(90deg);
}

.specs-modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  background: #111723;
}

.specs-modal-body::-webkit-scrollbar {
  width: 6px;
}
.specs-modal-body::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 4px;
}

.specs-modal-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.specs-modal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #172030;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  gap: 1rem;
  transition: all 0.15s;
}

.specs-modal-row:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
}

.specs-modal-key {
  color: #e2e8f0;
  font-weight: 700;
  flex-shrink: 0;
}

.specs-modal-val {
  color: #fbbf24;
  font-weight: 800;
  direction: ltr;
  text-align: left;
  font-size: 0.94rem;
}

.specs-modal-footer {
  padding: 1.1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d121c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Light Theme Overrides for Modal */
[data-theme="light"] .specs-modal-overlay,
#productSpecsModal[data-theme="light"] {
  background: rgba(15, 23, 42, 0.6) !important;
}
[data-theme="light"] .specs-modal-dialog,
#productSpecsModal[data-theme="light"] .specs-modal-dialog {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #d97706 !important;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.2), 0 0 30px rgba(217, 119, 6, 0.12) !important;
}
[data-theme="light"] .specs-modal-header,
#productSpecsModal[data-theme="light"] .specs-modal-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
[data-theme="light"] .specs-modal-header h3,
#productSpecsModal[data-theme="light"] .specs-modal-header h3 {
  color: #0f172a !important;
}
[data-theme="light"] #modalProductBrand,
#productSpecsModal[data-theme="light"] #modalProductBrand {
  color: #b45309 !important;
}
[data-theme="light"] .specs-modal-body,
#productSpecsModal[data-theme="light"] .specs-modal-body {
  background: #ffffff !important;
}
[data-theme="light"] .specs-modal-subtitle,
#productSpecsModal[data-theme="light"] .specs-modal-subtitle {
  color: #475569 !important;
}
[data-theme="light"] .specs-modal-row,
#productSpecsModal[data-theme="light"] .specs-modal-row {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}
[data-theme="light"] .specs-modal-row:hover,
#productSpecsModal[data-theme="light"] .specs-modal-row:hover {
  background: #fef3c7 !important;
  border-color: #f59e0b !important;
}
[data-theme="light"] .specs-modal-key,
#productSpecsModal[data-theme="light"] .specs-modal-key {
  color: #0f172a !important; /* Pure black in light mode */
  font-weight: 700 !important;
}
[data-theme="light"] .specs-modal-val,
#productSpecsModal[data-theme="light"] .specs-modal-val {
  color: #b45309 !important; /* Bold Amber in light mode */
  font-weight: 800 !important;
}
[data-theme="light"] .specs-modal-footer,
#productSpecsModal[data-theme="light"] .specs-modal-footer {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}
[data-theme="light"] #modalProductPrice,
#productSpecsModal[data-theme="light"] #modalProductPrice {
  color: #b45309 !important;
}
[data-theme="light"] .specs-modal-close,
#productSpecsModal[data-theme="light"] .specs-modal-close {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

.product-price-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold-light);
}

.product-price-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Article Card Typography */
.article-title-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.article-title-link:hover {
  color: var(--gold-primary);
}


/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-main);
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  margin-top: auto;
}

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

.footer-col-title {
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-right: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}


/* ==========================================================================
   9. Sticky Mobile CTA Bar
   ========================================================================== */
.sticky-mobile-cta {
  display: none !important;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 13, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold);
  padding: 0.75rem 1rem;
  z-index: 999;
  box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.8);
}

.sticky-mobile-inner {
  display: flex;
  gap: 0.75rem;
}

.sticky-mobile-inner .btn {
  flex: 1;
}

/* Service Warranty Banner */
.warranty-banner-section {
  background: linear-gradient(135deg, #111827 0%, #0b0f17 100%);
  border: none;
  padding: 3.5rem 0;
}

.warranty-banner-title {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.warranty-banner-desc {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
  font-size: 1rem;
}


/* Layout Grids Across Catalog, Brands & Services */
.catalog-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
}

.brand-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.brand-hero-emblem {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  min-height: 250px;
}

.brand-catalog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2.5rem;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.product-detail-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.product-detail-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.article-detail-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 3.5rem;
}


/* ==========================================================================
   10. Media Queries / Responsiveness
   ========================================================================== */
@media (max-width: 1024px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid var(--border-gold);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95);
    padding: 1rem 1.25rem 1.5rem;
    z-index: 999;
  }
  .header-nav.active {
    display: block;
    animation: mobileNavFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .header-nav .nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  .header-nav .nav-list li {
    width: 100% !important;
  }
  .header-nav .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0.85rem 1.15rem !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    font-size: 0.98rem !important;
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    text-align: right !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
  }
  .header-nav .nav-link:hover,
  .header-nav .nav-link.active {
    background: rgba(245, 158, 11, 0.12) !important;
    border-color: var(--border-gold) !important;
    color: var(--gold-light) !important;
    transform: translateX(-4px);
  }
  .header-nav .nav-link.active::after {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold-light);
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-nav-toggle:hover,
  .mobile-nav-toggle.active {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--border-gold);
    color: var(--gold-primary);
  }
  .hero-cinematic-section {
    background-position: 18% center !important;
    min-height: 540px;
  }
  .hero-cinematic-section::before {
    background: linear-gradient(180deg, rgba(6, 8, 13, 0.45) 0%, rgba(6, 8, 13, 0.65) 45%, rgba(6, 8, 13, 0.92) 100%) !important;
  }
  .hero-cinematic-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 3.5rem 1.25rem !important;
  }
  .hero-cinematic-content {
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .hero-agency-tag {
    margin: 0 auto 1.2rem !important;
    justify-content: center !important;
  }
  .hero-main-title,
  .hero-sub-title {
    text-align: center !important;
    width: 100% !important;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8);
  }
  .hero-cinematic-desc {
    text-align: center !important;
    margin: 0 auto 2rem !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  }
  .hero-cinematic-actions {
    justify-content: center !important;
    margin: 0 auto !important;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Responsive Multi-column Grids on Tablet & Mobile */
  .catalog-layout-grid,
  .brand-hero-grid,
  .brand-catalog-card,
  .service-catalog-card,
  .service-detail-hero-grid,
  .service-detail-main-grid,
  .product-detail-hero-grid,
  .product-detail-main-grid,
  .article-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .service-catalog-card {
    padding: 1.8rem !important;
  }
  .service-catalog-img-wrap {
    order: -1 !important;
    width: 100% !important;
    height: 220px !important;
    min-height: auto !important;
  }
  .service-catalog-img-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .brand-hero-emblem {
    padding: 2rem 1.5rem !important;
    min-height: auto !important;
    max-width: 100% !important;
  }
  .brand-catalog-card {
    padding: 1.8rem !important;
  }
}

@keyframes mobileNavFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .header-contact-box {
    display: none;
  }
  .hero-cinematic-section {
    background-position: 18% center !important;
    min-height: 500px;
    padding: 2.5rem 0;
  }
  .hero-cinematic-section::before {
    background: linear-gradient(180deg, rgba(6, 8, 13, 0.4) 0%, rgba(6, 8, 13, 0.6) 45%, rgba(6, 8, 13, 0.92) 100%) !important;
  }
  .hero-cinematic-container {
    padding: 2.5rem 1rem !important;
  }
  .hero-cinematic-content {
    padding: 0 !important;
  }
  .hero-main-title {
    font-size: 2.05rem !important;
    line-height: 1.3 !important;
  }
  .hero-sub-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
  }
  .hero-cinematic-desc {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
  }
  .hero-cinematic-actions {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    gap: 0.75rem !important;
  }
  .hero-cinematic-actions .btn {
    width: 100% !important;
  }
  .services-circle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brands-grid {
    grid-template-columns: 1fr;
  }
  .trust-feature-grid {
    grid-template-columns: 1fr;
  }
  .trust-feature-item {
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.75rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Strict Mobile Column Stacking & Card Adjustments */
  .catalog-layout-grid,
  .brand-hero-grid,
  .brand-catalog-card,
  .service-catalog-card,
  .service-detail-hero-grid,
  .service-detail-main-grid,
  .product-detail-hero-grid,
  .product-detail-main-grid,
  .article-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .service-catalog-card {
    padding: 1.25rem !important;
  }
  .service-catalog-img-wrap {
    height: 190px !important;
  }
  .brand-hero-emblem {
    padding: 1.5rem 1rem !important;
  }
  .brand-catalog-card {
    padding: 1.25rem !important;
  }
  .catalog-products-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .sticky-mobile-cta {
    display: none !important;
  }
  body {
    padding-bottom: 0 !important;
  }
}

/* ==========================================================================
   11. Quick Search Modal Overlay
   ========================================================================== */
.search-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 13, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1.5rem 2rem;
  animation: fadeIn 0.2s ease forwards;
}

.search-modal-box {
  background: #111723;
  border: 1.5px solid var(--border-gold);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 620px;
  padding: 1.8rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--gold-glow);
  transform: translateY(0);
  animation: modalSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalSlideDown {
  from { opacity: 0; transform: translateY(-20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.search-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.search-modal-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

.search-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.search-modal-close:hover {
  color: var(--gold-primary);
}

.search-modal-input {
  width: 100%;
  padding: 0.95rem 3.4rem 0.95rem 1.2rem;
  background: #0c1018;
  border: 1.5px solid var(--border-card);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.search-modal-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.search-modal-submit-btn {
  position: absolute;
  right: 6px;
  background: var(--gold-primary);
  border: none;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.search-modal-submit-btn:hover {
  transform: scale(1.06);
}

.search-modal-quick-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.search-modal-quick-links a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.search-modal-quick-links a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* ==========================================================================
   19. Breadcrumbs & Catalog Hero
   ========================================================================== */
.breadcrumb-nav-wrapper {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  transition: background-color var(--transition-normal);
}

.catalog-hero-section {
  background: radial-gradient(circle at 50% 25%, rgba(245, 158, 11, 0.08) 0%, transparent 70%), var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
}

.catalog-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  background: transparent;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.catalog-sidebar-link:hover {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.08);
}

.catalog-sidebar-link.active {
  color: var(--gold-primary);
  background: rgba(245, 158, 11, 0.12);
  font-weight: 700;
}

.page-hero-header {
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 70%), var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal);
}

.cta-banner-section {
  background: linear-gradient(135deg, #111827 0%, #0b0f17 100%);
  border-top: 1px solid var(--border-gold);
  padding: 3.5rem 0;
  transition: background-color var(--transition-normal);
}



