/* Services: method on the left, relevant case imagery on the right. */
.service-grid.service-grid-model {
  grid-template-columns: 1.08fr 1fr 1fr;
  grid-template-rows: repeat(2, 275px);
  gap: 16px;
}

.service-model {
  position: relative;
  display: flex;
  grid-row: span 2;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 30px;
  border: 1px solid #cfe1f2;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 48%, rgba(190, 228, 255, .5), transparent 38%),
    linear-gradient(145deg, #f9fcff, #e5f2fc);
}

.model-kicker,
.model-caption {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #4e7da8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.model-caption {
  align-self: center;
  margin: -4px 0 3px;
  color: #316a9e;
  font-size: 12px;
}

.model-copy {
  position: relative;
  z-index: 2;
  max-width: 330px;
  margin: 0;
  color: #55718b;
  font-size: 13px;
  line-height: 1.75;
}

.method-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 395px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.method-ring {
  position: absolute;
  border: 1px solid rgba(44, 135, 210, .48);
  border-radius: 50%;
}

.method-ring-outer { inset: 0; }
.method-ring-middle { inset: 14%; border-color: rgba(52, 146, 221, .4); }
.method-ring-inner { inset: 31%; border-color: rgba(31, 128, 244, .58); }

.method-orbit > b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #147cf4;
  font-size: clamp(56px, 5vw, 80px);
  font-weight: 400;
  line-height: 1;
}

.method-label {
  position: absolute;
  z-index: 3;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #236ca8;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  cursor: default;
}

.method-brand { top: 2%; left: 39%; }
.method-content { right: -10%; bottom: 20%; }
.method-growth { top: 48%; left: -14%; }

.method-label small {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  width: max-content;
  padding: 6px 8px;
  border: 1px solid rgba(83, 153, 210, .28);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 7px 18px rgba(25, 87, 140, .1);
  color: #4d6f8e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity .18s ease, transform .18s ease;
}

.method-label:hover small,
.method-label:focus small {
  opacity: 1;
  transform: translate(-50%, 0);
}

.service-grid-model .service-card {
  min-height: 0;
  grid-row: auto;
}

.service-grid-model .service-content { grid-column: 2; grid-row: 1; }
.service-grid-model .service-integrated { grid-column: 3; grid-row: 1; }
.service-grid-model .service-commerce { grid-column: 2; grid-row: 2; }
.service-grid-model .service-strategy { grid-column: 3; grid-row: 2; }

@media (max-width: 800px) {
  .service-grid.service-grid-model {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 390px repeat(2, 205px);
    gap: 10px;
  }

  .service-model {
    grid-column: 1 / -1;
    grid-row: 1;
    padding: 24px;
    border-radius: 14px;
  }

  .method-orbit {
    width: 310px;
  }

  .model-copy {
    max-width: 250px;
    font-size: 12px;
  }

  .service-grid-model .service-content { grid-column: 1; grid-row: 2; }
  .service-grid-model .service-integrated { grid-column: 2; grid-row: 2; }
  .service-grid-model .service-commerce { grid-column: 1; grid-row: 3; }
  .service-grid-model .service-strategy { grid-column: 2; grid-row: 3; }

  .method-label small {
    display: none;
  }
}

/* Unified service canvas: the growth model belongs to the same visual space as the case work. */
.service-grid-model .card-number,
.service-grid-model .card-arrow,
.service-grid-model .model-kicker,
.service-grid-model .model-copy {
  display: none;
}

@media (min-width: 801px) {
  .service-grid.service-grid-model {
    grid-template-columns: 1.2fr .82fr .82fr;
    grid-template-rows: repeat(2, 222px);
    gap: 14px;
    overflow: visible;
    padding: 30px;
    border-radius: 28px;
    background:
      radial-gradient(circle at 24% 50%, rgba(204, 234, 255, .7), transparent 33%),
      linear-gradient(135deg, #f4faff, #eaf4fb 62%, #f6fbff);
  }

  .service-model {
    overflow: visible;
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .model-kicker {
    padding-top: 8px;
  }

  .model-copy {
    max-width: 340px;
    padding-bottom: 10px;
  }

  .method-orbit {
    width: min(94%, 420px);
    animation: method-float 7s ease-in-out infinite;
  }

  .method-ring-outer {
    border-color: rgba(33, 127, 208, .56);
  }

  .method-ring-middle {
    border-color: rgba(44, 143, 222, .46);
  }

  .method-ring-inner {
    border-color: rgba(23, 124, 245, .68);
  }

  .method-brand {
    left: 39%;
  }

  .method-content {
    right: 1%;
  }

  .method-growth {
    left: 1%;
  }

  .service-grid-model .service-card {
    border-radius: 15px;
  }
}

@keyframes method-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 9px)); }
}

@media (max-width: 800px) {
  .service-grid.service-grid-model {
    padding: 14px;
    border-radius: 18px;
    background:
      radial-gradient(circle at 50% 18%, rgba(204, 234, 255, .7), transparent 38%),
      #eef7fd;
  }

  .service-model {
    border: 0;
    background: transparent;
  }
}
