/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple-50:  #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  --white: #ffffff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
  --shadow-purple: 0 8px 32px rgba(147,51,234,.25);
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: 'Vazirmatn', 'Inter', sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.7;
  direction: rtl;
}

/* Language switching */
body.lang-en { direction: ltr; font-family: 'Inter', 'Vazirmatn', sans-serif; }
body.lang-en .fa { display: none !important; }
body.lang-fa .en { display: none !important; }
body .en { display: none; }
body .fa { display: block; }
span.fa, span.en { display: inline; }
body .en { display: none; }
body.lang-en .fa { display: none !important; }
body.lang-en .en { display: inline !important; }
body.lang-en span.en { display: inline !important; }
body.lang-en div.en, body.lang-en p.en, body.lang-en h1.en,
body.lang-en h2.en, body.lang-en h3.en, body.lang-en h4.en,
body.lang-en li.en, body.lang-en a.en { display: block !important; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(109, 40, 217, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(88, 28, 135, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
}
.nav-container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.logo-icon { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 1.1rem; font-weight: 700; color: white; letter-spacing: .5px; }
.logo-sub { font-size: .7rem; color: rgba(255,255,255,.65); letter-spacing: .5px; }

.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  color: rgba(255,255,255,.85); text-decoration: none;
  padding: .5rem .9rem; border-radius: var(--radius-sm);
  font-size: .92rem; font-weight: 500;
  transition: var(--transition);
}
.nav-link:hover { background: rgba(255,255,255,.12); color: white; }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.lang-toggle {
  background: rgba(255,255,255,.15); color: white; border: 1px solid rgba(255,255,255,.3);
  padding: .35rem .8rem; border-radius: var(--radius-sm); font-size: .85rem;
  font-weight: 600; cursor: pointer; transition: var(--transition);
}
.lang-toggle:hover { background: rgba(255,255,255,.25); }

.btn-call {
  display: flex; align-items: center; gap: .5rem;
  background: white; color: var(--purple-700);
  text-decoration: none; padding: .5rem 1.1rem; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600; transition: var(--transition);
}
.btn-call:hover { background: var(--purple-50); transform: translateY(-1px); }

/* Logo image — black bg disappears on dark purple navbar via screen blend */
.nav-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-admin-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: var(--transition);
}
.nav-admin-btn:hover { color: white; background: rgba(255,255,255,.12); }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: none; cursor: pointer; padding: .4rem;
}
.hamburger span {
  width: 24px; height: 2px; background: white;
  border-radius: 2px; transition: var(--transition);
  display: block;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-700) 50%, var(--purple-600) 100%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .35;
}
.orb1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--purple-400), transparent);
  top: -150px; right: -100px;
}
.orb2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(192,132,252,.6), transparent);
  bottom: -100px; left: -50px;
}

.hero-content {
  position: relative; z-index: 1;
  padding: 5rem 1.5rem 4rem;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
  padding: .45rem 1rem; border-radius: 100px;
  font-size: .82rem; font-weight: 500; margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800; color: white;
  line-height: 1.2; margin-bottom: 1.25rem;
}
.hero-title em { font-style: normal; color: var(--purple-200); }
.hero-desc {
  font-size: 1.1rem; color: rgba(255,255,255,.78);
  max-width: 600px; margin-bottom: 2rem; line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: white; color: var(--purple-700);
  padding: .85rem 1.8rem; border-radius: var(--radius-md);
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: none; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent; color: white;
  padding: .85rem 1.8rem; border-radius: var(--radius-md);
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 2px solid rgba(255,255,255,.4);
  transition: var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }

.hero-stats { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 2rem; font-weight: 800; color: white; line-height: 1; }
.stat-label { display: block; font-size: .8rem; color: rgba(255,255,255,.65); margin-top: .25rem; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.25); }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
}
.scroll-indicator {
  width: 28px; height: 44px; border: 2px solid rgba(255,255,255,.4);
  border-radius: 14px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot {
  width: 6px; height: 6px; background: white; border-radius: 50%;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: .3; }
}

/* ===== SECTION SHARED ===== */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--purple-100); color: var(--purple-700);
  padding: .35rem .9rem; border-radius: 100px;
  font-size: .82rem; font-weight: 600; margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800; color: var(--gray-900); margin-bottom: .75rem;
}
.section-desc { font-size: 1.05rem; color: var(--gray-500); max-width: 560px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services { background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: white; border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--purple-50);
  border-radius: 0 var(--radius-lg) 0 100%;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--purple-200); }
.service-card:hover::before { background: var(--purple-100); width: 100px; height: 100px; }

.service-card.featured {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  border-color: transparent; color: white;
  grid-column: span 1;
}
.service-card.featured .service-name { color: white; }
.service-card.featured .service-desc { color: rgba(255,255,255,.8); }
.service-card.featured .service-list li { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.2); }
.service-card.featured::before { background: rgba(255,255,255,.08); }

/* Buy & Sell card — teal/emerald to stand out from repair cards */
.service-card.featured-buy {
  background: linear-gradient(135deg, #0d7a5f, #065f46);
  border-color: transparent; color: white;
  grid-column: span 1;
}
.service-card.featured-buy .service-name { color: white; }
.service-card.featured-buy .service-desc { color: rgba(255,255,255,.8); }
.service-card.featured-buy .service-list li { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.2); }
.service-card.featured-buy::before { background: rgba(255,255,255,.08); }
.service-card.featured-buy .service-icon { background: rgba(255,255,255,.15); color: white; }
.service-card.featured-buy:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.featured-buy:hover .service-icon { background: rgba(255,255,255,.25); }

.service-card.featured-iran {
  background: linear-gradient(135deg, #065f46, #064e3b);
  border-color: transparent; color: white;
}
.service-card.featured-iran .service-name { color: white; }
.service-card.featured-iran .service-desc { color: rgba(255,255,255,.8); }
.service-card.featured-iran .service-list li { color: rgba(255,255,255,.75); border-color: rgba(255,255,255,.2); }
.service-card.featured-iran::before { background: rgba(255,255,255,.08); }
.service-card.featured-iran .service-icon { background: rgba(255,255,255,.15); color: white; }
.service-card.featured-iran:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.featured-iran:hover .service-icon { background: rgba(255,255,255,.25); }

.service-icon {
  width: 64px; height: 64px;
  background: var(--purple-100); color: var(--purple-600);
  border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: var(--transition);
}
.service-card.featured .service-icon { background: rgba(255,255,255,.15); color: white; }
.service-card:hover .service-icon { background: var(--purple-600); color: white; transform: scale(1.05); }
.service-card.featured:hover .service-icon { background: rgba(255,255,255,.25); }

.service-name { font-size: 1.15rem; font-weight: 700; color: var(--gray-900); margin-bottom: .6rem; }
.service-desc { font-size: .9rem; color: var(--gray-500); margin-bottom: 1rem; line-height: 1.6; }
.service-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.service-list li {
  font-size: .85rem; color: var(--gray-500);
  padding: .3rem 0; border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: .5rem;
}
.service-list li::before {
  content: ''; width: 6px; height: 6px; background: var(--purple-400);
  border-radius: 50%; flex-shrink: 0;
}
.service-card.featured .service-list li::before { background: rgba(255,255,255,.6); }

/* ===== BRANDS ===== */
.brands { background: white; }
.brands-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
}
.brand-card {
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
  padding: 1.5rem 1rem; border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition); cursor: default;
}
.brand-card:hover { border-color: var(--purple-300); box-shadow: var(--shadow-purple); transform: translateY(-3px); }
.brand-name { font-size: .78rem; font-weight: 600; color: var(--gray-600); text-align: center; }

/* ===== ABOUT ===== */
.about { background: var(--gray-50); }
.about-container {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center;
}
.about-visual { position: relative; }
.about-img-wrapper { position: relative; padding: 2rem; }
.about-img-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--purple-200), var(--purple-100));
  border-radius: var(--radius-xl); transform: rotate(-3deg);
}
.about-img-card {
  position: relative; z-index: 1;
  background: linear-gradient(135deg, var(--purple-700), var(--purple-900));
  border-radius: var(--radius-lg); padding: 3rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  box-shadow: var(--shadow-purple);
}
.about-icon-large { opacity: .8; }
.about-badge-float {
  position: absolute; bottom: 1rem; right: -1.5rem; z-index: 2;
  background: white; border-radius: var(--radius-md);
  padding: .75rem 1.25rem; display: flex; align-items: center; gap: .5rem;
  box-shadow: var(--shadow-lg); color: var(--purple-700); font-weight: 600; font-size: .9rem;
}

.about-content { display: flex; flex-direction: column; gap: .5rem; }
.about-text { font-size: 1rem; color: var(--gray-600); line-height: 1.8; margin-bottom: .5rem; }
.about-features { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.about-feature {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem; background: white; border-radius: var(--radius-md);
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.about-feature:hover { border-color: var(--purple-200); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--purple-100); color: var(--purple-600);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
}
.about-feature h4 { font-size: .95rem; font-weight: 700; color: var(--gray-800); margin-bottom: .2rem; }
.about-feature p { font-size: .85rem; color: var(--gray-500); }

/* ===== GALLERY ===== */
.gallery { background: white; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 240px 240px;
  gap: 1rem;
}
.gallery-item {
  border-radius: var(--radius-md); overflow: hidden;
  position: relative; cursor: pointer;
}
.gallery-item.large { grid-column: span 1; grid-row: span 2; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.g1 { background: linear-gradient(135deg, #3b0764, #7e22ce); }
.g2 { background: linear-gradient(135deg, #1e1b4b, #4338ca); }
.g3 { background: linear-gradient(135deg, #0c4a6e, #0284c7); }
.g4 { background: linear-gradient(135deg, #14532d, #15803d); }
.g5 { background: linear-gradient(135deg, #7c2d12, #c2410c); }
.g6 { background: linear-gradient(135deg, #4a044e, #a21caf); }

.gallery-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: white; padding: 1rem 1.25rem;
  font-size: .9rem; font-weight: 600;
  transform: translateY(100%); transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { transform: translateY(0); }
.gallery-item:hover .gallery-placeholder { transform: scale(1.03); }

.gallery-cta { text-align: center; margin-top: 2.5rem; }
.gallery-cta .btn-outline {
  color: var(--purple-700); border-color: var(--purple-300);
  background: transparent;
}
.gallery-cta .btn-outline:hover { background: var(--purple-50); }

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  position: relative; overflow: hidden;
}
.contact::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.contact-container {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.section-tag.light { background: rgba(255,255,255,.15); color: white; }
.section-title.light { color: white; }
.contact-desc { color: rgba(255,255,255,.75); font-size: 1rem; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 1rem;
  color: white; text-decoration: none;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-md); transition: var(--transition);
}
.contact-item:hover { background: rgba(255,255,255,.15); }
.contact-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(255,255,255,.15); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.contact-label { display: block; font-size: .78rem; color: rgba(255,255,255,.6); margin-bottom: .15rem; }
.contact-value { font-weight: 600; font-size: .95rem; }
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none; transition: var(--transition);
}
.social-link:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

.contact-form-wrapper {
  background: white; border-radius: var(--radius-xl);
  padding: 2.5rem; box-shadow: var(--shadow-lg);
}
.form-title {
  font-size: 1.3rem; font-weight: 700; color: var(--gray-900);
  margin-bottom: 1.5rem; padding-bottom: 1rem;
  border-bottom: 2px solid var(--purple-100);
}
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .88rem; font-weight: 600; color: var(--gray-700); margin-bottom: .4rem; }
.form-input {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .95rem; font-family: inherit; color: var(--gray-900);
  background: var(--gray-50); transition: var(--transition); outline: none;
}
.form-input:focus { border-color: var(--purple-500); background: white; box-shadow: 0 0 0 3px rgba(168,85,247,.12); }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.btn-full { width: 100%; justify-content: center; }

.form-success {
  display: none; align-items: center; gap: .75rem; justify-content: center;
  padding: 1rem; background: #f0fdf4; border-radius: var(--radius-sm);
  margin-top: 1rem; color: #166534; font-weight: 600;
}
.form-success.visible { display: flex; }

/* ===== FOOTER ===== */
.footer { background: var(--gray-900); padding: 4rem 0 0; }
.footer-container {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.5); max-width: 280px; }
.footer-title { font-size: .95rem; font-weight: 700; color: white; margin-bottom: 1rem; }
.footer-link {
  display: block; font-size: .88rem; color: rgba(255,255,255,.55);
  text-decoration: none; margin-bottom: .5rem; transition: var(--transition);
}
.footer-link:hover { color: var(--purple-400); }
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem; color: rgba(255,255,255,.35);
}
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy-fa, .footer-copy-en { flex: 1; }
.footer-bottom-ig {
  display: flex; align-items: center; gap: .4rem;
  color: rgba(255,255,255,.5); text-decoration: none; font-size: .82rem;
  transition: color .2s;
}
.footer-bottom-ig:hover { color: white; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 999;
  width: 58px; height: 58px; background: #25d366;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  padding-top: 72px;
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-700) 60%, var(--purple-600) 100%);
  position: relative; overflow: hidden;
}
.page-header-content {
  position: relative; z-index: 1;
  padding: 3.5rem 1.5rem 3.5rem;
}
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: 1rem;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; transition: var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb svg { opacity: .5; }
.page-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: white; margin-bottom: .75rem; line-height: 1.2;
}
.page-subtitle {
  font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 580px;
}

/* ===== INNER SECTION ===== */
.inner-section { padding: 4rem 0 5rem; background: var(--gray-50); }

/* ===== PAGE CTA ===== */
.page-cta {
  text-align: center; margin-top: 4rem;
  padding: 3rem 2rem;
  background: white; border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.page-cta h3 { font-size: 1.4rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.25rem; }

/* ===== QUICK NAV (home page cards) ===== */
.quick-nav-section { background: white; padding: 3.5rem 0; }
.quick-nav-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.quick-card {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  padding: 1.75rem 1rem; border-radius: var(--radius-lg);
  background: var(--gray-50); border: 1.5px solid var(--gray-200);
  text-decoration: none; color: var(--gray-700); font-weight: 600; font-size: .92rem;
  text-align: center; transition: var(--transition); position: relative;
}
.quick-card:hover {
  border-color: var(--purple-400); background: var(--purple-50);
  color: var(--purple-700); transform: translateY(-3px); box-shadow: var(--shadow-purple);
}
.quick-card.featured-card { background: var(--purple-700); border-color: var(--purple-700); color: white; }
.quick-card.featured-card:hover { background: var(--purple-800); border-color: var(--purple-800); color: white; }
.quick-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--purple-100); color: var(--purple-600);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.quick-card:hover .quick-icon { background: var(--purple-200); }
.quick-card.featured-card .quick-icon { background: rgba(255,255,255,.2); color: white; }
.quick-arrow { margin-top: .25rem; opacity: .5; }

/* ===== BRAND DETAIL (brands page) ===== */
.brand-detail-grid { display: flex; flex-direction: column; gap: 1.5rem; }
.brand-detail-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 2rem; align-items: center;
  background: white; border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--gray-200);
  transition: var(--transition);
}
.brand-detail-card:hover { border-color: var(--purple-300); box-shadow: var(--shadow-md); }
.brand-detail-logo {
  width: 120px; height: 120px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-detail-name { font-size: 1.3rem; font-weight: 800; color: var(--gray-900); margin-bottom: .6rem; }
.brand-detail-desc { font-size: .95rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 1rem; }
.brand-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.brand-tag {
  background: var(--purple-100); color: var(--purple-700);
  padding: .3rem .75rem; border-radius: 100px; font-size: .8rem; font-weight: 600;
}
.brand-device-images { display: flex; flex-direction: column; gap: .6rem; flex-shrink: 0; width: 180px; }
.brand-device-img { width: 100%; height: 110px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
.brand-device-images-row { display: flex; gap: .5rem; }
.brand-device-img-sm { width: 85px; height: 85px; object-fit: cover; border-radius: var(--radius-md); border: 1px solid var(--gray-200); flex-shrink: 0; }

/* ===== STATS ROW (about page) ===== */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-bottom: 4rem;
}
.stat-block {
  background: white; border-radius: var(--radius-lg); padding: 2rem;
  text-align: center; border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.stat-block:hover { border-color: var(--purple-300); box-shadow: var(--shadow-purple); transform: translateY(-2px); }
.stat-block-num { display: block; font-size: 2.5rem; font-weight: 800; color: var(--purple-700); margin-bottom: .4rem; }
.stat-block-label { font-size: .9rem; color: var(--gray-500); font-weight: 500; }

/* ===== WHY US (about page) ===== */
.why-section { margin-top: 1rem; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.why-card {
  background: white; border-radius: var(--radius-lg); padding: 2rem;
  border: 1px solid var(--gray-200); position: relative; overflow: hidden;
  transition: var(--transition);
}
.why-card:hover { border-color: var(--purple-300); box-shadow: var(--shadow-md); }
.why-num {
  font-size: 3.5rem; font-weight: 900; color: var(--purple-100);
  line-height: 1; margin-bottom: .75rem;
}
.why-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.why-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.7; }

/* ===== GALLERY FILTERS ===== */
.gallery-filters { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn {
  padding: .55rem 1.25rem; border-radius: 100px;
  border: 1.5px solid var(--gray-200); background: white;
  font-size: .88rem; font-weight: 600; color: var(--gray-600);
  cursor: pointer; transition: var(--transition); font-family: inherit;
}
.filter-btn:hover { border-color: var(--purple-400); color: var(--purple-600); }
.filter-btn.active { background: var(--purple-700); border-color: var(--purple-700); color: white; }

/* ===== FULL GALLERY GRID ===== */
.full-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.full-gallery-item {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--gray-200); transition: var(--transition);
}
.full-gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--purple-200); }
.full-gallery-item.hidden { display: none; }
.gallery-img { width: 100%; height: 220px; object-fit: cover; display: block; }
.full-gallery-info { padding: 1rem 1.25rem; }
.full-gallery-title { display: block; font-size: .92rem; font-weight: 700; color: var(--gray-800); margin-bottom: .3rem; }
.full-gallery-cat { font-size: .78rem; color: var(--purple-600); font-weight: 600; }

/* ===== CONTACT PAGE ===== */
.contact-cards-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 3rem; }
.contact-card-big {
  background: white; border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  border: 1px solid var(--gray-200); text-decoration: none; color: var(--gray-900);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem;
  transition: var(--transition);
}
.contact-card-big:hover { border-color: var(--purple-300); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card-icon {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; margin-bottom: .5rem;
}
.contact-card-icon.purple { background: var(--purple-700); }
.contact-card-icon.green  { background: #25d366; }
.contact-card-icon.pink   { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.contact-card-icon.orange { background: #f97316; }
.contact-card-big h3 { font-size: 1rem; font-weight: 700; }
.contact-card-value { font-size: .95rem; font-weight: 600; color: var(--purple-700); }

.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.map-placeholder {
  background: var(--purple-50); border: 2px dashed var(--purple-200);
  border-radius: var(--radius-lg); padding: 3rem 2rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 280px; justify-content: center; margin-bottom: 1.5rem;
}
.contact-info-box {
  background: white; border-radius: var(--radius-lg); padding: 1.5rem;
  border: 1px solid var(--gray-200);
}
.contact-info-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--gray-800); }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0; border-bottom: 1px solid var(--gray-100);
  font-size: .88rem; color: var(--gray-600); gap: .5rem;
}
.hours-row:last-child { border-bottom: none; }
.hours-row strong { color: var(--purple-700); font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .about-container { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 400px; margin: 0 auto; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .quick-nav-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-row { grid-template-columns: repeat(2, 1fr); }
  .contact-page-grid { grid-template-columns: 1fr; }
  .brand-detail-card { grid-template-columns: 100px 1fr; gap: 1.25rem; }
  .brand-detail-logo { width: 100px; height: 100px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: .25rem;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--purple-900); padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .nav-link { padding: .75rem 1rem; }
  .btn-call span { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; height: 200px; }
  .gallery-placeholder { height: 160px; }
  .contact-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-container { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-stats { gap: 1.25rem; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .about-badge-float { right: 0; }
  .quick-nav-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .full-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards-row { grid-template-columns: repeat(2, 1fr); }
  .brand-detail-card { grid-template-columns: 1fr; text-align: center; }
  .brand-detail-logo { width: 100px; height: 100px; margin: 0 auto; }
  .brand-tags { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-content { padding: 3rem 1rem 3rem; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .contact-form-wrapper { padding: 1.5rem; }
  .stat-num { font-size: 1.6rem; }
  .quick-nav-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .full-gallery-grid { grid-template-columns: 1fr; }
  .contact-cards-row { grid-template-columns: 1fr 1fr; }
}

/* ===== LIGHTBOX ===== */
.full-gallery-item { cursor: pointer; position: relative; }
.lightbox-zoom-hint {
  position: absolute; top: .6rem; left: .6rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s;
}
.full-gallery-item:hover .lightbox-zoom-hint { opacity: 1; }

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
  padding: 1.5rem;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.15); color: white; border: none;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-content { max-width: 860px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lightbox-img { max-height: 75vh; max-width: 100%; border-radius: 12px; object-fit: contain; box-shadow: 0 8px 48px rgba(0,0,0,.5); }
.lightbox-info { text-align: center; color: white; }
.lb-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.lb-cat { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .35rem; }
.lb-price { font-size: 1rem; font-weight: 700; color: #c084fc; }

/* dynamic product extras */
.full-gallery-price { display: block; font-size: .85rem; font-weight: 700; color: #7e22ce; margin-bottom: .25rem; }
.full-gallery-desc { display: block; font-size: .78rem; color: var(--gray-400); margin-top: .25rem; }
.gallery-img-placeholder { height: 220px; background: linear-gradient(135deg,var(--purple-800),var(--purple-900)); display: flex; align-items: center; justify-content: center; }

/* ===== ADMIN LOGIN LINK (footer bar) ===== */
.footer-admin-link {
  display: flex; align-items: center; gap: .35rem;
  color: rgba(255,255,255,.25); text-decoration: none;
  font-size: .75rem; transition: color .2s;
}
.footer-admin-link:hover { color: rgba(255,255,255,.65); }
.footer-admin-link svg { flex-shrink: 0; }
