/**
 * Styles for the igrow/service-list-reveal block ONLY.
 * Scoped entirely under .igrow-service-list-reveal — no shared classnames with any other block.
 * The wireframe/interface mock is decorative illustration, not real content.
 */

.igrow-service-list-reveal {
  padding: 110px 0;
  background: var(--gray-bg);
}

.igrow-service-list-reveal__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

.igrow-service-list-reveal__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 52px;
}

.igrow-service-list-reveal__row {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 20px;
  align-items: start;
}

/* ---------- Numbered list ---------- */

.igrow-service-list-reveal__list {
  border-radius: 24px;
  background: var(--cream);
  border: 1px solid #dad7d0;
  padding: 10px 24px;
}

.igrow-service-list-reveal__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 24px;
  padding: 24px 0;
  border-bottom: 1px solid #dad7d0;
}

.igrow-service-list-reveal__item:last-child {
  border-bottom: none;
}

.igrow-service-list-reveal__item-left {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 290px;
  flex-shrink: 0;
}

.igrow-service-list-reveal__num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.igrow-service-list-reveal__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.03em;
  color: #0f1216;
}

.igrow-service-list-reveal__desc {
  flex: 1 0 260px;
  min-width: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.375;
  color: var(--muted);
}

/* ---------- Fun card ---------- */

.igrow-service-list-reveal__fun {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--dark);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.igrow-service-list-reveal__fun::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 239, 9, 0.22), transparent 70%);
  pointer-events: none;
}

.igrow-service-list-reveal__fun > * {
  position: relative;
}

.igrow-service-list-reveal__fun-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
}

.igrow-service-list-reveal__mock {
  position: relative;
  aspect-ratio: 352 / 330;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0f1c;
}

.igrow-service-list-reveal__mock-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.igrow-service-list-reveal__mock-clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}

.igrow-service-list-reveal__mock-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.igrow-service-list-reveal__mock-logo {
  width: 50px;
  height: 10px;
  border-radius: 3px;
}

.igrow-service-list-reveal__mock-link {
  width: 26px;
  height: 6px;
  border-radius: 3px;
  margin-left: 10px;
}

.igrow-service-list-reveal__mock-cta {
  width: 36px;
  height: 16px;
  border-radius: 8px;
  margin-left: auto;
  background: #075bdf;
}

.igrow-service-list-reveal__mock-body {
  position: relative;
  flex: 1 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.igrow-service-list-reveal__mock-text {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.igrow-service-list-reveal__mock-bar {
  display: block;
  border-radius: 3px;
}

.igrow-service-list-reveal__mock-bar--h1 {
  height: 12px;
  width: 85%;
}

.igrow-service-list-reveal__mock-bar--h2 {
  height: 12px;
  width: 65%;
  margin-bottom: 6px;
}

.igrow-service-list-reveal__mock-bar--line {
  height: 5px;
  width: 95%;
}

.igrow-service-list-reveal__mock-bar--line2 {
  height: 5px;
  width: 75%;
  margin-bottom: 4px;
}

.igrow-service-list-reveal__mock-pill {
  margin-top: 4px;
  width: 45%;
  height: 18px;
  border-radius: 9px;
}

.igrow-service-list-reveal__mock-image {
  flex-shrink: 0;
  width: 38%;
  align-self: stretch;
  border-radius: 8px;
}

.igrow-service-list-reveal__mock-cards {
  display: flex;
  gap: 8px;
}

.igrow-service-list-reveal__mock-card {
  flex: 1 0 0;
  height: 70px;
  border-radius: 8px;
}

/* Wireframe variant — dashed outlines, no fill */
.igrow-service-list-reveal__mock-layer--wireframe {
  color: rgba(255, 255, 255, 0.35);
}

.igrow-service-list-reveal__mock-layer--wireframe .igrow-service-list-reveal__mock-logo,
.igrow-service-list-reveal__mock-layer--wireframe .igrow-service-list-reveal__mock-link,
.igrow-service-list-reveal__mock-layer--wireframe .igrow-service-list-reveal__mock-bar,
.igrow-service-list-reveal__mock-layer--wireframe .igrow-service-list-reveal__mock-pill,
.igrow-service-list-reveal__mock-layer--wireframe .igrow-service-list-reveal__mock-image,
.igrow-service-list-reveal__mock-layer--wireframe .igrow-service-list-reveal__mock-card {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.igrow-service-list-reveal__mock-layer--wireframe .igrow-service-list-reveal__mock-cta {
  background: transparent;
  border: 1px dashed rgba(7, 91, 223, 0.6);
}

/* Interface variant — solid filled */
.igrow-service-list-reveal__mock-layer--interface {
  background: #ffffff;
}

.igrow-service-list-reveal__mock-layer--interface .igrow-service-list-reveal__mock-logo {
  background: #0a1600;
}

.igrow-service-list-reveal__mock-layer--interface .igrow-service-list-reveal__mock-link {
  background: rgba(10, 22, 0, 0.25);
}

.igrow-service-list-reveal__mock-layer--interface .igrow-service-list-reveal__mock-bar {
  background: rgba(10, 22, 0, 0.1);
}

.igrow-service-list-reveal__mock-layer--interface .igrow-service-list-reveal__mock-bar--h1,
.igrow-service-list-reveal__mock-layer--interface .igrow-service-list-reveal__mock-bar--h2 {
  background: rgba(10, 22, 0, 0.75);
}

.igrow-service-list-reveal__mock-layer--interface .igrow-service-list-reveal__mock-pill {
  background: var(--lime);
}

.igrow-service-list-reveal__mock-layer--interface .igrow-service-list-reveal__mock-image {
  background: linear-gradient(135deg, #147fff, #07004e);
}

.igrow-service-list-reveal__mock-layer--interface .igrow-service-list-reveal__mock-card {
  background: var(--gray-bg);
}

.igrow-service-list-reveal__divider {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--lime);
  transform: translateX(-50%);
  border-radius: 2px;
}

.igrow-service-list-reveal__handle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(184, 240, 8, 0.5);
}

.igrow-service-list-reveal__mock-captions {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  margin-bottom: 36px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.igrow-service-list-reveal__fun-heading {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.13;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.igrow-service-list-reveal__fun-cta {
  display: inline-flex;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--lime);
  text-decoration: none;
}

.igrow-service-list-reveal__fun-cta:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .igrow-service-list-reveal__row {
    grid-template-columns: 1fr;
  }
  .igrow-service-list-reveal__fun {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .igrow-service-list-reveal {
    padding: 56px 0;
  }
  .igrow-service-list-reveal__item-left {
    width: 100%;
  }
  .igrow-service-list-reveal__list {
    padding: 4px 16px;
  }
  .igrow-service-list-reveal__fun {
    max-width: none;
    margin: 0;
  }
}
