.hm-services-v3,
.hm-services-v3 * {
  box-sizing: border-box;
}

.hm-services-v3 {
  --hm-blue: var(--hm-brand-blue,#0055DA);
  --hm-coral: var(--hm-brand-coral,#FF577F);
  --hm-orange: var(--hm-brand-orange,#FF884B);
  --hm-yellow: var(--hm-brand-yellow,#FFC764);
  --hm-cyan: var(--hm-brand-cyan,#CDFFFC);
  --hm-ink: var(--hm-brand-ink,#07111F);
  --hm-text: var(--hm-brand-text,#263548);
  --hm-muted: var(--hm-brand-muted,#64748B);
  --hm-bg: var(--hm-brand-surface,#F7FAFF);
  --hm-surface: #FFFFFF;
  --hm-line: var(--hm-brand-line,#DFE8F3);
  direction: rtl;
  color: var(--hm-text);
  background: var(--hm-bg);
  overflow: hidden;
}

.hm-services-v3 a {
  color: inherit;
}

.hm-services-v3 img {
  max-width: 100%;
  height: auto;
}

.hm-services-v3__container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.hm-services-v3__section {
  position: relative;
  padding: 86px 0;
}

.hm-services-v3__section--white {
  background: #fff;
}

.hm-services-v3__section--soft {
  background:
    radial-gradient(circle at 8% 10%, rgba(0, 85, 218, .055), transparent 30%),
    radial-gradient(circle at 91% 86%, rgba(255, 136, 75, .06), transparent 28%),
    var(--hm-bg);
}

.hm-services-v3__section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 85, 218, .30), transparent 30%),
    radial-gradient(circle at 90% 76%, rgba(255, 136, 75, .15), transparent 28%),
    linear-gradient(135deg, #07111F 0%, #0D2036 56%, #07111F 100%);
}

.hm-services-v3__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 13px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 85, 218, .18);
  border-radius: 999px;
  color: var(--hm-blue);
  background: rgba(0, 85, 218, .055);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.hm-services-v3__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hm-orange);
  box-shadow: 0 0 0 6px rgba(255, 136, 75, .12);
}

.hm-services-v3__section--dark .hm-services-v3__eyebrow {
  color: var(--hm-cyan);
  border-color: rgba(205, 255, 252, .18);
  background: rgba(205, 255, 252, .07);
}

.hm-services-v3__title,
.hm-services-v3__section-title {
  margin: 0;
  color: var(--hm-ink);
  font-weight: 950;
  letter-spacing: -.8px;
}

.hm-services-v3__title {
  font-size: clamp(40px, 5.7vw, 70px);
  line-height: 1.17;
}

.hm-services-v3__section-title {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.42;
}

.hm-services-v3__section--dark .hm-services-v3__section-title {
  color: #fff;
}

.hm-services-v3__accent {
  color: var(--hm-blue);
}

.hm-services-v3__rule {
  width: 110px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hm-blue), var(--hm-coral), var(--hm-orange), var(--hm-yellow));
}

.hm-services-v3__lead {
  max-width: 800px;
  margin: 22px 0 0;
  color: var(--hm-muted);
  font-size: clamp(16.5px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 2.08;
}

.hm-services-v3__section--dark .hm-services-v3__lead {
  color: #D2DEEA;
}

.hm-services-v3__head {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 36px;
}

.hm-services-v3__intro {
  margin: 0;
  color: var(--hm-muted);
  font-size: 16px;
  line-height: 2.05;
}

.hm-services-v3__section--dark .hm-services-v3__intro {
  color: #C9D6E3;
}

.hm-services-v3__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hm-services-v3__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.hm-services-v3__btn:hover {
  transform: translateY(-2px);
}

.hm-services-v3__btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--hm-blue), #0048B8);
  box-shadow: 0 16px 36px rgba(0, 85, 218, .23);
}

.hm-services-v3__btn--warm {
  color: var(--hm-ink) !important;
  background: linear-gradient(135deg, var(--hm-yellow), var(--hm-orange));
  box-shadow: 0 16px 36px rgba(255, 136, 75, .22);
}

.hm-services-v3__btn--ghost {
  color: var(--hm-blue) !important;
  border-color: rgba(0, 85, 218, .22);
  background: #fff;
}

.hm-services-v3__section--dark .hm-services-v3__btn--ghost {
  color: #fff !important;
  border-color: rgba(205, 255, 252, .22);
  background: rgba(255, 255, 255, .055);
}

.hm-services-v3__hero {
  position: relative;
  padding: 86px 0 78px;
  color: #fff;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 85, 218, .38), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(255, 87, 127, .16), transparent 28%),
    radial-gradient(circle at 86% 88%, rgba(255, 199, 100, .14), transparent 24%),
    linear-gradient(135deg, #07111F 0%, #0D2036 58%, #07111F 100%);
}

.hm-services-v3__hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  grid-template-areas: "visual copy";
  gap: 68px;
  align-items: center;
  direction: ltr;
}

.hm-services-v3__hero-copy {
  grid-area: copy;
  min-width: 0;
  direction: rtl;
}

.hm-services-v3__hero-visual {
  grid-area: visual;
  min-width: 0;
}

.hm-services-v3__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #AFC0D1;
  font-size: 13px;
  font-weight: 750;
}

.hm-services-v3__breadcrumb a {
  color: var(--hm-cyan) !important;
  text-decoration: none !important;
}

.hm-services-v3__hero .hm-services-v3__eyebrow {
  color: var(--hm-cyan);
  border-color: rgba(205, 255, 252, .2);
  background: rgba(205, 255, 252, .07);
}

.hm-services-v3__hero .hm-services-v3__title {
  color: #fff;
}

.hm-services-v3__hero .hm-services-v3__lead {
  color: #D8E3EE;
}

.hm-services-v3__portrait-shell {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(205, 255, 252, .14), rgba(255, 136, 75, .12));
  box-shadow: 0 30px 80px rgba(7, 17, 31, .18);
}

.hm-services-v3__portrait-shell::before {
  content: "";
  position: absolute;
  inset: 30px -18px -20px 30px;
  z-index: 0;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(0, 85, 218, .42), rgba(7, 17, 31, .68));
}

.hm-services-v3__portrait {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: #0D2036;
}

.hm-services-v3__portrait img {
  display: block;
  width: 100%;
  aspect-ratio: .83;
  object-fit: cover;
  object-position: center top;
}

.hm-services-v3__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hm-services-v3__card {
  position: relative;
  min-height: 100%;
  padding: 25px 22px;
  border: 1px solid var(--hm-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 17, 31, .075);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hm-services-v3__card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 85, 218, .24);
  box-shadow: 0 26px 68px rgba(7, 17, 31, .11);
}

.hm-services-v3__card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: #fff;
  background: var(--hm-blue);
  font-weight: 950;
  direction: ltr;
}

.hm-services-v3__card:nth-child(2n) .hm-services-v3__card-num {
  color: var(--hm-ink);
  background: var(--hm-yellow);
}

.hm-services-v3__card:nth-child(3n) .hm-services-v3__card-num {
  background: var(--hm-coral);
}

.hm-services-v3__card h3 {
  margin: 0 0 10px;
  color: var(--hm-ink);
  font-size: 19px;
  font-weight: 950;
  line-height: 1.65;
}

.hm-services-v3__card p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 14.5px;
  line-height: 1.95;
}

.hm-services-v3__card-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--hm-blue) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 900;
}

.hm-services-v3__card-link:hover {
  color: var(--hm-coral) !important;
}

.hm-services-v3__cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hm-services-v3__cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hm-services-v3__dark-card {
  padding: 24px 22px;
  border: 1px solid rgba(205, 255, 252, .14);
  border-radius: 24px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .15);
}

.hm-services-v3__dark-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.65;
}

.hm-services-v3__dark-card p {
  margin: 0;
  color: #C9D6E3;
  font-size: 14.5px;
  line-height: 1.95;
}

.hm-services-v3__dark-card .hm-services-v3__card-link {
  color: var(--hm-cyan) !important;
}

.hm-services-v3__tag {
  display: inline-flex;
  padding: 6px 10px;
  margin-bottom: 13px;
  border: 1px solid rgba(205, 255, 252, .15);
  border-radius: 999px;
  color: var(--hm-cyan);
  background: rgba(205, 255, 252, .06);
  font-size: 11px;
  font-weight: 900;
  direction: ltr;
}

.hm-services-v3__split {
  display: grid;
  grid-template-columns: minmax(340px, .72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: center;
  direction: ltr;
}

.hm-services-v3__split-copy,
.hm-services-v3__split-media {
  min-width: 0;
  direction: rtl;
}

.hm-services-v3__media-card {
  max-width: 500px;
  margin-inline: auto;
  padding: 9px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(0, 85, 218, .14), rgba(255, 136, 75, .12));
  box-shadow: 0 28px 72px rgba(7, 17, 31, .13);
}

.hm-services-v3__media-card img {
  display: block;
  width: 100%;
  border-radius: 23px;
  object-fit: cover;
}

.hm-services-v3__timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hm-services-v3__timeline--7 {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.hm-services-v3__timeline--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hm-services-v3__step {
  padding: 22px 18px;
  border: 1px solid var(--hm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(7, 17, 31, .065);
}

.hm-services-v3__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 13px;
  border-radius: 15px;
  color: #fff;
  background: var(--hm-blue);
  font-size: 13px;
  font-weight: 950;
  direction: ltr;
}

.hm-services-v3__step:nth-child(2n) .hm-services-v3__step-num {
  color: var(--hm-ink);
  background: var(--hm-yellow);
}

.hm-services-v3__step:nth-child(3n) .hm-services-v3__step-num {
  background: var(--hm-coral);
  color: #fff;
}

.hm-services-v3__step h3 {
  margin: 0 0 8px;
  color: var(--hm-ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.65;
}

.hm-services-v3__step p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 13.8px;
  line-height: 1.92;
}

.hm-services-v3__pricing {
  display: grid;
  gap: 12px;
}

.hm-services-v3__price {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) minmax(180px, .34fr);
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--hm-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7, 17, 31, .06);
}

.hm-services-v3__price-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: #fff;
  background: var(--hm-blue);
  font-weight: 950;
  direction: ltr;
}

.hm-services-v3__price:nth-child(2n) .hm-services-v3__price-num {
  color: var(--hm-ink);
  background: var(--hm-yellow);
}

.hm-services-v3__price h3 {
  margin: 0 0 6px;
  color: var(--hm-ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.6;
}

.hm-services-v3__price p {
  margin: 0;
  color: var(--hm-muted);
  font-size: 14px;
  line-height: 1.9;
}

.hm-services-v3__price-value {
  padding: 14px 16px;
  border-radius: 18px;
  color: var(--hm-blue);
  background: rgba(0, 85, 218, .055);
  border: 1px solid rgba(0, 85, 218, .12);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.7;
}

.hm-services-v3__faq {
  display: grid;
  gap: 12px;
}

.hm-services-v3__faq details {
  overflow: hidden;
  border: 1px solid var(--hm-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(7, 17, 31, .055);
}

.hm-services-v3__faq summary {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px 20px 16px 60px;
  color: var(--hm-ink);
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.8;
}

.hm-services-v3__faq summary::-webkit-details-marker {
  display: none;
}

.hm-services-v3__faq summary::after {
  content: "+";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 11px;
  color: #fff;
  background: var(--hm-blue);
  font-size: 19px;
  font-weight: 950;
}

.hm-services-v3__faq details[open] summary::after {
  content: "−";
  color: var(--hm-ink);
  background: var(--hm-yellow);
}

.hm-services-v3__faq-answer {
  padding: 0 20px 18px;
}

.hm-services-v3__faq-answer p {
  margin: 0;
  padding: 16px 18px;
  border-radius: 16px;
  color: var(--hm-muted);
  background: var(--hm-bg);
  font-size: 14.5px;
  line-height: 2;
}

.hm-services-v3__note {
  margin-top: 18px;
  padding: 20px 22px;
  border-right: 4px solid var(--hm-blue);
  border-radius: 20px;
  color: var(--hm-text);
  background: linear-gradient(135deg, rgba(0, 85, 218, .055), rgba(205, 255, 252, .35));
  font-size: 15px;
  line-height: 2;
}

.hm-services-v3__section--dark .hm-services-v3__note {
  color: #E3EDF6;
  border-color: var(--hm-yellow);
  background: linear-gradient(135deg, rgba(255, 199, 100, .09), rgba(205, 255, 252, .05));
}

.hm-services-v3__cta {
  text-align: center;
}

.hm-services-v3__cta .hm-services-v3__section-title,
.hm-services-v3__cta .hm-services-v3__lead,
.hm-services-v3__cta .hm-services-v3__rule {
  margin-inline: auto;
}

.hm-services-v3__cta .hm-services-v3__actions {
  justify-content: center;
}

.hm-services-v3 a:focus-visible,
.hm-services-v3 summary:focus-visible {
  outline: 3px solid rgba(255, 87, 127, .32);
  outline-offset: 4px;
}

@media (max-width: 1120px) {
  .hm-services-v3__hero-grid {
    grid-template-columns: minmax(300px, 370px) minmax(0, 1fr);
    gap: 44px;
  }

  .hm-services-v3__cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-services-v3__timeline,
  .hm-services-v3__timeline--7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hm-services-v3__hero,
  .hm-services-v3__section {
    padding: 68px 0;
  }

  .hm-services-v3__hero-grid,
  .hm-services-v3__split {
    grid-template-columns: 1fr;
  }

  .hm-services-v3__hero-grid {
    grid-template-areas:
      "copy"
      "visual";
  }

  .hm-services-v3__hero-copy,
  .hm-services-v3__head,
  .hm-services-v3__split-copy {
    text-align: center;
  }

  .hm-services-v3__hero-copy .hm-services-v3__eyebrow,
  .hm-services-v3__hero-copy .hm-services-v3__lead,
  .hm-services-v3__hero-copy .hm-services-v3__rule,
  .hm-services-v3__head .hm-services-v3__eyebrow,
  .hm-services-v3__head .hm-services-v3__intro,
  .hm-services-v3__head .hm-services-v3__rule,
  .hm-services-v3__split-copy .hm-services-v3__eyebrow,
  .hm-services-v3__split-copy .hm-services-v3__lead,
  .hm-services-v3__split-copy .hm-services-v3__rule {
    margin-inline: auto;
  }

  .hm-services-v3__hero-copy .hm-services-v3__actions,
  .hm-services-v3__split-copy .hm-services-v3__actions {
    justify-content: center;
  }

  .hm-services-v3__portrait-shell {
    margin-inline: auto;
  }

  .hm-services-v3__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hm-services-v3__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hm-services-v3__timeline--6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hm-services-v3__container {
    width: min(100% - 28px, 1240px);
  }

  .hm-services-v3__hero,
  .hm-services-v3__section {
    padding: 54px 0;
  }

  .hm-services-v3__title {
    font-size: clamp(34px, 10vw, 47px);
  }

  .hm-services-v3__section-title {
    font-size: clamp(27px, 8vw, 36px);
  }

  .hm-services-v3__lead,
  .hm-services-v3__intro {
    font-size: 15px;
    line-height: 2;
  }

  .hm-services-v3__actions {
    flex-direction: column;
  }

  .hm-services-v3__btn {
    width: 100%;
  }

  .hm-services-v3__cards,
  .hm-services-v3__cards--4,
  .hm-services-v3__cards--2,
  .hm-services-v3__timeline,
  .hm-services-v3__timeline--7,
  .hm-services-v3__timeline--6 {
    grid-template-columns: 1fr;
  }

  .hm-services-v3__price {
    grid-template-columns: 1fr;
  }

  .hm-services-v3__price-value {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-services-v3 *,
  .hm-services-v3 *::before,
  .hm-services-v3 *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
