/* ==============================================================
   HOMEPAGE  (.hm-*)
   Builds on web-development-services.css + web-development-motion.css.
   ============================================================== */
.hm {
  --h-glass:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94))
      padding-box,
    linear-gradient(
        140deg,
        rgba(99, 102, 241, 0.35),
        rgba(226, 232, 255, 0.6) 40%,
        rgba(124, 58, 237, 0.3)
      )
      border-box;
}
.hm-h2 {
  font-size: clamp(2rem, 4.1vw, 3.25rem);
  font-weight: 780;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.hm-h2--light {
  color: #fff !important;
}
.hm-h2--light span {
  background: linear-gradient(120deg, #93c5fd, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
}
.hm-light-p {
  margin: 18px 0 28px !important;
  color: #b8c1dd;
  font-size: 16.5px;
  line-height: 1.8;
}
.hm-center {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ================= HERO ================= */
.hm-hero {
  padding-top: clamp(40px, 6vw, 80px);
}
.hm-hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}
.hm-hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}
.hm-hero-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  margin-top: 30px !important;
}
.hm-hero-line li {
  display: inline-flex;
  align-items: center;
}
.hm-hero-line li:not(:last-child):after {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 12px;
  border-radius: 50%;
  background: #a5b4fc;
}
.hm-hero-line a {
  color: var(--w-muted);
  font: 700 13.5px/1.3 var(--font-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.hm-hero-line a:hover {
  color: var(--w-blue);
}
/* floating stack */
.hm-stack {
  position: relative;
  height: 500px;
  animation: wdsIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.hm-card {
  position: absolute;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #fff;
  box-shadow: 0 30px 70px rgba(22, 34, 90, 0.16);
  backdrop-filter: blur(10px);
  transform: translate(var(--px, 0), var(--py, 0));
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hm-card--site {
  left: 0;
  top: 30px;
  width: 78%;
  overflow: hidden;
}
.hm-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f1f3fa;
  border-bottom: 1px solid var(--w-line);
}
.hm-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd2e4;
}
.hm-bar span:nth-child(1) {
  background: #f87171;
}
.hm-bar span:nth-child(2) {
  background: #fbbf24;
}
.hm-bar span:nth-child(3) {
  background: #34d399;
}
.hm-bar em {
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 7px;
  background: #fff;
  color: var(--w-muted);
  font: 600 11px/1 var(--font-secondary);
  font-style: normal;
}
.hm-site {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 0 16px;
  padding: 22px;
}
.hm-site b,
.hm-site > i,
.hm-site u {
  grid-column: 1;
  display: block;
  border-radius: 6px;
  text-decoration: none;
}
.hm-site b {
  height: 18px;
  width: 90%;
  background: var(--w-ink);
}
.hm-site > i {
  height: 8px;
  margin-top: 12px;
  background: #dde2ef;
}
.hm-site > i.s {
  width: 70%;
  margin-top: 7px;
}
.hm-site u {
  justify-self: start;
  align-self: start;
  margin-top: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffd35e;
  color: #1d1c18;
  font: 800 11px/1 var(--font-secondary);
}
.hm-site-img {
  grid-column: 2;
  grid-row: 1/5;
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 14px;
  background: linear-gradient(140deg, #e0e7ff, #ede9fe);
  color: var(--w-violet);
  font-size: 40px;
}
.hm-card--dash {
  right: 0;
  top: 190px;
  width: 64%;
  padding: 16px;
  animation: hmFloat 7s ease-in-out infinite;
}
.hm-card-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--w-ink);
  font: 800 13px/1 var(--font-secondary);
}
.hm-card-h i {
  color: var(--w-violet);
}
.hm-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.hm-kpis span {
  padding: 10px;
  border-radius: 12px;
  background: var(--w-soft);
}
.hm-kpis small {
  display: block;
  color: var(--w-muted);
  font-size: 10.5px;
}
.hm-kpis b {
  display: block;
  margin-top: 4px;
  color: var(--w-ink);
  font: 800 16px/1 var(--font-primary);
}
.hm-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 70px;
}
.hm-bars i {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #a5b4fc, #6366f1);
  transform-origin: bottom;
  animation: wdsBar 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}
.hm-bars i:nth-child(even) {
  background: linear-gradient(180deg, #c4b5fd, #7c3aed);
}
.hm-card--growth {
  left: 6%;
  bottom: 18px;
  width: 48%;
  padding: 16px;
  animation: hmFloat 8s ease-in-out -3s infinite;
}
.hm-card--growth svg {
  display: block;
  width: 100%;
  height: 70px;
}
.hm-line {
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: hmDraw 2s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
@keyframes hmDraw {
  to {
    stroke-dashoffset: 0;
  }
}
.hm-card--auto {
  right: 6%;
  top: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  animation: hmFloat 6s ease-in-out -1.5s infinite;
}
.hm-card--auto > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #fef3c7;
  color: #d97706;
  font-size: 16px;
}
.hm-card--auto strong {
  display: block;
  color: var(--w-ink);
  font: 800 13px/1.2 var(--font-secondary);
}
.hm-card--auto small {
  color: var(--w-muted);
  font-size: 11.5px;
}
@keyframes hmFloat {
  50% {
    translate: 0 -10px;
  }
}

/* ================= WHAT WE DO: sticky card deck ================= */
.hm-deck {
  display: grid;
  gap: 28px;
}
.hm-svc {
  position: sticky;
  top: calc(var(--wds-subnav-top, 72px) + 26px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 32px;
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(
        140deg,
        rgba(99, 102, 241, 0.35),
        rgba(226, 232, 255, 0.8) 40%,
        rgba(124, 58, 237, 0.3)
      )
      border-box;
  box-shadow: 0 30px 70px rgba(22, 34, 90, 0.1);
  transform: scale(var(--s, 1));
  transform-origin: center top;
  transition: transform 0.15s linear;
}
.hm-svc:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #eef1fa;
  opacity: var(--dim, 0);
  pointer-events: none;
  transition: opacity 0.15s linear;
}
.hm-svc {
  top: calc(var(--wds-subnav-top, 72px) + 26px + var(--n, 0) * 16px);
}
.hm-svc-n {
  display: block;
  font: 800 16px/1 var(--font-primary);
  color: var(--w-violet);
  letter-spacing: 0.1em;
}
.hm-svc h3,
.hm-sol h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.hm-svc h3 i,
.hm-sol h3 i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 16px;
  background: var(--w-grad);
  color: #fff;
  font-size: 22px;
  box-shadow: 0 12px 26px rgba(79, 70, 229, 0.28);
}
.hm-svc-tag {
  color: var(--w-blue);
  font: 700 17px/1.4 var(--font-secondary);
}
.hm-svc .wds-btn {
  margin-top: 26px;
}
/* Feature list: "What's included" panel of small tiles (.hm prefix beats the shared .wds ul reset) */
.hm .hm-svc-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
  padding: 26px 22px 22px;
  border-radius: 24px;
  background: linear-gradient(160deg, #f6f7ff 0%, #f3f0ff 100%);
  border: 1px solid #e4e7fb;
  box-shadow: inset 0 1px 0 #fff;
}
.hm .hm-svc-list:before {
  content: "What's included";
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--w-violet);
  font: 800 11.5px/1 var(--font-secondary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hm .hm-svc-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 11px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8ebf7;
  color: var(--w-ink);
  font: 650 13.5px/1.3 var(--font-secondary);
  box-shadow: 0 4px 12px rgba(22, 34, 90, 0.04);
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s,
    box-shadow 0.25s;
}
.hm .hm-svc-list li:hover {
  transform: translateY(-2px);
  border-color: #c7d2fe;
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.12);
}
.hm .hm-svc-list li i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e0e7ff, #ede9fe);
  color: var(--w-blue);
  font-size: 15px;
  line-height: 1;
  transition:
    background 0.25s,
    color 0.25s;
}
.hm .hm-svc-list li:hover i {
  background: var(--w-grad);
  color: #fff;
}
.hm-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}
.hm-more--center {
  justify-content: center;
}
.hm-more p {
  color: var(--w-muted);
  font: 700 14px/1 var(--font-secondary);
}
.hm-more ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hm-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--w-line);
  color: var(--w-ink);
  font: 700 14px/1 var(--font-secondary);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(22, 34, 90, 0.05);
  transition: 0.2s;
}
.hm-more a i:first-child {
  color: var(--w-blue);
}
.hm-more a i:last-child {
  font-size: 11px;
  color: var(--w-muted);
  transition: transform 0.2s;
}
.hm-more a:hover {
  border-color: #a5b4fc;
  color: var(--w-blue);
  transform: translateY(-2px);
}
.hm-more a:hover i:last-child {
  transform: translate(2px, -2px);
  color: var(--w-blue);
}

/* ================= SOLUTIONS ================= */
.hm-sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hm-sol {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: 30px;
  border: 1px solid transparent;
  background: var(--h-glass);
  box-shadow: 0 20px 50px rgba(22, 34, 90, 0.08);
}
.hm-sol:before,
.hm-why-card:before,
.hm-tech:before,
.hm-case:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  background: radial-gradient(
    300px circle at var(--mx, 50%) var(--my, 50%),
    rgba(99, 102, 241, 0.12),
    transparent 70%
  );
}
.hm-sol:hover:before,
.hm-why-card:hover:before,
.hm-tech:hover:before,
.hm-case:hover:before {
  opacity: 1;
}
.hm-sol-vis {
  display: grid;
  place-items: center;
  height: 240px;
  padding: 28px;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(199, 210, 254, 0.7),
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 90%,
      rgba(221, 214, 254, 0.8),
      transparent 50%
    ),
    #f7f8ff;
  border-bottom: 1px solid #e9ecf6;
}
.hm-mini {
  width: 100%;
  max-width: 340px;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dfe4f3;
  box-shadow: 0 20px 40px rgba(22, 34, 90, 0.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hm-sol:hover .hm-mini {
  transform: translateY(-6px) rotate(-1deg);
}
.hm-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: var(--w-ink);
  font: 800 14px/1 var(--font-secondary);
}
.hm-mini-top em {
  padding: 5px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #047857;
  font: 800 10.5px/1 var(--font-secondary);
  font-style: normal;
}
.hm-mini p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid #f0f2f8;
  color: var(--w-ink);
  font: 600 13px/1 var(--font-secondary);
}
.hm-mini p i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font: 800 11px/1 var(--font-secondary);
  font-style: normal;
}
.hm-mini p i.p {
  background: #10b981;
  color: #fff;
}
.hm-mini p i.a {
  background: #ef4444;
  color: #fff;
}
.hm-mini p.tot {
  border-top: 2px dashed var(--w-line);
  font-weight: 800;
}
.hm-mini p.tot b {
  color: var(--w-blue);
  font-size: 16px;
}
.hm-sol-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(26px, 3.5vw, 40px);
}
.hm-sol-copy .wds-tags {
  margin-top: 22px;
}
.hm-sol-copy .wds-link {
  margin-top: auto;
  padding-top: 24px;
}

/* ================= INDUSTRIES: expanding panels ================= */
.hm-ind {
  display: flex;
  gap: 12px;
  height: 340px;
}
.hm-ind-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  padding: 22px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: var(--h-glass);
  box-shadow: 0 18px 44px rgba(22, 34, 90, 0.07);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    flex 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s;
}
.hm-ind-title {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--w-ink);
  font: 800 16px/1.25 var(--font-primary);
  text-align: left;
  cursor: pointer;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transition: color 0.3s;
}
.hm-ind-item.is-open .hm-ind-title {
  writing-mode: horizontal-tb;
  transform: none;
  color: #fff;
  font-size: 24px;
}
.hm-ind-title:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 4px;
  border-radius: 6px;
}
.hm-ind-more {
  display: none;
  max-width: 420px;
}
.hm-ind-item.is-open .hm-ind-more {
  display: block;
  animation: wdsIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.hm-ind-more small {
  display: block;
  margin-top: 10px;
  color: #e0e7ff;
  font: 600 15px/1.6 var(--font-secondary);
}
.hm-ind-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.hm-ind-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  font: 700 13px/1 var(--font-secondary);
  text-decoration: none;
  transition:
    transform 0.2s,
    background 0.2s;
}
.hm-ind-main {
  background: #fff;
  color: var(--w-violet);
}
.hm-ind-main:hover {
  transform: translateX(3px);
  color: var(--w-blue);
}
.hm-ind-sub {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.hm-ind-sub:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.hm-ind-links a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.hm-ind-item.is-open {
  flex: 3.2;
  background:
    linear-gradient(160deg, #4f46e5, #7c3aed) padding-box,
    linear-gradient(140deg, #818cf8, #c4b5fd) border-box;
}
.hm-ind-ico {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: #eef2ff;
  color: var(--w-blue);
  font-size: 22px;
  transition: 0.4s;
}
.hm-ind-item.is-open .hm-ind-ico {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ================= OUR WORK ================= */
.hm-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.hm-case {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  border: 1px solid transparent;
  background: var(--h-glass);
  box-shadow: 0 20px 50px rgba(22, 34, 90, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.hm-case:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px rgba(79, 70, 229, 0.16);
}
.hm-case-img {
  aspect-ratio: 16/8;
  overflow: hidden;
  background: #eef2ff;
}
.hm-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hm-case:hover .hm-case-img img {
  transform: scale(1.05);
}
.hm-case-body {
  padding: clamp(22px, 3vw, 32px);
}
.hm-case h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hm-case-sub {
  margin-top: 6px !important;
  color: var(--w-violet);
  font: 700 13px/1.4 var(--font-secondary);
}
.hm-case dl {
  display: grid;
  gap: 14px;
  margin: 20px 0;
}
.hm-case dt {
  margin-bottom: 4px;
  color: var(--w-blue);
  font: 800 11.5px/1 var(--font-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hm-case dd {
  margin: 0;
  color: var(--w-text);
  font-size: 14.5px;
  line-height: 1.65;
}
.hm-case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hm-case-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--w-blue);
  font: 700 12px/1 var(--font-secondary);
}
.hm-case-out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--w-line);
}
.hm-case-out b {
  display: block;
  font: 800 26px/1 var(--font-primary);
  background: var(--w-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hm-case-out small {
  display: block;
  margin-top: 5px;
  color: var(--w-muted);
  font: 600 12.5px/1.3 var(--font-secondary);
}

/* ================= WHY ================= */
.hm-why {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}
.hm-why-lead {
  position: sticky;
  top: calc(var(--wds-subnav-top, 72px) + 60px);
}
.hm-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hm-why-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid transparent;
  background: var(--h-glass);
  box-shadow: 0 18px 44px rgba(22, 34, 90, 0.07);
  transition: transform 0.25s;
}
.hm-why-card:hover {
  transform: translateY(-4px);
}
.hm-why-card:first-child {
  grid-column: 1/-1;
  background:
    linear-gradient(140deg, #4f46e5, #7c3aed) padding-box,
    linear-gradient(140deg, #818cf8, #c4b5fd) border-box;
}
.hm-why-card:first-child h3,
.hm-why-card:first-child p {
  color: #fff;
}
.hm-why-card:first-child p {
  opacity: 0.85;
}
.hm-why-card:first-child i {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.hm-why-card i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #eef2ff;
  color: var(--w-blue);
  font-size: 21px;
}
.hm-why-card h3 {
  margin: 16px 0 8px;
  font-size: 18px;
  font-weight: 780;
}
.hm-why-card p {
  color: var(--w-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ================= TECH ================= */
.hm-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.hm-tech {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--w-line);
  background: #fff;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.hm-tech:hover {
  transform: translateY(-4px);
  border-color: #c7d2fe;
  box-shadow: 0 22px 50px rgba(22, 34, 90, 0.1);
}
.hm-tech-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hm-tech-top > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--w-grad);
  color: #fff;
  font-size: 22px;
}
.hm-tech-icons {
  display: flex;
  gap: 6px;
}
.hm-tech-icons i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--w-soft);
  color: var(--w-muted);
  font-size: 15px;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    color 0.3s;
}
.hm-tech:hover .hm-tech-icons i {
  color: var(--w-violet);
  transform: translateY(-4px);
}
.hm-tech:hover .hm-tech-icons i:nth-child(2) {
  transition-delay: 0.05s;
}
.hm-tech:hover .hm-tech-icons i:nth-child(3) {
  transition-delay: 0.1s;
}
.hm-tech:hover .hm-tech-icons i:nth-child(4) {
  transition-delay: 0.15s;
}
.hm-tech h3 {
  margin: 20px 0 8px;
  font-size: 19px;
  font-weight: 780;
}
.hm-tech p {
  color: var(--w-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ================= CONSULTATION ================= */
.hm-consult-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.hm-options {
  --s: min(420px, 82vw);
  position: relative;
  width: var(--s);
  height: var(--s);
  margin: 0 auto;
}
.hm-options:before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1.5px dashed rgba(165, 180, 252, 0.35);
  animation: wdsSpin 40s linear infinite;
}
.hm-options-core {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 124px;
  height: 124px;
  margin: -62px 0 0 -62px;
  border-radius: 50%;
  background: var(--w-grad);
  color: #fff;
  box-shadow:
    0 0 0 12px rgba(99, 102, 241, 0.14),
    0 20px 50px rgba(124, 58, 237, 0.45);
  animation: wdsCore 3s ease-in-out infinite;
}
.hm-options-core i {
  font-size: 30px;
}
.hm-options-core b {
  font: 800 13px/1 var(--font-secondary);
}
.hm-options span {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e3e8fb;
  font: 700 13px/1 var(--font-secondary);
  white-space: nowrap;
  transform: translate(-50%, -50%) rotate(calc(var(--k) * 51.43deg))
    translateY(calc(var(--s) * -0.4)) rotate(calc(var(--k) * -51.43deg));
  animation: hmPulse 7s ease-in-out infinite;
  animation-delay: calc(var(--k) * 1s);
}
@keyframes hmPulse {
  0%,
  12% {
    background: var(--w-grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 26px rgba(124, 58, 237, 0.4);
  }
  20%,
  100% {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #e3e8fb;
    box-shadow: none;
  }
}

/* ================= COMPANY ================= */
.hm-co-h {
  margin: 0 0 4px !important;
  font-size: clamp(1.5rem, 2.6vw, 2rem) !important;
  font-weight: 780;
  letter-spacing: -0.035em;
}
.hm-co--careers .wds-type-icon {
  background: linear-gradient(120deg, #0ea5e9, #6366f1);
}

/* ================= CONTACT ================= */
.hm-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: center;
}
.hm-contact-btn {
  margin-top: 28px;
}
.hm-contact-list {
  display: grid;
  gap: 14px;
}
.hm-contact-list a,
.hm-contact-list div {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid transparent;
  background: var(--h-glass);
  box-shadow: 0 14px 34px rgba(22, 34, 90, 0.06);
  color: var(--w-ink);
  font: 700 16px/1.5 var(--font-secondary);
  text-decoration: none;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.hm-contact-list a:hover {
  transform: translateX(6px);
  box-shadow: 0 20px 44px rgba(79, 70, 229, 0.14);
}
.hm-contact-list i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: var(--w-grad);
  color: #fff;
  font-size: 19px;
}
.hm-contact-list small {
  display: block;
  margin-bottom: 2px;
  color: var(--w-muted);
  font: 700 12px/1.2 var(--font-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ================= Responsive ================= */
@media (max-width: 1100px) {
  .hm-hero-grid {
    grid-template-columns: 1fr;
  }
  .hm-hero-line {
    justify-content: center;
  }
  .hm-stack {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
  .hm-tech-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 980px) {
  .hm-sol-grid,
  .hm-work-grid,
  .hm-why,
  .hm-consult-grid,
  .hm-contact {
    grid-template-columns: 1fr;
  }
  .hm-consult-grid > *,
  .hm-contact > * {
    min-width: 0;
  }
  .hm-svc {
    position: relative;
    top: 0 !important;
    grid-template-columns: 1fr;
    transform: none;
  }
  .hm-svc:after {
    display: none;
  }
  .hm-why-lead {
    position: static;
  }
  .hm-ind {
    flex-direction: column;
    height: auto;
  }
  .hm-ind-item {
    flex: none;
    min-height: 74px;
    padding: 18px 18px 18px 84px;
    justify-content: center;
  }
  .hm-ind-ico {
    top: 12px;
    left: 16px;
  }
  .hm-ind-title {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .hm-ind-item.is-open .hm-ind-title {
    font-size: 19px;
  }
}
@media (max-width: 640px) {
  .hm-stack {
    height: 400px;
  }
  .hm-card--site {
    width: 92%;
  }
  .hm-site-img {
    min-height: 110px;
  }
  .hm-card--dash {
    width: 78%;
    top: 170px;
  }
  .hm-card--growth {
    width: 62%;
    left: 0;
  }
  .hm-card--auto {
    right: 0;
  }
  .hm-svc {
    padding: 24px 20px;
    border-radius: 26px;
  }
  .hm .hm-svc-list {
    grid-template-columns: 1fr;
    padding: 22px 16px 16px;
  }
  .hm-svc .wds-btn {
    width: 100%;
  }
  .hm-tech-grid,
  .hm-why-grid,
  .hm-case-out {
    grid-template-columns: 1fr 1fr;
  }
  .hm-tech-grid,
  .hm-why-grid {
    grid-template-columns: 1fr;
  }
  .hm-options {
    --s: min(330px, 86vw);
  }
  .hm-options-core {
    width: 96px;
    height: 96px;
    margin: -48px 0 0 -48px;
  }
  .hm-options span {
    padding: 8px 10px;
    font-size: 11.5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hm *,
  .hm *:before,
  .hm *:after {
    animation: none !important;
  }
  .hm-line {
    stroke-dashoffset: 0;
  }
  .hm-svc {
    transform: none !important;
  }
  .hm-svc:after {
    display: none;
  }
}

/* ================= ABOUT / CAREERS bands ================= */
.hm-band-wrap {
  padding: 0 0 clamp(64px, 7vw, 96px);
}
.hm-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 36px);
  align-items: center;
  padding: clamp(26px, 3.5vw, 40px) clamp(24px, 3.5vw, 44px);
  border-radius: 28px;
  border: 1px solid transparent;
  background: var(--h-glass);
  box-shadow: 0 22px 54px rgba(22, 34, 90, 0.09);
}
.hm-band:before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(199, 210, 254, 0.55),
    transparent 70%
  );
  pointer-events: none;
}
.hm-band-ico {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--w-grad);
  color: #fff;
  font-size: 27px;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.28);
}
.hm-band-copy h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 780;
  letter-spacing: -0.035em;
}
.hm-band-copy p {
  max-width: 760px;
  margin-top: 10px !important;
  color: var(--w-muted);
  font-size: 15.5px;
  line-height: 1.75;
}
.hm-band > a {
  position: relative;
  white-space: nowrap;
}
.hm-band--careers .hm-band-ico {
  background: linear-gradient(120deg, #0ea5e9, #6366f1);
}
@media (max-width: 980px) {
  .hm-band {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .hm-band > a {
    grid-column: 1/-1;
    justify-self: start;
  }
}
@media (max-width: 640px) {
  .hm-band {
    grid-template-columns: 1fr;
  }
  .hm-band > a {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }
}
#careers.hm-band-wrap {
  padding-top: clamp(64px, 7vw, 96px);
}

/* ================= Certifications slider: compact size =================
   Same design as before, scaled down. The slider JS still shows 5 cards per
   row; capping the viewport at the content width makes each card smaller.
   body.home-page prefix beats home-palette.css, which loads after this file. */
body.home-page .cert-section {
  padding-top: 40px;
  padding-bottom: 30px;
}
body.home-page .cert-section .cert-viewport,
body.home-page .cert-section .cert-dots {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}
body.home-page .cert-section .cert-viewport {
  width: calc(100% - 40px);
  padding: 8px 2px 14px;
}
body.home-page .cert-section .cert-card {
  min-height: 210px;
  padding: 22px 16px 18px;
  gap: 14px;
  border-radius: 22px;
}
body.home-page .cert-section .cert-card-logo-wrap {
  width: 96px;
  height: 96px;
  padding: 10px;
  border-radius: 18px;
  background: #fff;
}
body.home-page .cert-section .cert-card-img {
  padding: 4px;
}
body.home-page .cert-section .cert-card-label {
  font-size: 14px;
  line-height: 1.4;
}
body.home-page .cert-section .cert-card:hover {
  transform: translateY(-6px);
}
@media (max-width: 640px) {
  body.home-page .cert-section .cert-card {
    min-height: 190px;
  }
  body.home-page .cert-section .cert-card-logo-wrap {
    width: 86px;
    height: 86px;
  }
}
