/* About CLUEM — fluid, responsive layout */
.about-page,
.about-page * {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

.about-page {
  overflow-x: hidden;
  background: #fff;
  color: #1c1c1c;
}

.about-page img {
  max-width: 100%;
  height: auto;
}

.about-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.about-kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fd9013;
}

.about-page h1,
.about-page h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.about-page h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 28px;
}

.about-page .header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.about-page .header_menu_lay {
  width: min(1120px, 100%);
  height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}

.about-page .login_bi {
  position: static;
  width: auto;
  height: auto;
  flex: 0 0 auto;
}

.about-page .login_bi img {
  width: 108px;
  height: auto;
  display: block;
}

.about-page .header_menu {
  float: none;
  position: static;
  top: auto;
  right: auto;
  margin: 0;
  height: auto;
  display: flex;
  align-items: center;
}

.about-page .nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.about-page .nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #222;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.about-page.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.about-page.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.about-page.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.about-hero {
  min-height: min(72vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(72px, 12vw, 140px) 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 14, 28, 0.38) 0%, rgba(6, 14, 28, 0.52) 48%, rgba(6, 14, 28, 0.78) 100%),
    url(../img/aboutcluem_hero.png) center / cover no-repeat;
}

.about-hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  color: #fff;
}

.about-hero-sub {
  margin: 12px 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: rgba(255, 255, 255, 0.92);
}

.about-hero-copy {
  margin: 28px auto 0;
  max-width: 36em;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.about-mission,
.about-partner,
.about-clients,
.about-contact,
.about-history {
  width: 100%;
  padding: clamp(56px, 8vw, 96px) 0;
}

.about-mission {
  background: #f6f4f1;
}

.about-kicker-follow {
  margin-top: clamp(48px, 7vw, 72px);
}

.about-mission-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}

.about-mission-cards article {
  position: relative;
  overflow: hidden;
  background: #111827;
  color: #fff;
  border-radius: 20px;
  padding: 28px 24px 32px;
  min-height: 210px;
}

.about-mission-cards article::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 144, 19, 0.28), transparent 70%);
}

.about-mission-cards span {
  display: block;
  margin-bottom: 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fd9013;
}

.about-mission-cards h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.about-mission-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.about-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.about-value {
  background: #fff;
  border-radius: 20px;
  padding: 28px 22px 26px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.about-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(253, 144, 19, 0.12);
  color: #fd9013;
}

.about-value-icon svg {
  width: 26px;
  height: 26px;
}

.about-value h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.about-value p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.about-history-lead {
  margin: -12px 0 36px;
  color: #666;
  line-height: 1.7;
}

.about-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: none;
}

.about-timeline li {
  background: #fff;
  border-radius: 20px;
  padding: 24px 22px 28px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #fd9013;
}

.about-timeline-year {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fd9013;
}

.about-timeline h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.about-timeline p {
  margin: 0;
  color: #555;
  line-height: 1.65;
  font-size: 0.95rem;
}

.about-partner {
  background: #f6f4f1;
}

.about-partner-media {
  display: grid;
  gap: 20px;
}

.about-partner-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

.about-partner-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 0;
  background: #111;
}

.about-partner-copy {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.about-partner-brand {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1a1a1a;
}

.about-partner-brand span {
  display: block;
  margin-top: 4px;
  font-size: 0.7em;
  font-weight: 500;
  color: #6b3fa0;
}

.about-partner-copy p {
  margin: 0;
  line-height: 1.7;
  color: #555;
}

.about-partner-note {
  color: #6b3fa0 !important;
  font-weight: 600;
}

.about-partner-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.about-partner-stats div {
  background: #fff;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.about-partner-stats strong {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: #1a1a1a;
  letter-spacing: -0.03em;
}

.about-partner-stats span {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #777;
}

.about-partner-media img {
  width: 100%;
  border-radius: 16px;
  background: #fff;
}

.about-contact-list {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}

.about-contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}

.about-map {
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: #eee;
}

.about-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.about-address {
  background: #111;
  color: #fff;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.about-address p {
  margin: 0;
  line-height: 1.7;
  color: #ddd;
}

.about-address-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff !important;
}

.about-address a {
  color: #fd9013;
}

.about-clients {
  overflow: hidden;
  background: #f3f4f6;
}

.about-clients .about-inner + .about-clients-viewport {
  margin-top: 0;
}

.about-clients-viewport {
  overflow: hidden;
  margin-top: 22px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.about-clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 72px;
  padding: 10px 0;
  animation: about-clients-left 42s linear infinite;
}

.about-clients-viewport.is-reverse .about-clients-track {
  animation-name: about-clients-right;
  animation-duration: 48s;
}

.about-clients-track img {
  flex: 0 0 auto;
  width: auto;
  max-width: 220px;
  height: 58px;
  object-fit: contain;
}

.about-clients-sub {
  margin: 40px 0 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #4b5563;
}

.about-clients-flags .about-clients-track {
  gap: 56px;
  animation-duration: 36s;
}

.about-clients-flags img {
  height: 52px;
  max-width: 120px;
}

.about-clients-viewport:hover .about-clients-track {
  animation-play-state: paused;
}

@keyframes about-clients-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes about-clients-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .about-clients-track {
    animation: none;
  }
}

.about-page .footer {
  height: auto;
}

.about-page .footer_content {
  width: min(1120px, calc(100% - 40px));
  height: auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-page .footer_content_bi {
  float: none;
  position: static;
  width: 72px;
  margin: 0;
  flex: 0 0 auto;
}

.about-page .footer_content_bi img {
  width: 72px;
  height: auto;
  display: block;
}

.about-page .footer_content_text {
  float: none;
  position: static;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.about-page .footer_content_text p {
  margin: 0;
}

.about-page .footer_content_text p + p {
  margin-top: 4px;
}

@media (max-width: 900px) {
  .about-mission-grid,
  .about-contact-grid,
  .about-partner-card,
  .about-mission-cards {
    grid-template-columns: 1fr;
  }

  .about-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .about-partner-card img {
    min-height: 220px;
    max-height: 260px;
  }

  .about-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .about-page .nav-toggle {
    display: flex;
  }

  .about-page .header_menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 12px 16px 20px;
    background: #fff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    align-items: stretch;
    z-index: 210;
  }

  .about-page.nav-open .header_menu {
    display: flex;
  }

  .about-page .dropdown {
    float: none;
    overflow: visible;
    width: 100%;
  }

  .about-page .dropdown .dropbtn {
    width: 100%;
    text-align: left;
    padding: 14px 8px;
  }

  .about-page .dropdown-content {
    display: block;
    position: static;
    min-width: 0;
    box-shadow: none;
    background: #fafafa;
    border-radius: 12px;
    margin: 0 0 8px;
  }

  .about-page .dropdown-content a {
    float: none;
    padding: 10px 14px;
  }

  .about-page .tabcontent table,
  .about-page .tabcontent thead,
  .about-page .tabcontent tbody,
  .about-page .tabcontent tr,
  .about-page .tabcontent th {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .about-page .tabcontent_tr1 {
    display: none;
  }

  .about-page .tabcontent_tr2 {
    margin-bottom: 10px;
    padding: 14px 16px;
    border: 1px solid #ececec;
    border-radius: 14px;
    background: #fff;
  }

  .about-page .tabcontent_td1,
  .about-page .tabcontent_td2,
  .about-page .tabcontent_td3 {
    width: 100%;
    height: auto;
    text-align: left;
    padding: 4px 0;
  }

  .about-page .tabcontent_td1 {
    font-size: 0.85rem;
  }

  .about-page .tabcontent_td2 {
    font-size: 1.05rem;
    color: #1c1c1c;
  }

  .about-page .footer_content {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .about-inner,
  .about-page .footer_content {
    width: calc(100% - 28px);
  }

  .about-timeline {
    grid-template-columns: 1fr;
  }

  .about-hero {
    min-height: 70vh;
    padding: 88px 0 72px;
  }

  .about-map,
  .about-map iframe {
    min-height: 240px;
  }

  .about-clients-track {
    gap: 40px;
  }

  .about-clients-track img {
    height: 40px;
    max-width: 160px;
  }

  .about-clients-sub {
    margin-top: 28px;
  }

  .about-clients-flags img {
    height: 36px;
    max-width: 88px;
  }
}
