/* ============================================
   بوتیا پنجره — Modern Blue & White Theme
   ============================================ */

:root {
  --primary: #0F172A;
--primary-light: #1E293B;
--primary-dark: #020617;
--accent: #C9A227;
--accent-light: #E6C34A;
--accent-dark: #A67C00;
  --bg: #FFFFFF;
  --bg-alt: #F0F7FF;
  --bg-soft: #EFF6FF;
  --text: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --white: #FFFFFF;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(37, 99, 235, 0.12);
  --glass-shadow: 0 8px 32px rgba(30, 64, 175, 0.08);
  --shadow-sm: 0 2px 8px rgba(30, 64, 175, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 64, 175, 0.1);
  --shadow-lg: 0 16px 48px rgba(30, 64, 175, 0.14);
  --shadow-blue: 0 4px 20px rgba(37, 99, 235, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
  --font: 'Vazirmatn', 'Tahoma', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  direction: rtl;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  position: relative;
  padding-right: 20px;
}

.section-label::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.9;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

.accent-text { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-dark {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition);
}

.header.scrolled,
.header-inner-page {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(30, 64, 175, 0.1);
}

.header.scrolled .nav-link,
.header-inner-page .nav-link {
  color: var(--text);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active,
.header-inner-page .nav-link:hover,
.header-inner-page .nav-link.active {
  color: var(--accent);
}

.header.scrolled .logo-text,
.header-inner-page .logo-text {
  color: var(--primary-dark);
}

.header.scrolled .hamburger span,
.header-inner-page .hamburger span {
  background: var(--primary-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  transition: color var(--transition);
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--accent-light);
  display: block;
}

.header-inner-page .logo-sub { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--accent-light);
  transition: width var(--transition);
  border-radius: 2px;
}

.header.scrolled .nav-link::after,
.header-inner-page .nav-link::after {
  background: var(--accent);
}

.nav-link:hover,
.nav-link.active { color: var(--accent-light); }

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active,
.header-inner-page .nav-link:hover,
.header-inner-page .nav-link.active {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link.active::after { width: 60%; }

.nav-cta { margin-right: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(30, 64, 175, 0.92) 0%, rgba(37, 99, 235, 0.78) 50%, rgba(30, 58, 138, 0.9) 100%),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920&q=80') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(96, 165, 250, 0.15) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: var(--header-height);
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--accent-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.15s ease forwards;
  opacity: 0;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 2;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 0.8s 0.3s ease forwards;
  opacity: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s 0.45s ease forwards;
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s 0.6s ease forwards;
  opacity: 0;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 6px;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- Page Hero ---- */
.page-hero {
  position: relative;
  padding: 88px 0 40px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(96, 165, 250, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 10px;
}

.page-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover { color: var(--accent-light); }
.breadcrumb span { color: var(--accent-light); }
.breadcrumb-sep { color: rgba(255, 255, 255, 0.35); }

/* ---- Sections ---- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-header { margin-bottom: 60px; }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.25);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card { padding: 36px 28px; text-align: center; }

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  transform: scale(1.05);
  box-shadow: var(--shadow-blue);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(37, 99, 235, 0.06);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: rgba(30, 64, 175, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
}

.product-body { padding: 28px; }

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition-fast);
}

.product-link:hover { gap: 12px; }

.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.about-img-accent-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.about-img-accent-text {
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 4px;
}

.about-content .section-desc { margin-bottom: 28px; }

.about-list { margin-bottom: 32px; }

.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text);
}

.about-list li::before {
  content: '✦';
  color: var(--accent);
  font-size: 0.7rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
}

.process-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: var(--shadow-blue);
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card { padding: 32px; }

.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-light);
}

.cta-banner {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(96, 165, 250, 0.2) 0%, transparent 60%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 64, 175, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.gallery-overlay-cat {
  color: var(--accent-light);
  font-size: 0.8rem;
  margin-top: 4px;
}

.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; }

.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text-muted);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(30, 58, 138, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform var(--transition);
}

.lightbox.active img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--white);
}

/* ---- About Page ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.value-card { padding: 36px 28px; text-align: center; }

.value-icon { font-size: 2rem; margin-bottom: 16px; }

.value-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.value-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-right: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  right: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(37, 99, 235, 0.2));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}

.timeline-dot {
  position: absolute;
  right: 8px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--bg);
  box-shadow: var(--shadow-blue);
}

.timeline-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card { text-align: center; padding: 32px 20px; }

.team-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  border: 3px solid rgba(37, 99, 235, 0.2);
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card { padding: 36px; }

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.04));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-label {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.contact-form-wrap { padding: 40px; }

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm);
  color: #15803d;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-align: center;
}

.form-success.show { display: block; }

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  background: var(--bg-alt);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- Footer ---- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer-brand .logo-text { color: var(--white); }

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.9;
  margin: 20px 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-social { display: flex; gap: 12px; }

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-light);
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-right: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.footer-contact-icon { color: var(--accent-light); flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---- Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.back-to-top {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .features-grid,
  .products-grid,
  .testimonials-grid,
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-height: 70px; }
  .page-hero { padding: 96px 0 40px; }
  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: -10px 0 40px rgba(30, 64, 175, 0.15);
  }

  .nav.open { right: 0; }

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    color: var(--text);
    font-size: 1rem;
  }

  .nav-cta { margin-right: 0; margin-top: 16px; width: 100%; }
  .nav-cta .btn { width: 100%; }
  .hero-stats { flex-direction: column; gap: 24px; }

  .features-grid,
  .products-grid,
  .testimonials-grid,
  .gallery-grid,
  .values-grid,
  .process-grid,
  .team-grid { grid-template-columns: 1fr; }

  .gallery-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stat-num { font-size: 1.6rem; }
}

[hidden] { display: none !important; }

.gallery-status {
  text-align: center;
  color: var(--text-muted);
  margin-top: 28px;
}

.gallery-status[hidden] { display: none; }

.admin-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 32px;
}

.admin-layout { display: grid; gap: 28px; }

.admin-drop {
  border: 2px dashed rgba(37, 99, 235, 0.28);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.admin-drop.dragover {
  border-color: var(--accent);
  background: #fffaf0;
}

.admin-drop strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.admin-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-message {
  margin-top: 16px;
  font-weight: 600;
}

.admin-message.error { color: #b42318; }
.admin-message.ok { color: #067647; }

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.admin-empty { grid-column: 1 / -1; margin: 0; }

.admin-photo {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-alt);
}

.admin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-delete {
  position: absolute;
  top: 8px;
  left: 8px;
  border: none;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  color: white;
  background: rgba(180, 35, 24, 0.92);
  cursor: pointer;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-logout {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

@media (max-width: 800px) {
  .admin-grid { grid-template-columns: repeat(2, 1fr); }
}
