/* ============================================
   PAGES.CSS — Shared styles for sub-pages
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}
.page-hero .hero-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-deep);
  top: -100px;
  right: -50px;
}
.page-hero .hero-orb-2 {
  width: 250px;
  height: 250px;
  background: var(--accent);
  bottom: -50px;
  left: -30px;
}
.page-hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.page-hero-content h1 {
  margin-bottom: 16px;
}
.page-hero-content p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--primary-glow);
  transition: color var(--transition-fast);
}
.breadcrumb a:hover {
  color: var(--primary-bright);
}

/* Service Detail Pages */
.service-detail {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:last-of-type {
  border-bottom: none;
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.service-detail:nth-child(even) .service-detail-grid {
  direction: rtl;
}
.service-detail:nth-child(even) .service-detail-grid > * {
  direction: ltr;
}
.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(123, 45, 142, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-glow);
  margin-bottom: 24px;
}
.service-detail-title {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.service-detail-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.8;
}
.service-detail-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-detail-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.service-detail-feature i {
  color: var(--primary-glow);
  width: 20px;
}
.service-detail-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.service-detail-visual i {
  font-size: 6rem;
  color: var(--primary-light);
  opacity: 0.3;
}

/* Project Detail Page */
.project-detail-hero {
  padding: 160px 0 60px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}
.project-detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.project-detail-badge {
  padding: 6px 16px;
  background: rgba(123, 45, 142, 0.15);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.project-detail-content {
  padding: 80px 0;
}
.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
}
.project-detail-description h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  margin-top: 40px;
}
.project-detail-description h2:first-child {
  margin-top: 0;
}
.project-detail-description p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}
.project-detail-description ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.project-detail-description ul li {
  padding: 8px 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.project-detail-description ul li i {
  color: var(--primary-glow);
  width: 16px;
}
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
}
.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.sidebar-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.sidebar-item:last-child {
  border-bottom: none;
}
.sidebar-item-label {
  color: var(--text-muted);
}
.sidebar-item-value {
  color: var(--text-primary);
  font-weight: 600;
}
.project-detail-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}
.project-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}
.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.project-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--transition-smooth);
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.project-nav-link:hover {
  border-color: var(--primary-light);
  background: rgba(123, 45, 142, 0.08);
  color: var(--text-primary);
}

/* About page specifics */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  transition: all var(--transition-smooth);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: var(--shadow-glow);
}
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
  color: #fff;
}
.team-name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.team-role {
  color: var(--primary-glow);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.team-bio {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  transition: all var(--transition-smooth);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}
.value-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(123, 45, 142, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-glow);
  margin-bottom: 16px;
}
.value-title {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.value-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Legal pages */
.legal-content {
  padding: 60px 0 100px;
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--text-primary);
}
.legal-content h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
  color: var(--text-primary);
}
.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content ul li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}
.legal-content a {
  color: var(--primary-glow);
}
.legal-content a:hover {
  text-decoration: underline;
}

/* Contact page full */
.contact-page-map {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 40px;
}
.contact-page-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.8) invert(0.92) contrast(0.85);
}

/* Responsive */
@media (max-width: 1024px) {
  .project-detail-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-detail:nth-child(even) .service-detail-grid {
    direction: ltr;
  }
  .team-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .page-hero {
    padding: 130px 0 60px;
  }
  .service-detail-visual {
    min-height: 200px;
  }
  .team-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  .project-nav {
    flex-direction: column;
    gap: 12px;
  }
}
