/*
 * Extra sections on service pages: "What we build", "How we work", "Working worldwide".
 * Same type scale and colours as the Elementor sections around them.
 */

.uex-svc {
  padding: 0 5% 110px;
  font-family: "Poppins", sans-serif;
  color: #091520;
}
.uex-svc__inner { max-width: 1200px; margin: 0 auto; }

.uex-svc__title {
  margin: 0 0 10px;
  font-family: "Poppins", sans-serif;
  font-size: 35px;
  font-weight: 600;
  line-height: 37px;
  letter-spacing: -0.4px;
  color: #091520;
  text-align: center;
}
.uex-svc__title u { text-decoration-color: #81d55e; }
.uex-svc__title--left { text-align: left; }

.uex-svc__lead {
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  text-align: center;
  color: #091520;
}

.uex-svc__text {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
}

/* What we build */
.uex-svc__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.uex-svc__card {
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(9, 21, 32, .08);
}
.uex-svc__icon { display: block; width: 28px; height: 28px; margin-bottom: 16px; }
.uex-svc__icon svg { display: block; width: 100%; height: 100%; }
.uex-svc__card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: #091520;
}
.uex-svc__card p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #2b3044;
}

/* How we work */
.uex-svc__panel {
  padding: 56px 50px;
  border-radius: 20px;
  background: #091520;
}
.uex-svc__panel .uex-svc__title { color: #fff; }
.uex-svc__panel .uex-svc__lead { color: #d1d4dc; }
.uex-svc__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.uex-svc__steps li { counter-increment: step; }
.uex-svc__steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #81d55e;
  color: #091520;
  font-size: 16px;
  font-weight: 600;
}
.uex-svc__steps h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.uex-svc__steps p {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #d1d4dc;
}

/* Working worldwide + related services */
.uex-svc__split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 60px;
  align-items: center;
}
.uex-svc__split .uex-svc__title { margin-bottom: 20px; }
.uex-svc__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: #091520;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.uex-svc__cta svg { width: 18px; height: 18px; transition: transform .2s; }
.uex-svc__cta:hover svg { transform: translateX(4px); }

.uex-svc__links {
  padding: 36px;
  border-radius: 20px;
  background: #81d55e21;
}
.uex-svc__links h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #091520;
}
.uex-svc__links ul { margin: 0; padding: 0; list-style: none; }
.uex-svc__links li + li { border-top: 1px solid rgba(9, 21, 32, .1); }
.uex-svc__links a {
  display: grid;
  grid-template-columns: 1fr 20px;
  column-gap: 16px;
  align-items: center;
  padding: 16px 0;
  color: #091520;
  text-decoration: none;
}
.uex-svc__links a span { font-size: 16px; font-weight: 500; }
.uex-svc__links a small {
  grid-column: 1;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: #2b3044;
}
.uex-svc__links a svg {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 20px;
  height: 20px;
  color: #4f9f2f;
  transition: transform .2s;
}
.uex-svc__links a:hover span { text-decoration: underline; text-decoration-color: #81d55e; }
.uex-svc__links a:hover svg { transform: translateX(4px); }

/* Tablet */
@media (max-width: 1024px) {
  .uex-svc { padding-bottom: 72px; }
  .uex-svc__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .uex-svc__split { grid-template-columns: 1fr; gap: 36px; }
}

/* Phone */
@media (max-width: 767px) {
  .uex-svc { padding-bottom: 15%; }
  .uex-svc__title { font-size: 23px; line-height: 1.3em; }
  .uex-svc__title--left { text-align: center; }
  .uex-svc__lead { margin-bottom: 28px; font-size: 14px; line-height: 1.4em; }
  .uex-svc__text { font-size: 14px; line-height: 1.6; text-align: center; }
  .uex-svc__split > div:first-child { text-align: center; }
  .uex-svc__cards { grid-template-columns: 1fr; gap: 16px; }
  .uex-svc__card { padding: 24px; }
  .uex-svc__card h3 { font-size: 18px; }
  .uex-svc__card p { font-size: 14px; }
  .uex-svc__panel { padding: 36px 22px; }
  .uex-svc__steps { grid-template-columns: 1fr; row-gap: 22px; }
  .uex-svc__steps li { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .uex-svc__steps li::before { grid-row: 1 / span 2; margin-bottom: 0; }
  .uex-svc__links { padding: 24px 22px; }
}
