/* Scoped prototype: the existing theme and homepage are untouched. */
.skema-hero-test-page #pxl-main { padding: 0; }
/* Hero controls the gap before the footer on this prototype. */
.skema-hero-test-page #pxl-footer-elementor .elementor > .e-con:first-child { margin-top: 0; }

/* WordPress service: replace only the legacy first Elementor hero. */
.skema-service-custom-hero #pxl-main { padding-top: 0; }
.skema-service-custom-hero .elementor[data-elementor-id="7810"] > [data-id="7319d1dd"],
.skema-service-custom-hero .elementor[data-elementor-id="7811"] > [data-id="851dc84"],
.skema-service-custom-hero .elementor[data-elementor-id="5498"] > [data-id="f299767"] { display: none; }
.skema-service-custom-hero #pxl-main > .skema-hero-test {
  margin-right: 20px;
  margin-left: 20px;
  border-radius: 0 0 10px 10px;
}
@media (min-width: 768px) {
  .skema-service-custom-hero .skema-hero-test .skema-hero-test__title {
    font-size: clamp(40px, 3.8vw, 56px);
  }
}

.skema-hero-test {
  --hero-black: #000;
  --hero-soft: #f5f5f5;
  --hero-lime: #d9fe00;
  --hero-white: #fff;
  background: var(--hero-soft);
  color: var(--hero-black);
  font-family: Poppins, sans-serif;
  overflow: hidden;
}
.skema-hero-test *, .skema-hero-test *::before, .skema-hero-test *::after { box-sizing: border-box; }
.skema-hero-test__container {
  max-width: 1350px !important;
  min-height: 680px;
  padding-top: 88px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}
.skema-hero-test__copy { position: relative; z-index: 2; }
.skema-hero-test__label .pxl-item--subtitle { margin-bottom: 0; }
.skema-hero-test .skema-hero-test__label .pxl-item--subtitle .pxl-item--subtext { font-size: 18px; }
.skema-hero-test__divider { width: 100%; height: 1px; margin: 14px 0 26px; background-color: #e5e5e5; }
.skema-hero-test .skema-hero-test__title { max-width: 620px; margin: 0; color: var(--hero-black); font-family: 'Funnel Display', sans-serif; font-size: clamp(40px, 4.4vw, 62px); font-weight: 400; line-height: 1.15625; letter-spacing: -1.92px; }
.skema-hero-test__copy > p { max-width: 520px; margin: 26px 0 36px; color: #333; font-family: Poppins, sans-serif; font-size: 18px; line-height: 1.65; }
.skema-hero-test .skema-hero-test__cta .btn { color: #0a0a0a; background: #dbff02; border-radius: 10px; padding: 4px 20px 4px 4px; }
.skema-hero-test .skema-hero-test__cta .btn .pxl--btn-icon { background: #0a0a0a; color: #fff; border-radius: 10px; font-size: 20px; }
.skema-hero-test .skema-hero-test__cta .btn .pxl--btn-icon svg { width: 20px; height: 20px; }
.skema-hero-test .skema-hero-test__cta .btn .pxl--btn-icon svg path { fill: #fff; }
.skema-hero-test .skema-hero-test__cta .btn:hover, .skema-hero-test .skema-hero-test__cta .btn:focus { color: #0a0a0a; }
.skema-hero-test__visual { position: relative; min-width: 0; padding: 44px 32px 44px 34px; }
.skema-hero-test__surface {
  padding: 10px;
  border-radius: 10px;
  background: var(--hero-white);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .28);
}
.skema-hero-test__image-frame { position: relative; overflow: hidden; border-radius: 10px; aspect-ratio: 1 / .91; background: #ddd; }
.skema-hero-test__image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.skema-hero-test__card { position: absolute; z-index: 2; display: flex; border-radius: 15px; box-shadow: 0 14px 35px rgba(0,0,0,.14); }
.skema-hero-test__card--brand { top: 0; right: 0; flex-direction: column; gap: 20px; width: 320px; max-width: 100%; padding: 20px; background: var(--hero-white); border: 1px solid rgba(0,0,0,.05); border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,.09); }
.skema-hero-test__value-title { color: #171717; font-family: 'Funnel Display', sans-serif; font-size: 20px; font-weight: 500; line-height: 1.25; letter-spacing: -.35px; }
.skema-hero-test__stepper { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.skema-hero-test__stepper::before { content: ''; position: absolute; top: 13px; right: 12.5%; left: 12.5%; height: 1px; background: #deded8; }
.skema-hero-test__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 9px; min-width: 0; color: #333; font-family: 'Funnel Display', sans-serif; font-size: 14px; font-weight: 400; line-height: 1.3; white-space: nowrap; }
.skema-hero-test__step-dot { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #f2f3ed; color: #45463f; box-shadow: 0 0 0 5px #fff; font-family: Poppins, sans-serif; font-size: 10px; font-weight: 500; line-height: 1; }
.skema-hero-test__step:last-child .skema-hero-test__step-dot { background: var(--hero-lime); color: #171717; }
.skema-hero-test__card--metric { left: 0; bottom: 15px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px; background: var(--hero-black); color: var(--hero-white); }
.skema-hero-test__metric-number { white-space: nowrap; font-size: 46px; font-weight: 400; line-height: 1; letter-spacing: -.055em; color: var(--hero-lime); font-variant-numeric: tabular-nums; }
.skema-hero-test__metric-detail { font-size: 14px; line-height: 1.45; white-space: nowrap; }
@media (min-width: 992px) {
  .skema-hero-test .container.skema-hero-test__container {
    padding-right: clamp(32px, 3vw, 48px);
    padding-left: clamp(32px, 3vw, 48px);
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    gap: clamp(48px, 6vw, 96px);
  }
}
@media (min-width: 1200px) {
  .skema-hero-test .container.skema-hero-test__container { padding-top: 208px; padding-bottom: 85px; }
}
@media (max-width: 991px) {
  .skema-hero-test__container { min-height: 0; gap: 30px; padding-top: 68px; padding-bottom: 76px; }
  .skema-hero-test .skema-hero-test__title { font-size: clamp(36px, 4.5vw, 48px); }
  .skema-hero-test__copy > p { font-size: 16px; }
  .skema-hero-test__visual { padding: 34px 22px 36px; }
  .skema-hero-test__card--metric { left: -10px; width: auto; gap: 10px; padding: 13px 15px; }
  .skema-hero-test__metric-number { font-size: 42px; }
  .skema-hero-test__metric-detail { font-size: 13px; white-space: normal; }
}
@media (max-width: 767px) {
  .skema-service-custom-hero #pxl-main > .skema-hero-test {
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 0 0 8px 8px;
  }
  .skema-hero-test__container { display: block; padding-top: 50px; padding-bottom: 36px; }
  .skema-hero-test .skema-hero-test__label .pxl-item--subtitle .pxl-item--subtext { font-size: 14px; white-space: normal; }
  .skema-hero-test__divider { margin-bottom: 22px; }
  .skema-hero-test .skema-hero-test__title { font-size: clamp(36px, 9vw, 50px); }
  .skema-hero-test__copy > p { margin: 20px 0 28px; }
  .skema-hero-test__container > .skema-hero-test__cta { margin-top: 28px; }
  .skema-hero-test__visual { margin: 36px 0 0; padding: 0 0 32px; }
  .skema-hero-test__surface { display: flex; flex-direction: column; }
  .skema-hero-test__card--brand { position: static; order: -1; width: 100%; padding: 14px 8px 24px; border: 0; border-radius: 0; box-shadow: none; }
  .skema-hero-test__image-frame { aspect-ratio: 1 / .8; border-radius: 10px; }
  .skema-hero-test__card--metric { left: 0; bottom: 0; width: auto; }
  .skema-hero-test__metric-detail { font-size: 13px; }
}
@media (max-width: 420px) {
  .skema-hero-test__card--brand { padding: 12px 4px 22px; gap: 17px; }
  .skema-hero-test__value-title { font-size: 19px; }
  .skema-hero-test__metric-number { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
}

/* Service-specific evidence cards; the shared hero composition stays intact. */
.skema-service-custom-hero .skema-hero-test__stepper,
.skema-service-custom-hero .skema-hero-test__identity,
.skema-service-custom-hero .skema-hero-test__measurements {
  margin: 0;
  padding: 0;
  list-style: none;
}
.skema-service-custom-hero .skema-hero-test__card--identity,
.skema-service-custom-hero .skema-hero-test__card--measurement { gap: 14px; }
.skema-service-custom-hero .skema-hero-test__identity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.skema-service-custom-hero .skema-hero-test__identity > li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #333;
  font-family: 'Funnel Display', sans-serif;
  font-size: 14px;
  line-height: 1.3;
}
.skema-service-custom-hero .skema-hero-test__identity-sample {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  color: #171717;
}
.skema-service-custom-hero .skema-hero-test__swatches { gap: 0; }
.skema-service-custom-hero .skema-hero-test__swatches > i {
  display: block;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #171717;
  border: 2px solid #fff;
}
.skema-service-custom-hero .skema-hero-test__swatches > i + i { margin-left: -6px; }
.skema-service-custom-hero .skema-hero-test__swatches > i:nth-child(2) { background: var(--hero-lime); }
.skema-service-custom-hero .skema-hero-test__swatches > i:nth-child(3) { background: #e5e5e5; }
.skema-service-custom-hero .skema-hero-test__type-sample {
  font-family: 'Funnel Display', sans-serif;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1px;
}
/* SEO: four distinct measures, two per row, with no clipped labels. */
.skema-service-custom-hero .skema-hero-test__measurements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 8px;
  width: 100%;
  min-width: 0;
}
.skema-service-custom-hero .skema-hero-test__measurements > li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: #333;
  font-family: 'Funnel Display', sans-serif;
  font-size: 15px;
  line-height: 1.35;
}
.skema-service-custom-hero .skema-hero-test__measurements > li > span:last-child {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  overflow: visible;
  text-overflow: clip;
}
.skema-service-custom-hero .skema-hero-test__measurement-icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  height: 28px;
  border-radius: 8px;
  background: #f5f5f5;
  color: #171717;
}
/* Keep the 2-by-2 grid readable on the narrowest phones without shrinking text. */
@media (max-width: 359px) {
  .skema-service-custom-hero .skema-hero-test__measurements > li {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .skema-service-custom-hero .skema-hero-test__measurements .skema-hero-test__measurement-icon { width: 28px; }
}
.skema-service-custom-hero .skema-hero-test__card--metric-text { max-width: calc(100% - 10px); }
.skema-service-custom-hero .skema-hero-test__card--metric-text .skema-hero-test__metric-number {
  font-family: 'Funnel Display', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.7px;
  white-space: normal;
}
.skema-service-custom-hero .skema-hero-test__card--metric-text .skema-hero-test__metric-detail { white-space: normal; }
.skema-service-custom-hero .skema-hero-test__cta .btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}
@media (max-width: 991px) {
  .skema-service-custom-hero .skema-hero-test__card--metric-text .skema-hero-test__metric-number { font-size: 28px; }
}
@media (max-width: 420px) {
  .skema-service-custom-hero .skema-hero-test__card--metric-text .skema-hero-test__metric-number { font-size: 26px; }
}

/* Dark video comparison, sharing the original hero layout. */
.skema-hero-test--video { position: relative; isolation: isolate; background: #101112; color: #fff; }
.skema-hero-test__background-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; pointer-events: none; }
.skema-hero-test--video::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,0); pointer-events: none; }
.skema-hero-test--video .skema-hero-test__title,
.skema-hero-test--video .skema-hero-test__label .pxl-item--subtitle .pxl-item--subtext { color: #fff; }
.skema-hero-test--video .skema-hero-test__copy > p { color: #e5e5e5; }
.skema-hero-test--video .skema-hero-test__divider { background-color: rgba(255,255,255,.22); }
@media (min-width: 1200px) {
  .skema-hero-test--video .container.skema-hero-test__container { padding-top: 88px; }
  .skema-service-custom-hero .skema-hero-test--video .container.skema-hero-test__container {
    min-height: 915px;
    padding-top: 240px;
    padding-bottom: 138px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .skema-hero-test__background-video { display: none; }
}
