/* Shared services presentation for the English and Armenian pages. */
.gm-services {
  --services-ink: #203c60;
  --services-muted: #586a7c;
  --services-blue: #087fb9;
  padding: 100px 0;
  background: #f4f7fa;
  color: var(--services-ink);
  scroll-margin-top: 90px;
}

.gm-services .services-heading {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 52px;
}

.gm-services .services-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--services-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1.6;
  text-transform: uppercase;
}

.gm-services .services-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  flex: none;
  background: currentColor;
}

.gm-services h2 {
  margin: 0;
  color: var(--services-ink);
  font-size: clamp(36px, 3.8vw, 52px);
  font-weight: 800;
  letter-spacing: -1.8px;
  line-height: 1.13;
}

.gm-services h2 span {
  display: block;
  color: var(--services-blue);
}

.gm-services .services-lead {
  margin: 0 0 22px;
  color: var(--services-muted);
  font-size: 16px;
  line-height: 1.8;
}

.gm-services .services-experience {
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--services-muted);
  font-size: 13px;
  line-height: 1.5;
}

.gm-services .services-experience strong {
  color: var(--services-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
}

.gm-services .services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gm-services .service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 27px 24px 28px;
  border: 1px solid #dfe7ee;
  border-radius: 12px;
  background: #fff;
  scroll-margin-top: 100px;
}

.gm-services .service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.gm-services .service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 12px;
  background: #eaf5fb;
  color: var(--services-blue);
}

.gm-services .service-icon svg {
  width: 24px;
  height: 24px;
}

.gm-services .service-number {
  color: #718396;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

.gm-services .service-card h3 {
  margin: 0 0 12px;
  color: var(--services-ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.3;
}

.gm-services .service-description {
  margin: 0;
  color: var(--services-muted);
  font-size: 14px;
  line-height: 1.7;
}

.gm-services .service-items {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid #e7edf2;
  list-style: none;
}

.gm-services .service-items li {
  position: relative;
  padding-left: 17px;
  color: #42566b;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.gm-services .service-items li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 1px;
  width: 5px;
  height: 8px;
  border: solid var(--services-blue);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.gm-services .service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--services-blue);
  font-size: 13px;
  font-weight: 800;
}

.gm-services .service-link svg,
.gm-services .services-button svg {
  width: 20px;
  height: 20px;
  flex: none;
  transition: transform .2s ease;
}

.gm-services .service-link:hover svg,
.gm-services .services-button:hover svg {
  transform: translateX(3px);
}

.gm-services .services-approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 44px;
}

.gm-services .services-approach p {
  margin: 0;
  color: var(--services-muted);
  font-size: 14px;
  line-height: 1.85;
}

.gm-services .services-approach h3 {
  margin: 0 0 12px;
  color: var(--services-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
}

.gm-services .services-next {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  padding: 30px 34px;
  border-radius: 12px;
  background: var(--services-ink);
  color: #fff;
}

.gm-services .services-next p {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

.gm-services .services-next small {
  display: block;
  margin-top: 5px;
  color: #c2d2e2;
  font-size: 14px;
  font-weight: 400;
}

.gm-services .services-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: none;
  gap: 22px;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid #fff;
  border-radius: 6px;
  background: #fff;
  color: var(--services-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.gm-services .services-button:hover {
  background: #eaf5fb;
  border-color: #eaf5fb;
}

.gm-services a:focus-visible {
  outline: 3px solid #179cda;
  outline-offset: 5px;
  border-radius: 4px;
}

html[lang="hy"] .gm-services h2 {
  font-size: clamp(32px, 3vw, 43px);
  letter-spacing: -.8px;
  line-height: 1.25;
}

html[lang="hy"] .gm-services .service-card h3 {
  font-size: 19px;
  line-height: 1.5;
}

/* Align content across a row while allowing translated copy to set its height. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 576px) {
    .gm-services .service-card {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .gm-services .service-card-top,
    .gm-services .service-items { align-self: start; }
    .gm-services .service-link { align-self: end; }
  }
}

@media (max-width: 1199px) {
  .gm-services .services-heading { gap: 36px; }
  .gm-services .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .gm-services { padding: 64px 0; }
  .gm-services .services-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 32px; }
  .gm-services .services-eyebrow { margin-bottom: 16px; }
  .gm-services .services-approach { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .gm-services .services-next { align-items: flex-start; flex-direction: column; padding: 26px; margin-top: 32px; gap: 22px; }
}

@media (max-width: 575px) {
  .gm-services .container { padding-right: 22px; padding-left: 22px; }
  .gm-services .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .gm-services .service-card { padding: 24px; }
  .gm-services .service-card-top { margin-bottom: 20px; }
  .gm-services .services-button { width: 100%; }
  .gm-services .services-next p { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .gm-services a, .gm-services a svg { transition: none; }
}
