/* ============================================
   Haqqımızda səhifəsi — yalnız bu səhifə üçün
   ============================================ */

/* ===== Eyebrow tag (kiçik üst-mətn) ===== */
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 24px;
}
.about-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  display: inline-block;
}

/* ===== Intro hero (səhifə açılışı) ===== */
.about-intro {
  max-width: 880px;
  padding: 60px 80px 80px;
  position: relative;
  z-index: 2;
}
.about-headline {
  margin-bottom: 28px;
}
.about-headline .ink,
.about-headline .mute {
  display: block;
}
.about-lede {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.78;
  max-width: 680px;
  margin-bottom: 32px;
}
.about-intro-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-intro-pills .cluster-pill {
  background: #fff;
  border: 1px solid var(--border-soft);
}

/* ===== Story panel (2-col) ===== */
.story-panel {
  background: var(--inner);
}
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: start;
}
.story-text h2 {
  margin-bottom: 32px;
}
.story-text h2 .ink,
.story-text h2 .mute {
  display: block;
}
.story-text p {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  opacity: 0.82;
  margin-bottom: 20px;
}
.story-text p:last-child {
  margin-bottom: 0;
}

/* ===== Timeline panel ===== */
.timeline-panel {
  background: var(--inner-2);
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 64px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--brand) 0, var(--brand) 4px, transparent 4px, transparent 10px);
  opacity: 0.35;
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}
.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
  justify-self: end;
  padding-right: 32px;
}
.timeline-item:nth-child(even) {
  padding-left: 32px;
}
.timeline-year {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--brand);
  background: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  box-shadow: 0 4px 14px rgba(91, 79, 207, 0.18);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.timeline-item.current .timeline-year {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 20px rgba(91, 79, 207, 0.4);
}
.timeline-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 6px 20px rgba(26, 26, 77, 0.08);
  flex: 1;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.timeline-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 26, 77, 0.14);
}
.timeline-card h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.timeline-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.72;
  margin: 0;
}

/* ===== Team panel ===== */
.team-panel {
  background: var(--inner);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.team-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(26, 26, 77, 0.08);
  transition: transform 320ms var(--ease-out), box-shadow 320ms var(--ease-out);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(26, 26, 77, 0.14);
}
.team-photo {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5B4FCF 0%, #7C6FE0 100%);
}
.team-photo-2 {
  background: linear-gradient(135deg, #FB923C 0%, #F472B6 100%);
}
.team-photo-3 {
  background: linear-gradient(135deg, #14B8A6 0%, #06B6D4 100%);
}
.team-photo .photo-initial {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.04em;
}
.team-card-body {
  padding: 28px 28px 32px;
}
.team-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.team-card-head h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.team-linkedin {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--inner);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0.55;
  transition: opacity 200ms, background 200ms, color 200ms;
}
.team-linkedin:hover {
  opacity: 1;
  background: var(--brand-soft);
  color: var(--brand);
}
.team-role {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  margin: 4px 0 16px;
}
.team-bio {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
  opacity: 0.75;
  margin: 0;
}
.team-note {
  margin-top: 32px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
  opacity: 0.6;
  font-style: italic;
}

/* ===== Process panel ===== */
.process-panel {
  background: var(--inner-2);
}
.process-steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--brand) 0, var(--brand) 6px, transparent 6px, transparent 14px);
  opacity: 0.3;
  z-index: 0;
}
.process-step {
  background: #fff;
  border-radius: 24px;
  padding: 28px 22px 26px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(26, 26, 77, 0.06);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 26, 77, 0.12);
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 16px rgba(91, 79, 207, 0.3);
}
.process-step h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.process-step p {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
}

/* ===== Values panel ===== */
.values-panel {
  background: var(--inner);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: #fff;
  border-radius: 28px;
  padding: 36px 32px 40px;
  position: relative;
  box-shadow: 0 4px 14px rgba(26, 26, 77, 0.06);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
  border-top: 4px solid var(--brand);
  overflow: hidden;
}

/* Glass icon — kartın sağ-yuxarı küncündə, dəyər rəqəmi ilə birgə görünür */
.value-icon {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 68px;
  height: 68px;
  pointer-events: none;
  user-select: none;
  transition: transform 320ms var(--ease-out);
}
.value-card:hover .value-icon {
  transform: translateY(-3px) scale(1.04);
}
/* Icon h3 ilə üst-üstə düşməsin */
.value-card:has(.value-icon) h3 {
  padding-right: 72px;
}
@media (max-width: 600px) {
  .value-icon { width: 52px; height: 52px; top: 18px; right: 18px; }
  .value-card:has(.value-icon) h3 { padding-right: 56px; }
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26, 26, 77, 0.12);
}
.value-2 { border-top-color: #FB923C; }
.value-3 { border-top-color: #14B8A6; }

.value-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--brand);
  opacity: 0.18;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}
.value-2 .value-num { color: #FB923C; }
.value-3 .value-num { color: #14B8A6; }

.value-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.value-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.78;
  margin: 0;
}

/* ===== Stats strip ===== */
.stats-about-panel {
  background: var(--inner-2);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 26px;
  box-shadow: 0 4px 14px rgba(26, 26, 77, 0.06);
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26, 26, 77, 0.12);
}
.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-1 .stat-num { color: var(--brand); }
.stat-2 .stat-num { color: #FB923C; }
.stat-3 .stat-num { color: #14B8A6; }
.stat-4 .stat-num { color: #EF4444; }
.stat-num .plus {
  font-size: 1.5rem;
  vertical-align: super;
  margin-left: 2px;
  font-weight: 700;
}
.stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 8px 0 14px;
}
.stat-card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.7;
  margin: 0;
}

/* ===== Office panel ===== */
.office-panel {
  background: var(--inner);
}
.office-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: stretch;
}
.office-info h2 {
  margin-bottom: 20px;
}
.office-info h2 .ink,
.office-info h2 .mute {
  display: block;
}
.office-lede {
  font-family: 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.78;
  margin-bottom: 32px;
}
.office-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.office-meta li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.office-meta li:last-child {
  border-bottom: none;
}
.meta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.meta-value {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--ink);
  text-decoration: none;
}
a.meta-value:hover {
  color: var(--brand);
}
.office-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* interaktiv xəritə (OpenStreetMap iframe + Apple Maps CTA) */
.office-map {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--border-soft);
  background: var(--inner-2);
  box-shadow: 0 8px 24px rgba(26, 26, 77, 0.06);
}
.office-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.office-map-cta {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  background: #fff;
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(26, 26, 77, 0.16), 0 1px 2px rgba(26, 26, 77, 0.06);
  transition: transform 200ms ease, box-shadow 200ms ease;
  z-index: 2;
}
.office-map-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 26, 77, 0.22), 0 1px 2px rgba(26, 26, 77, 0.06);
}
.office-map-cta svg {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(91, 79, 207, 0.3));
}

/* ===== Banner ghost button (CTA panel) ===== */
.btn-banner-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: background 200ms, border-color 200ms;
}
.btn-banner-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   About-page illustrations — page heroes
   v9.19 — Haqqımızda hero replaced with new man+laptop illustration
   ============================================ */

/* === 1. INTRO — 2-col grid with hero passport on right === */
.about-intro--grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 56px;
  align-items: center;
  max-width: none;          /* override 880px from base .about-intro */
  padding: 80px 80px 90px;
}
.about-intro--grid .about-intro-text {
  max-width: 580px;
}
.about-intro-art {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-intro-art img {
  width: 100%;
  height: auto;
  max-width: 460px;
  display: block;
  /* gentle float */
  animation: aboutArtFloat 6s ease-in-out infinite;
}
/* Card variant — for images with their own background (e.g. gradient illustrations) */
.about-intro-art--card img {
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(13, 10, 50, 0.18);
}
@keyframes aboutArtFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* === 2 & 3. SECTION-HEAD ART — for timeline + process === */
.section-head-art {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  max-width: 360px;
  width: 36%;
}
.section-head-art img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 360px;
}

/* === 4. STATS GLOBE — bigger, anchored to right === */
.stats-about-panel .section-head {
  align-items: center;          /* center-align for the larger globe */
  padding-bottom: 40px;
}
.section-head-art--globe {
  width: 32%;
  max-width: 260px;
  align-items: center;
  justify-content: center;
}
.section-head-art--globe img {
  max-width: 240px;
  /* slow rotation hint — only the halo, achieved via subtle scale */
  animation: globePulse 5s ease-in-out infinite;
}
@keyframes globePulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}

/* === 5. CTA BANNER POSTCARD === */
.panel-banner--with-art {
  /* Reserve room on the right for the postcard */
  padding-right: clamp(80px, 22vw, 280px);
}
.banner-postcard-art {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  width: 320px;
  pointer-events: none;
  /* subtle drop-shadow for elevation on purple */
  filter: drop-shadow(0 14px 30px rgba(13, 10, 50, 0.28));
  /* gentle wobble */
  animation: postcardSway 7s ease-in-out infinite;
}
.banner-postcard-art img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes postcardSway {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50%      { transform: translateY(-52%) rotate(1.2deg); }
}

/* === Responsive — tablet === */
@media (max-width: 1024px) {
  .about-intro--grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 50px 50px 60px;
  }
  .about-intro-art {
    order: -1;                   /* art on top on tablet/mobile */
    max-width: 360px;
    margin: 0 auto;
  }
  .about-intro-art img { max-width: 320px; }

  .section-head-art {
    width: 30%;
    max-width: 280px;
  }
  .section-head-art img { max-width: 280px; }

  .section-head-art--globe { max-width: 200px; }
  .section-head-art--globe img { max-width: 180px; }

  .panel-banner--with-art { padding-right: 80px; }
  .banner-postcard-art {
    width: 220px;
    right: 16px;
    opacity: 0.85;
  }
}

/* === Responsive — mobile (hide art on smallest screens) === */
@media (max-width: 700px) {
  .about-intro--grid { padding: 36px 28px 48px; gap: 24px; }
  .about-intro-art { max-width: 260px; }
  .about-intro-art img { max-width: 240px; }

  /* On mobile, hide section-head art to keep heads clean & legible */
  .section-head-art { display: none; }

  /* Postcard moves below the CTA copy on mobile, smaller */
  .panel-banner--with-art { padding-right: 32px; padding-bottom: 32px; }
  .banner-postcard-art {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 200px;
    margin: 32px auto 0;
    display: block;
    animation: none;
  }
}

/* ============================================
   Responsive — tablet / mobile
   ============================================ */

@media (max-width: 1024px) {
  .about-intro { padding: 50px 50px 60px; }

  .story-grid { grid-template-columns: 1fr; gap: 40px; }

  .timeline { grid-template-columns: 1fr; gap: 16px; }
  .timeline::before { left: 28px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    text-align: left;
    justify-self: start;
    padding-left: 0;
    padding-right: 0;
  }
  .timeline-year { min-width: 80px; text-align: center; font-size: 1.125rem; padding: 8px 14px; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }

  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid .team-card:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }

  .values-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .office-grid { grid-template-columns: 1fr; gap: 40px; }
  .office-map { min-height: 320px; }
}

@media (max-width: 700px) {
  .about-intro { padding: 36px 28px 48px; }
  .about-headline { font-size: 2rem; }
  .about-lede { font-size: 1rem; }


  .timeline-item { gap: 12px; }
  .timeline-year { min-width: 64px; font-size: 0.9375rem; padding: 6px 10px; }
  .timeline-card { padding: 16px 18px; border-radius: 16px; }
  .timeline-card h4 { font-size: 1rem; }

  .team-grid { grid-template-columns: 1fr; }
  .team-grid .team-card:last-child { max-width: 100%; }
  .team-photo { height: 220px; }
  .team-photo .photo-initial { font-size: 4rem; }

  .process-steps { grid-template-columns: 1fr; }
  .process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    text-align: left;
    padding: 22px 22px;
    align-items: start;
  }
  .step-num {
    grid-row: 1 / span 2;
    margin: 0;
    width: 48px; height: 48px;
    font-size: 0.875rem;
    align-self: start;
  }
  .process-step h4 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    align-self: center;
  }
  .process-step p {
    grid-column: 2;
    grid-row: 2;
    margin-top: 6px;
  }

  .values-grid { gap: 16px; }
  .value-card { padding: 28px 24px 32px; border-radius: 20px; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 24px 20px; border-radius: 18px; }
  .stat-num { font-size: 2.25rem; }

  .office-meta li { grid-template-columns: 1fr; gap: 4px; }
  .office-cta-row .btn { width: 100%; justify-content: center; }
}
