/* ============================================
   PAGES.CSS — Shared styles for inner pages
   ============================================ */

/* NAV ACTIVE STATE */
.nav-active {
  color: var(--accent) !important;
}

/* PAGE HERO */
.page-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
}
.page-breadcrumb {
  color: var(--text-muted);
  font-size: 11px;
  margin-bottom: 1rem;
}
.page-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.page-breadcrumb a:hover { color: var(--orange); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.page-desc {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  line-height: 1.8;
}

/* FILTERS BAR */
.filters-bar {
  background: #f0f2f7;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 64px;
  z-index: 50;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-btn {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); border-color: var(--orange); color: #fff; font-weight: 700; }

/* FULL GRID (products page) */
.full-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
  background: transparent !important;
  border: none !important;
  gap: 1px;
  background: var(--border) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}
.product-detail {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

/* TWO COL LAYOUT */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.text-block p { color: var(--text-muted); line-height: 1.8; font-size: 15px; }
.img-block img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: brightness(0.85);
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; gap: 2rem; } }

/* VALUES GRID */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.value-card {
  background: #ffffff;
  padding: 2rem;
  transition: background 0.2s;
}
.value-card:hover { background: #fff7f0; }
.value-num { font-size: 28px; margin-bottom: 0.75rem; color: var(--orange); }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}
.value-card p { color: var(--text-muted); font-size: 14px; line-height: 1.75; }

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover { border-color: var(--orange-border); transform: translateY(-3px); }
.team-img { aspect-ratio: 4/3; overflow: hidden; }
.team-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85) grayscale(20%); transition: transform 0.4s; }
.team-card:hover .team-img img { transform: scale(1.04); }
.team-info { padding: 1.25rem; }
.team-info h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.team-role { font-size: 11px; margin-bottom: 0.75rem; color: var(--blue) !important; }
.team-info p { color: var(--text-muted); font-size: 13px; line-height: 1.65; }

/* MISSION VISION GRID */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.mv-card {
  background: #ffffff;
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}
.mv-card:hover { background: #fff7f0; }
.mv-icon { font-size: 28px; margin-bottom: 1rem; font-weight: 700; color: var(--orange) !important; }
.mv-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 0.75rem; letter-spacing: 0.03em; }
.mv-card p { color: var(--text-muted); font-size: 14px; line-height: 1.8; }

/* TIMELINE */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.1);
}
.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}
.tl-year {
  width: 60px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  padding-top: 4px;
  text-align: right;
}
.tl-content {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  flex: 1;
  position: relative;
}
.tl-content::before {
  content: '';
  position: absolute;
  left: -26px; top: 14px;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--orange);
}
.tl-content h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.tl-content p { color: var(--text-muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 540px) {
  .timeline::before { left: 0; }
  .timeline-item { flex-direction: column; gap: 0.5rem; }
  .tl-year { text-align: left; }
  .tl-content::before { display: none; }
}

/* SERVICE DETAIL CARDS */
.service-detail-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.service-detail-card.reverse { direction: ltr; }
.service-detail-card:last-child { border-bottom: none; }
.sd-icon {
  width: 64px; height: 64px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.sd-tag { font-family: var(--font-mono); font-size: 11px; color: var(--orange); margin-bottom: 0.5rem; }
.sd-content h2 { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: 0.03em; margin-bottom: 1rem; }
.sd-content p { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 1.5rem; }
.sd-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 2rem;
  margin-bottom: 1.5rem;
}
.sd-list li {
  color: var(--text-muted);
  font-size: 14px;
  padding-left: 16px;
  position: relative;
}
.sd-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 12px;
}
@media (max-width: 768px) {
  .service-detail-card { grid-template-columns: 1fr; gap: 1.5rem; }
  .sd-list { grid-template-columns: 1fr; }
}

/* CAREERS */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.career-card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.2s;
}
.career-card:hover { border-color: var(--orange-border); }
.career-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.career-top h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.career-meta { font-size: 10px; color: var(--text-muted); }
.career-badge {
  background: var(--red-dim);
  border: 1px solid var(--red-border);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.career-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
