/* SPM Services — About Us page */

body.spm-about {
  background: #fff;
  padding-top: 0 !important;
}

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

.spm-header {
  background: rgb(20 26 24 / 43%);
}

body.spm-about .spm-header.is-sticky {
  position: fixed;
  background: #0b141c;
  box-shadow: none;
}

/* Banner */
.about-hero {
  position: relative;
  min-height: 272px;
  padding: calc(var(--spm-header-h) + 18px) 0 52px;
  background-color: #0b141c;
  background-image: url("../images/frame-1.png");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.about-hero .spm-wrap {
  position: relative;
  z-index: 1;
  padding-top: 20px;
}
.about-hero .spm-wrap a{
text-decoration: none;
}

.about-crumb {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
}

.about-crumb a {
  color: rgba(255, 255, 255, 0.72);
}

.about-crumb a:hover {
  color: #fff;
}

.about-crumb span {
  color: #86c881;
}

.about-hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(40px, 5vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #fff;
}

/* Intro */
.about-intro {
  padding: 88px 0 28px;
  text-align: center;
}

.about-intro h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: #131233;
}

.about-intro p {
  margin: 0 0 1rem;
  color: #75738e;
  font-size: 22px;
  line-height: 1.7;
}
.about-intro .spm-wrap{
  text-align: left;
}

/* Story rows */
.about-story {
  padding: 28px 0 40px;
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
  align-items: center;
  margin-bottom: 88px;
}

.about-row:last-child {
  margin-bottom: 24px;
}

.about-copy h3 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.03em;
  color: #131233;
}

.about-copy p {
  margin: 0 0 10px;
  color: #75738e;
  font-size: 18px;
  line-height: 1.7;
}

.about-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 12px;
  align-items: start;
  margin: 0;
  padding: 22px 24px 20px 20px;
  background: #e7f6e4;
  border: 0;
  border-radius: 18px;
}

.about-quote-mark {
  grid-column: 1;
  grid-row: 1;
  margin: 2px 0 0;
  color: #86c881;
  font-size: 40px;
  line-height: 1;
}

.about-quote p {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #1c1640;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
}

.about-quote cite {
  grid-column: 2;
  grid-row: 2;
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  color: #131233;
}

/* Map */
.about-teams {
  padding: 70px 0 20px;
  background-color: #FAFAFC;
}

.about-teams h2 {
  margin: 0 0 14px;
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #131233;
  text-align: left;
}

.about-lead {
  text-align: left !important;
  margin: 0 auto 48px;
  text-align: center;
  color: #75738e;
  font-size: 18px;
  line-height: 1.7;
}

.about-map {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto 40px;
  min-height: 280px;
}

.about-map > img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.about-pin {
  position: absolute;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
}

.about-pin span {
  display: block;
  width: 14px;
  height: 14px;
  margin: 7px auto 0;
  border-radius: 50%;
  background: #86c881;
  box-shadow: 0 0 0 8px rgba(134, 200, 129, 0.28);
}

.about-pin.is-active span {
  box-shadow: 0 0 0 10px rgba(134, 200, 129, 0.32);
}

.about-popup {
  position: absolute;
  z-index: 3;
  width: 248px;
  padding: 34px 22px 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(28, 40, 80, 0.16);
  text-align: center;
  transform: translate(-50%, calc(-100% - 28px));
  overflow: visible;
}

.about-popup-flag {
  margin: 0 auto 20px;
  /* position: absolute; */
  /* left: 50%; */
  /* top: 0; */
  width: 30px;
  height: 30px;
  /* transform: translate(-50%, -50%); */
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(19, 18, 51, 0.12);
}

.about-popup-flag img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

.about-popup strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  color: #13123396;
}

.about-popup span {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #6b7280;
}

/* Perks */
.about-perks {
  background: #e7f4e6;
  padding: 88px 0 96px;
}

.about-perks h2 {
  margin: 0 0 48px;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #131233;
}

.about-perk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px 72px;
}

.about-perk {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.about-perk-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(28, 40, 30, 0.05);
}

.about-perk-icon svg,
.about-perk-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.about-perk h3 {
  margin: 4px 0 8px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: #131233;
}

.about-perk p {
  margin: 0;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.7;
}

/* Principal */
.about-principal {
  padding: 88px 0 96px;
}
.about-principal a {
  text-decoration: none;
}

.about-principal-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 56px;
  align-items: center;
}

.about-principal-grid img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.about-principal h2 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #131233;
}

.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 24px;
  font-weight: 700;
  color: #131233;
}

.about-linkedin i {
  color: #0a66c2;
  font-size: 20px;
}

.about-linkedin:hover {
  color: #0a66c2;
}

.about-principal p {
  margin: 0;
  max-width: 640px;
  color: #75738e;
  font-size: 18px;
  line-height: 1.75;
}

/* Same card grid as the homepage SPM Boutique block */
.spm-boutique {
  background: #e7f2e4;
  padding: 88px 0 96px;
}

.spm-boutique .spm-wrap {
  width: min(1080px, calc(100% - 48px));
}

.spm-boutique h2 {
  font-family: var(--font-head);
  color: #1c1640;
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 52px;
  line-height: 1.2;
  text-align: left;
}

.spm-boutique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 72px;
}

.spm-boutique-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
}

.spm-ring {
  width: 56px;
  height: 56px;
  background: #fff;
  border: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(28, 40, 30, 0.05);
}

.spm-ring img {
  width: 28px;
  height: 28px;
  max-width: none;
}

.spm-boutique-item h3 {
  font-family: var(--font-head);
  color: #1c1640;
  font-size: 24px;
  font-weight: 700;
  margin: 2px 0 8px;
}

.spm-boutique-item p {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 18px;
  line-height: 1.65;
}

.spm-boutique-item p:last-child {
  margin-bottom: 0;
}

.spm-boutique-item a {
  color: #7eb848;
  font-size: 18px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.2px;
}

.spm-boutique-item a span {
  text-decoration: none;
  display: inline-block;
  margin-left: 4px;
}

.spm-boutique-item a:hover {
  color: var(--spm-green-dark);
}

@media (max-width: 991px) {
  .about-row,
  .about-row-reverse,
  .about-perk-grid,
  .spm-boutique-grid,
  .about-principal-grid {
    grid-template-columns: 1fr;
  }

  .about-row-reverse .about-media {
    order: -1;
  }

  .about-row {
    gap: 28px;
    margin-bottom: 56px;
  }

  .about-intro,
  .about-perks,
  .spm-boutique,
  .about-principal {
    padding: 56px 0;
  }

  .about-principal-grid {
    gap: 28px;
  }

  .about-principal-grid img {
    max-width: 420px;
  }

  .about-popup {
    width: min(248px, 72vw);
  }
  .svc-ai .svc-row {
    grid-template-columns: 1fr 1fr;
  }
}
.about-pin {
display: none;}

@media (max-width: 767px) {
  .about-hero {
    min-height: 170px;
    padding: calc(var(--spm-header-h) + 10px) 0 32px;
    background-size: cover;
  }

  .about-intro h2,
  .about-copy h3,
  .about-teams h2,
  .about-perks h2,
  .spm-boutique h2 {
    font-size: 28px;
  }

  .about-intro p,
  .about-copy p,
  .about-lead,
  .about-perk p,
  .spm-boutique-item p,
  .about-principal p {
    font-size: 16px;
  }

  .about-perk-grid {
    gap: 28px;
  }

  .about-map {
    min-height: 220px;
    margin-bottom: 12px;
  }

  .about-popup {
    left: 50% !important;
    top: 18% !important;
    transform: translate(-50%, 0);
  }
}
