:root {
  --bg-deep: #031512;
  --bg-darker: #020b0a;
  --panel: #f4f5f1;
  --text-dark: #132033;
  --text-soft: #277550;
  --line: #25d07f;
  --line-soft: rgba(37, 208, 127, 0.28);
  --white-soft: rgba(255, 255, 255, 0.88);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: #fff;
  background:
    radial-gradient(circle at top center, rgba(24, 104, 76, 0.45), transparent 32%),
    radial-gradient(circle at 20% 18%, rgba(18, 148, 94, 0.16), transparent 18%),
    radial-gradient(circle at 85% 30%, rgba(7, 133, 86, 0.16), transparent 22%),
    linear-gradient(180deg, #031f1b 0%, #021311 42%, #010505 100%);
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.background-glow {
  position: absolute;
  width: 48rem;
  height: 48rem;
  border-radius: 50%;
  border: 1px solid rgba(69, 255, 165, 0.08);
  pointer-events: none;
  filter: blur(2px);
}

.background-glow::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: inherit;
  border: 1px dashed rgba(69, 255, 165, 0.08);
}

.background-glow-left {
  top: -13rem;
  left: -8rem;
}

.background-glow-right {
  top: -9rem;
  right: -12rem;
}

.container {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 32px;
}

.top-logos {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 706px;
  margin-bottom: 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-link img {
  width: auto;
  max-height: 154px;
  object-fit: contain;
}

.brand-link-right img {
  max-height: 194px;
  transform: translateY(-14px);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  max-width: 920px;
  margin: 0 auto;
  transform: translateY(-10px);
  transform: translateY(-6px);
}

.profile-block {
  position: relative;
}

.profile-block::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 64%;
  width: 1px;
  height: 94px;
  background: linear-gradient(180deg, transparent, rgba(57, 255, 172, 0.26), transparent);
}

.profile-block:last-child::after {
  display: none;
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(122px, 24%) 1fr;
  min-height: 214px;
  height: 214px;
  max-width: 438px;
  background: linear-gradient(180deg, #fafaf8 0%, #f2f1ed 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.profile-image {
  height: 100%;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-content {
  display: flex;
  flex-direction: column;
  padding: 11px 12px 10px;
  color: var(--text-dark);
}

.profile-content h2 {
  margin: 0 0 4px;
  font-size: clamp(1rem, 0.92vw, 1.22rem);
  line-height: 1.15;
  font-weight: 800;
}

.role {
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(0.7rem, 0.64vw, 0.82rem);
  line-height: 1.22;
  max-width: 92%;
}

.accent-line {
  width: 32px;
  height: 2px;
  margin: 5px 0;
  background: var(--line);
  border-radius: 999px;
}

.profile-list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 5px;
}

.profile-list li {
  position: relative;
  padding-left: 12px;
  font-size: clamp(0.68rem, 0.6vw, 0.8rem);
  line-height: 1.18;
}

.profile-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  background: #1fbb6f;
  border-radius: 50%;
}

.learn-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-width: 108px;
  padding: 6px 10px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1d9b63 0%, #0b7446 100%);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.6rem;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(11, 116, 70, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.learn-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(11, 116, 70, 0.36);
}

.learn-more i {
  font-size: 0.78rem;
}

.connect-panel {
  padding: 10px 6px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.section-heading span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-soft), transparent);
}

.section-heading p {
  margin: 0;
  color: #78f0b3;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.social-icons a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(90, 255, 177, 0.72);
  color: #fff;
  text-decoration: none;
  background: rgba(2, 25, 20, 0.36);
  box-shadow: inset 0 0 14px rgba(71, 255, 169, 0.06);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  background: rgba(15, 84, 57, 0.46);
  box-shadow: 0 0 18px rgba(71, 255, 169, 0.18);
}

.social-icons i {
  font-size: 0.84rem;
}

.social-icons .social-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.18));
}

.social-icons .social-logo-uniapac {
  width: 26px;
  height: 26px;
}

.social-icons .social-logo-wide {
  width: 22px;
  height: 22px;
}

.social-icons .social-logo-cmx {
  width: 26px;
  height: 26px;
}

.global-reach {
  margin-top: 16px;
}

.section-heading-center {
  justify-content: center;
  margin-bottom: 14px;
}

.section-heading-center span {
  max-width: 92px;
}

.section-heading-center p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white-soft);
  letter-spacing: 0.18em;
  font-size: 0.84rem;
}

.section-heading-center i {
  color: #1fcb77;
  font-size: 1.2rem;
}

.flags-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 390px;
  margin: 0 auto;
}

.flag-card {
  padding: 4px 4px 3px;
  border: 1px solid rgba(36, 210, 127, 0.58);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(3, 25, 20, 0.58), rgba(2, 15, 12, 0.82));
  box-shadow: inset 0 0 18px rgba(23, 122, 77, 0.14);
  text-align: center;
}

.flag-card img {
  width: 100%;
  max-width: 78px;
  margin: 0 auto;
  aspect-ratio: 1.58 / 1;
  object-fit: cover;
  border-radius: 4px;
}

.flag-card span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 700px) {
  .profiles-grid {
    grid-template-columns: 1fr;
  }

  .profile-block::after {
    display: none;
  }

}

@media (max-width: 768px) {
  .container {
    width: min(100% - 22px, 1240px);
    padding-top: 0;
  }

  .top-logos {
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 4px;
  }

  .profiles-grid {
    transform: translateY(-8px);
  }

  .brand-link img,
  .brand-link-right img {
    max-height: 82px;
  }

  .brand-link-right img {
    transform: translateY(-6px);
  }

  .profile-card {
    grid-template-columns: 132px 1fr;
    min-height: 210px;
    height: 210px;
    max-width: 100%;
  }

  .profile-image {
    height: 100%;
    max-height: none;
  }

  .profile-content {
    padding: 12px 12px 10px;
  }

  .role {
    max-width: 100%;
  }

  .connect-panel {
    padding: 10px 6px 0;
  }

  .flags-grid {
    gap: 8px;
    max-width: 360px;
  }

  .flag-card {
    padding: 4px 3px 3px;
  }

  .flag-card img {
    max-width: 62px;
  }

  .flag-card span {
    font-size: 0.5rem;
    letter-spacing: 0.04em;
  }

}

@media (max-width: 480px) {
  .container {
    width: min(100% - 16px, 1240px);
    padding-top: 0;
  }

  .top-logos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px;
    width: min(100%, 340px);
    margin: 0 auto 8px;
  }

  .brand-link {
    justify-content: flex-start;
  }

  .brand-link-right {
    justify-content: flex-end;
  }

  .brand-link img {
    max-height: 96px;
    transform: translateY(0);
  }

  .brand-link-right img {
    max-height: 112px;
    transform: translateY(1px);
  }

  .profiles-grid {
    gap: 14px;
    transform: translateY(-8px);
  }

  .profile-card {
    grid-template-columns: 118px 1fr;
    min-height: 186px;
    height: 186px;
    border-radius: 16px;
  }

  .profile-content {
    padding: 10px 10px 8px;
  }

  .profile-content h2 {
    font-size: 0.88rem;
    margin-bottom: 4px;
  }

  .role {
    font-size: 0.62rem;
    line-height: 1.14;
  }

  .accent-line {
    width: 24px;
    margin: 4px 0;
  }

  .profile-list {
    margin-bottom: 8px;
    gap: 4px;
  }

  .profile-list li {
    padding-left: 10px;
    font-size: 0.58rem;
    line-height: 1.1;
  }

  .profile-list li::before {
    width: 4px;
    height: 4px;
  }

  .learn-more {
    min-width: 92px;
    padding: 5px 8px;
    font-size: 0.52rem;
    gap: 6px;
  }

  .learn-more {
    width: auto;
  }

  .section-heading {
    gap: 8px;
  }

  .section-heading p,
  .section-heading-center p {
    letter-spacing: 0.1em;
    font-size: 0.72rem;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icons a {
    width: 30px;
    height: 30px;
  }

  .social-icons i {
    font-size: 0.82rem;
  }

  .social-icons .social-logo {
    width: 16px;
    height: 16px;
  }

  .social-icons .social-logo-uniapac {
    width: 20px;
    height: 20px;
  }

  .social-icons .social-logo-wide {
    width: 20px;
    height: 20px;
  }

  .social-icons .social-logo-cmx {
    width: 19px;
    height: 19px;
  }

  .flags-grid {
    gap: 6px;
    max-width: 246px;
  }

  .flag-card {
    padding: 3px 2px 2px;
  }

  .flag-card img {
    max-width: 52px;
  }

  .flag-card span {
    font-size: 0.42rem;
    margin-top: 2px;
    letter-spacing: 0.03em;
  }

}
