﻿/* ═══════════════════════════════════════════════════════════
   template.about.css — About page styles
   Inherits: template.css (reset, variables, buttons, nav, footer)
   ═══════════════════════════════════════════════════════════ */

/* ── About-page heading refinement ── */
.about-page {
  overflow-x: hidden;
}

.num-en {
  font-feature-settings: 'tnum' 1;
  letter-spacing: -0.04em;
  font-weight: 400;
}

/* ── Eyebrow (about-page specific) ── */
.ap-eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
}
.ap-eyebrow--green { color: var(--lime); }

/* ── Brand Bar ── */
.brand-bar-wrap { padding: 0 80px; }


/* ── Dot Pattern (light — used on map section) ── */
.dot-pattern-light {
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1.5px);
  background-size: 28px 28px;
}

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 760px;
  padding: 140px 80px 100px;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  top: 50%;
  left: -120px;
  width: 60%;
  max-width: 900px;
  transform: translateY(-46%) scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

.hero-art .brand-shape { width: 100%; height: auto; display: block; }

.hero-copy {
  position: relative;
  z-index: 2;
  width: 48%;
}

.hero-title {
  font-size: 124px;
  line-height: 0.96;
  margin-top: 32px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.about-page .hero-desc {
  font-size: 22px;
  line-height: 1.5;
  margin-top: 36px;
  max-width: 560px;
  color: var(--dark);
}

/* ── Brand Shape Animations ── */
.bs-block {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  opacity: 0;
  animation: bs-pop 0.62s cubic-bezier(.34,1.56,.58,1) forwards;
}
.bs-b2 { animation-delay: 0.05s; }
.bs-b1 { animation-delay: 0.18s; }
.bs-b4 { animation-delay: 0.30s; }
.bs-b3 { animation-delay: 0.42s; }
.bs-b5 { animation-delay: 0.55s; }
.bs-b6 { animation-delay: 0.62s; }
.bs-shadow {
  mix-blend-mode: multiply;
  opacity: 0;
  animation: bs-fade 1.0s ease 1.9s forwards;
}
@keyframes bs-pop { to { transform: scale(1); opacity: 1; } }
@keyframes bs-fade { to { opacity: 0.22; } }
@media (prefers-reduced-motion: reduce) {
  .bs-block, .bs-shadow { animation: none; opacity: 1; transform: scale(1); }
  .bs-shadow { opacity: 0.22; }
}

/* ── Section Header (shared about-page layout) ── */
.section-header {
  /*display: flex;
  justify-content: space-between;
  align-items: flex-end;*/
  margin-bottom: 64px;
}
.section-header-desc {
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  line-height: 1.5;
}

/* ── Stats Section ── */
.stats-section {
  padding: 120px 80px;
  position: relative;
}
.stats-header {
  /*display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;*/
  margin-bottom: 80px;
}
.stats-title {
  font-size: 72px;
  margin-top: 20px;
  line-height: 0.96;
}
.stats-desc {
  font-size: 21px;
  line-height: 1.5;
  color: var(--dark);
  padding-top: 20px;
}
.stats-wrap { position: relative; }
.stats-line-svg {
  position: absolute;
  top: 80px;
  left: 0;
  z-index: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
@media (min-width: 1200px) {
  .stats-grid { gap: 140px; }
}
.stat-card {
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  min-height: 280px;
}
.stat-card--dark { background: var(--navy); color: var(--white); }
.stat-card--light { background: var(--white); border: 1px solid var(--line); }
.stat-card--orange { background: var(--orange); color: var(--white); }
.stat-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.stat-dot--dark { background: var(--navy); box-shadow: 0 0 0 5px rgba(7,76,103,0.2); }
.stat-dot--blue { background: var(--blue); box-shadow: 0 0 0 5px rgba(38,136,191,0.2); }
.stat-dot--green { background: var(--lime); box-shadow: 0 0 0 5px rgba(166,198,50,0.2); }
.stat-dot--orange { background: var(--orange); box-shadow: 0 0 0 5px rgba(255,139,34,0.2); }
.stat-number {
  font-size: 110px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.05em;
}
.stat-label {
  font-size: 18px;
  font-weight: 500;
  margin-top: 24px;
}
.stat-sublabel {
  font-size: 14px;
  opacity: 0.65;
  margin-top: 4px;
}

/* ── Products Section ── */
.products-section {
  padding: 80px 80px 120px;
  background: var(--cream);
}
.products-grid {
  margin-top: 24px;
  text-align: center;
  max-width: 70%;
  margin: 0 auto;
}
.products-title {
  font-size: 64px;
  line-height: 1.04;
  margin-top: 80px;
}


/* ── Values Section ── */
.values-section {
  padding: 120px 80px;
  background: var(--navy-deep);
  color: var(--white);
}
.values-title {
  font-size: 80px;
  line-height: 0.96;
  color: var(--white);
  margin-top: 20px;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 28px;
  padding-right: 8px;
}
.value-num {
  font-size: 40px;
  color: var(--orange);
}
.value-title {
  font-size: 28px;
  color: var(--white);
  margin-top: 24px;
  margin-bottom: 14px;
  font-weight: 500;
}
.value-desc {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.6;
}

/* ── Team Section ── */
.team-section { padding: 120px 80px; }
.team-header { margin-bottom: 48px; }
.team-title {
  font-size: 80px;
  line-height: 0.96;
  margin-top: 20px;
}
.team-desc {
 /* max-width: 420px;*/
  font-size: 18px;
  color: var(--dark);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 24px;
}
.avatar-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background-position: center;
  background-size: cover;
}
.avatar-dot-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1.5px);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
}
.avatar-initials {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 140px;
  color: rgba(255,255,255,0.18);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.avatar-dept {
  position: absolute;
  bottom: 14px;
  right: 16px;
  color: var(--white);
  font-size: 12px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.team-member-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 14px;
}
.team-member-name {
  font-size: 18px;
  font-weight: 500;
}
.team-member-job {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}

/* ── Map Section ── */
.map-section {
  position: relative;
  padding: 140px 80px 120px;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.map-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.map-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.map-title {
  font-size: 96px;
  line-height: 0.94;
  margin-top: 28px;
  color: var(--white);
  font-weight: 400;
  letter-spacing: -0.035em;
}
.map-title-accent {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.map-dot-circle {
  display: inline-block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: middle;
}
.map-desc {
  font-size: 21px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  margin-top: 36px;
  max-width: 520px;
}
.map-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.map-stat-number {
  font-size: 64px;
  color: var(--white);
  line-height: 0.9;
}
.map-stat-number--green { color: var(--lime); }
.map-stat-suffix { font-size: 40px; }
.map-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.map-svg-wrap { position: relative; }
.map-svg {
  width: 100%;
  height: 680px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}
.map-badge {
  background: var(--orange);
  border-radius: 14px;
  padding: 14px 18px;
  color: var(--white);
}
.map-badge-number {
  font-size: 46px;
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.map-badge-label {
  font-size: 13px;
  margin-top: 4px;
  opacity: 0.92;
}

.clients-title {
  font-size: 64px;
  line-height: 0.96;
  margin-top: 20px;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET (max-width: 1024px)
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-section { padding: 100px 40px 80px; min-height: 600px; }
  .hero-copy { width: 60%; }
  .hero-title { font-size: 80px; }
  .about-page .hero-desc { font-size: 19px; }
  .hero-art { width: 50%; left: -80px; }

  .brand-bar-wrap { padding: 0 40px; }

  .stats-section { padding: 80px 40px; }
  .stats-header { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .stats-title { font-size: 52px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 80px; }
  .stats-line-svg { display: none; }

  .products-section { padding: 60px 40px 80px; }
  .products-grid { grid-template-columns: 1fr; gap: 40px; }
  .products-title { font-size: 48px; }

  .values-section { padding: 80px 40px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .values-title { font-size: 56px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .team-section { padding: 80px 40px; }
  .team-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .team-title { font-size: 56px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }

  .map-section { padding: 80px 40px; }
  .map-grid { grid-template-columns: 1fr; }
  .map-title { font-size: 64px; }
  .map-dot-circle { width: 48px; height: 48px; }
  .map-svg { height: 500px; }

  .clients-section { padding: 80px 40px; }
  .clients-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 180px)); }
  .clients-stage { min-height: 260px; }

  .lead-section { padding: 80px 40px; }
  .lead-section h2 { font-size: 48px; }
  .lead-section p { font-size: 17px; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE (max-width: 640px)
   ══════════════════════════════════════════════ */
@media (max-width: 640px) {
  .hero-section { padding: 80px 20px 60px; min-height: auto; }
  .hero-art { display: none; }
  .hero-copy { width: 100%; }
  .hero-title { font-size: 48px; margin-top: 20px; }
  .about-page .hero-desc { font-size: 17px; margin-top: 24px; }

  .brand-bar-wrap { padding: 0 20px; }

  .stats-section { padding: 60px 20px; }
  .stats-title { font-size: 36px; }
  .stats-desc { font-size: 17px; padding-top: 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: auto; }
  .stat-number { font-size: 64px; }

  .products-section { padding: 48px 20px 60px; }
  .products-title { font-size: 32px; }
  .products-grid { gap: 32px; }

  .values-section { padding: 60px 20px; }
  .values-title { font-size: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .section-header-desc { max-width: 100%; }

  .team-section { padding: 60px 20px; }
  .team-title { font-size: 40px; }
  .team-desc { max-width: 100%; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .map-section { padding: 60px 20px; }
  .map-title { font-size: 40px; }
  .map-title-accent { gap: 10px; }
  .map-dot-circle { width: 36px; height: 36px; }
  .map-desc { font-size: 17px; margin-top: 24px; }
  .map-stats { flex-direction: column; gap: 24px; }
  .map-stat-number { font-size: 48px; }
  .map-svg { height: 400px; }

  .clients-section { padding: 48px 20px; }
  .clients-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
  .clients-title { font-size: 22px; }
  .clients-stage { min-height: 180px; }
  .client-logo-wrap { padding: 10px; border-radius: 8px; }
  .client-logo { max-height: 30px; }
  .clients-nav { gap: 8px; margin-top: 24px; }
  .clients-nav-btn { width: 32px; height: 32px; }
  .clients-dots { display: none; }

  .lead-section { padding: 60px 20px; }
  .lead-section .cta-inner { max-width: 100%; }
  .lead-section h2 { font-size: 32px; line-height: 1.15; }
  .lead-section p { font-size: 16px; margin-bottom: 24px; }
  .lead-section .ps-btn-dark { padding: 14px 28px; font-size: 16px; width: 100%; justify-content: center; }
  .lead-section .cta-grad { margin-top: 40px; }
  .lead-section .stamp { margin-top: 36px; }
}


.clients-section {
  padding: 120px 80px;
  background: var(--cream);
  overflow: hidden;
}

.clients-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px auto 50px;
}

.client-type-btn {
  padding: 2px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,0.12);
  background: rgba(0,0,0,0.03);
  color: #555;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.client-type-btn:hover {
  border-color: rgba(38,136,191,0.5);
  color: #222;
  background: rgba(38,136,191,0.06);
}

.client-type-btn.active {
  background: #2688BF;
  border-color: #2688BF;
  color: #fff;
}

.clients-stage {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 200px));
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  direction: rtl;
  max-width: 100%;
}

.client-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, opacity 0.5s ease, box-shadow 0.3s ease;
  opacity: 1;
}

.client-logo-wrap:hover {
  border-color: rgba(38,136,191,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(38,136,191,0.15);
}

.client-logo-wrap.hidden {
  display: none;
}

/* Staggered animation for page transitions */
.client-logo-wrap.fade-out {
  animation: clientFadeOut 0.3s ease forwards;
}

.client-logo-wrap.fade-in {
  opacity: 0;
  animation: clientFadeIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes clientFadeOut {
  0% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.92) translateY(8px); }
}

@keyframes clientFadeIn {
  0% { opacity: 0; transform: scale(0.92) translateY(-8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Filter animation */
.client-logo-wrap.filter-out {
  animation: filterOut 0.3s ease forwards;
}

.client-logo-wrap.filter-in {
  opacity: 0;
  animation: filterIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes filterOut {
  0% { opacity: 1; transform: scale(1) translateY(0); }
  100% { opacity: 0; transform: scale(0.92) translateY(8px); }
}

@keyframes filterIn {
  0% { opacity: 0; transform: scale(0.92) translateY(-8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.client-logo {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(0.3) brightness(1.1);
  transition: filter 0.3s ease;
}

.client-logo-wrap:hover .client-logo {
  filter: grayscale(0) brightness(1);
}

/* Navigation */
.clients-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-direction: row-reverse;
}

.clients-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clients-nav-btn:hover {
  background: rgba(38,136,191,0.1);
  border-color: #2688BF;
  color: #2688BF;
}

.clients-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.clients-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.clients-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.clients-dot.active {
  width: 24px;
  border-radius: 4px;
  background: #2688BF;
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 14px;
  }
  .clients-section {
    padding: 60px 20px;
  }
  .clients-types {
    gap: 8px;
    margin: 24px auto 32px;
  }
  .client-type-btn {
    font-size: 13px;
    padding: 2px 8px;
  }
  .clients-nav {
    gap: 10px;
    margin-top: 28px;
  }
  .clients-nav-btn {
    width: 36px;
    height: 36px;
  }
  .client-logo-wrap {
    padding: 12px;
  }
  .client-logo {
    max-height: 36px;
  }
  .clients-stage {
    min-height: 220px;
  }
  .clients-dots {
    display: none;
  }
}


.client-logo.invert {
  filter: invert(1) grayscale(0.3) brightness(1.1);
}

.client-logo-wrap:hover .client-logo.invert {
  filter: invert(1) grayscale(0.3) brightness(1.1);
}