/* ==========================================================
   POS & Kiosk — page-specific styles
   Extends service-solutions.css. Accent matches the homepage yellow.
   ========================================================== */

/* Accent override — all solution-* vars inherit this */
.pos-page {
  --solution-accent: var(--yellow);
}

.pos-page .solution-kicker.solution-kicker--dark {
  color: rgba(0, 0, 0, 0.56);
}

/* ──────────────────────────────────────────────────────────
   BREADCRUMB
   Move to a shared file when building the other service pages.
   ────────────────────────────────────────────────────────── */

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  flex-wrap: nowrap;
  overflow: hidden;
  max-width: 100%;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 1;
  min-width: 0;
}

/* Last item (current page) never truncates */
.breadcrumb__item:last-child {
  flex-shrink: 0;
}

/* Middle items truncate on narrow viewports */
.breadcrumb__item:not(:first-child):not(:last-child) .breadcrumb__link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 7rem;
}

.breadcrumb__link,
.breadcrumb__current,
.breadcrumb__sep {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.breadcrumb__link {
  color: rgba(255, 255, 255, 0.42);
  transition: color 0.2s;
}

.breadcrumb__link:hover {
  color: rgba(255, 255, 255, 0.78);
}

.breadcrumb__current {
  color: var(--solution-accent, var(--yellow));
}

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.2);
}

/* Hero breadcrumb placement */
.pos-breadcrumb-wrap {
  width: var(--solution-shell);
  margin-inline: auto;
  padding-top: 1.25rem;
}

/* ──────────────────────────────────────────────────────────
   1. HERO
   ────────────────────────────────────────────────────────── */

.pos-hero__glow {
  background: color-mix(in srgb, var(--solution-accent) 18%, transparent);
}

.pos-hero-visual {
  width: min(48rem, 100%);
  margin: 0;
}

.pos-hero-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1.25rem;
}

/* ──────────────────────────────────────────────────────────
   2. INTRO — single-col long-form (~68ch)
   ────────────────────────────────────────────────────────── */

.pos-intro {
  padding-block: clamp(5rem, 9vw, 8rem);
  background: #f5f4ef;
}

.pos-intro__inner {
  width: min(68ch, calc(100% - 3rem));
  margin-inline: auto;
}

.pos-intro__inner h2 {
  margin-top: 1.2rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.pos-intro__body {
  margin-top: 2.25rem;
  display: grid;
  gap: 1.4rem;
}

.pos-intro__body p {
  color: rgba(0, 0, 0, 0.68);
  font-size: clamp(0.96rem, 1.15vw, 1.07rem);
  line-height: 1.82;
}

/* ──────────────────────────────────────────────────────────
   3. WHAT'S INCLUDED — 2×3 card grid (dark)
   ────────────────────────────────────────────────────────── */

.pos-included {
  color: #fff;
  background: #11120f;
}

.pos-included__inner {
  width: var(--solution-shell);
  margin-inline: auto;
  padding-block: clamp(6rem, 10vw, 9rem);
}

.pos-included__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: 4rem;
  background: rgba(255, 255, 255, 0.09);
}

.pos-card {
  min-height: 14rem;
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.2rem;
  padding: clamp(1.7rem, 4vw, 2.8rem);
  background: #171815;
}

.pos-card > span {
  padding-top: 0.15rem;
  color: var(--solution-accent, var(--yellow));
  font-size: 0.7rem;
  font-weight: 850;
}

.pos-card h3 {
  font-size: 1.2rem;
}

.pos-card p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.65;
}

/* ──────────────────────────────────────────────────────────
   4. HARDWARE + SOFTWARE — two-col split (light)
   ────────────────────────────────────────────────────────── */

.pos-hw-sw {
  padding-block: clamp(5.5rem, 9vw, 8rem);
  background: #f5f4ef;
}

.pos-hw-sw__inner {
  width: var(--solution-shell);
  margin-inline: auto;
}

.pos-hw-sw__text h2 {
  max-width: 18ch;
  margin-top: 1.2rem;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pos-hw-sw__text h2 mark {
  color: var(--solution-accent, var(--yellow));
}

.pos-hw-sw__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(3.5rem, 6vw, 5rem);
  border-block: 1px solid rgba(0, 0, 0, 0.16);
  align-items: start;
}

.pos-hw-sw__col {
  padding-block: clamp(2.25rem, 4vw, 3.25rem);
}

.pos-hw-sw__col:first-child {
  padding-right: clamp(2rem, 6vw, 5rem);
}

.pos-hw-sw__col + .pos-hw-sw__col {
  padding-left: clamp(2rem, 6vw, 5rem);
  border-left: 1px solid rgba(0, 0, 0, 0.16);
}

.pos-hw-sw__label {
  display: inline-block;
  padding: 0.48rem 0.72rem;
  margin-bottom: 1.4rem;
  color: #111;
  background: var(--solution-accent, var(--yellow));
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pos-hw-sw__col p {
  max-width: 50ch;
  color: rgba(0, 0, 0, 0.66);
  line-height: 1.72;
  font-size: 0.96rem;
}

.pos-hw-sw__list {
  margin-top: 2rem;
  padding-left: 0;
  list-style: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.pos-hw-sw__list li {
  display: grid;
  grid-template-columns: 0.5rem 1fr;
  gap: 0.85rem;
  padding-block: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.68);
  font-size: 0.88rem;
  line-height: 1.5;
}

.pos-hw-sw__list li::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-top: 0.43rem;
  background: var(--solution-accent, var(--yellow));
}

/* ──────────────────────────────────────────────────────────
   5. DEPLOYMENT & SUPPORT — stacked numbered list (dark)
   ────────────────────────────────────────────────────────── */

.pos-deploy {
  color: #fff;
  background: #11120f;
}

.pos-deploy__inner {
  width: var(--solution-shell);
  margin-inline: auto;
  padding-block: clamp(6rem, 10vw, 9rem);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.pos-deploy__header h2 {
  margin-top: 1.2rem;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.058em;
}

.pos-deploy__image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

.pos-deploy__lead {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.75;
  font-size: 0.95rem;
}

.pos-deploy__steps {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pos-deploy__step {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pos-deploy__num {
  padding-top: 0.2rem;
  color: var(--solution-accent, var(--yellow));
  font-size: 0.68rem;
  font-weight: 850;
}

.pos-deploy__content h3 {
  font-size: 1.15rem;
}

.pos-deploy__content p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.73;
  font-size: 0.93rem;
}

.pos-placeholder {
  color: var(--solution-accent, var(--yellow));
  font-weight: 750;
  font-style: normal;
}

/* ──────────────────────────────────────────────────────────
   6. PROOF — wide asymmetric panels (light)
   ────────────────────────────────────────────────────────── */

.pos-proof {
  padding-block: clamp(5.5rem, 9vw, 8rem);
  background: #f5f4ef;
}

.pos-proof__inner {
  width: var(--solution-shell);
  margin-inline: auto;
}

.pos-proof__header {
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.42fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.pos-proof__header .solution-kicker {
  grid-column: 1 / -1;
  margin-bottom: calc(-1 * clamp(1rem, 2vw, 2rem));
}

.pos-proof__header h2 {
  margin-top: 0;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.pos-proof__note {
  padding-left: 1.25rem;
  border-left: 2px solid var(--solution-accent, var(--yellow));
  color: rgba(0, 0, 0, 0.58);
  font-size: 0.92rem;
  line-height: 1.7;
}

.pos-proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.pos-proof__card {
  position: relative;
  min-width: 0;
  padding: clamp(2rem, 3vw, 2.75rem);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 1.75rem;
  background: #fff;
  overflow: hidden;
}

.pos-proof__card:nth-child(2) {
  border-color: transparent;
  background: var(--solution-accent, var(--yellow));
}

.pos-proof__card:nth-child(3) {
  border-color: #11120f;
  color: #fff;
  background: #11120f;
}

.pos-proof__card-index {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  opacity: 0.32;
}

.pos-proof__client {
  padding-right: 2.5rem;
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.42);
}

.pos-proof__card:nth-child(2) .pos-proof__client {
  color: rgba(0, 0, 0, 0.6);
}

.pos-proof__card:nth-child(3) .pos-proof__client {
  color: rgba(255, 255, 255, 0.55);
}

.pos-proof__metrics {
  list-style: none;
  margin-top: 2.5rem;
  display: grid;
  gap: 0;
}

.pos-proof__metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-block: 1.45rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.pos-proof__metrics li:first-child {
  padding-top: 0;
  border-top: 0;
}

.pos-proof__metrics li:last-child {
  padding-bottom: 0;
}

.pos-proof__card:nth-child(3) .pos-proof__metrics li {
  border-color: rgba(255, 255, 255, 0.15);
}

.pos-proof__metrics strong {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.pos-proof__metrics span {
  color: rgba(0, 0, 0, 0.52);
  font-size: 0.83rem;
  line-height: 1.58;
}

.pos-proof__card:nth-child(2) .pos-proof__metrics span {
  color: rgba(0, 0, 0, 0.64);
}

.pos-proof__card:nth-child(3) .pos-proof__metrics span {
  color: rgba(255, 255, 255, 0.58);
}

/* ──────────────────────────────────────────────────────────
   7. WHY SOLECTRONIX — horizontal strips (dark)
   ────────────────────────────────────────────────────────── */

.pos-why {
  color: #fff;
  background: #0d0e0c;
}

.pos-why__inner {
  width: var(--solution-shell);
  margin-inline: auto;
  padding-block: clamp(6rem, 10vw, 9rem);
}

.pos-why__header {
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}

.pos-why__header h2 {
  margin-top: 1rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.058em;
}

.pos-why__list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pos-why__item {
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 2rem;
  padding: 2.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.pos-why__num {
  padding-top: 0.28rem;
  color: var(--solution-accent, var(--yellow));
  font-size: 0.68rem;
  font-weight: 850;
}

.pos-why__copy {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: baseline;
}

.pos-why__copy h3 {
  font-size: clamp(1.1rem, 1.75vw, 1.5rem);
  line-height: 1.3;
}

.pos-why__copy p {
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.75;
  font-size: 0.93rem;
}

/* ──────────────────────────────────────────────────────────
   8. WHO IT'S FOR — editorial sector list (light)
   ────────────────────────────────────────────────────────── */

.pos-buyers {
  padding-block: clamp(6rem, 10vw, 9rem);
  background: #f5f4ef;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.pos-buyers__inner {
  width: var(--solution-shell);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(4rem, 8vw, 8rem);
  align-items: start;
}

.pos-buyers__copy h2 {
  max-width: 10ch;
  margin-top: 1.2rem;
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.pos-buyers__copy h2 mark {
  color: var(--solution-accent, var(--yellow));
}

.pos-buyers__copy > p:not(.solution-kicker) {
  max-width: 36rem;
  margin-top: 1.6rem;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.72;
}

.pos-buyers__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.16);
}

.pos-buyers__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #111;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.pos-buyers__link:hover {
  color: rgba(0, 0, 0, 0.55);
}

.pos-buyers__link span {
  color: #111;
  font-size: 0.9rem;
}

.pos-buyers__tags {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(0, 0, 0, 0.18);
}

.pos-buyers__tags li {
  min-height: 5.6rem;
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: center;
  gap: 0.9rem;
  padding-block: 1.2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  color: #111;
}

.pos-buyers__tags li:nth-child(odd) {
  padding-right: clamp(1.5rem, 3vw, 2.5rem);
}

.pos-buyers__tags li:nth-child(even) {
  padding-left: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid rgba(0, 0, 0, 0.18);
}

.pos-buyers__tags li span {
  color: var(--solution-accent, var(--yellow));
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.pos-buyers__tags li strong {
  font-size: clamp(0.94rem, 1.4vw, 1.08rem);
  font-weight: 750;
  line-height: 1.35;
}

/* ──────────────────────────────────────────────────────────
   9. FAQ — inherits .solution-faq layout
   ────────────────────────────────────────────────────────── */

.pos-faq.solution-faq {
  padding-block: clamp(5rem, 8vw, 7rem);
  background: #f5f4ef;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.pos-faq__note {
  margin-top: 1.75rem;
  color: rgba(0, 0, 0, 0.52);
  font-size: 0.85rem;
  line-height: 1.65;
}

.pos-faq__note a {
  color: #111;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ──────────────────────────────────────────────────────────
   10. CTA — inherits .solution-cta
   ────────────────────────────────────────────────────────── */

.pos-cta.solution-cta {
  background: var(--solution-accent, var(--yellow));
}

.pos-cta h2 mark {
  color: rgba(0, 0, 0, 0.45);
}

.pos-cta__sub {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  color: rgba(0, 0, 0, 0.6);
  line-height: 1.65;
  font-size: 0.96rem;
}

/* ──────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .pos-hw-sw__cols {
    grid-template-columns: 1fr;
  }

  .pos-hw-sw__col:first-child,
  .pos-hw-sw__col + .pos-hw-sw__col {
    padding-inline: 0;
  }

  .pos-hw-sw__col + .pos-hw-sw__col {
    border-top: 1px solid rgba(0, 0, 0, 0.16);
    border-left: 0;
  }

  .pos-deploy__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pos-proof__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pos-proof__header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pos-proof__header .solution-kicker {
    grid-column: 1;
    margin-bottom: 0;
  }

  .pos-proof__note {
    max-width: 38rem;
  }

  .pos-proof__card:nth-child(3) {
    grid-column: 1 / -1;
  }

  .pos-why__copy {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .pos-buyers__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pos-breadcrumb-wrap {
    padding-top: 0.75rem;
  }

  .pos-buyers__tags {
    grid-template-columns: 1fr;
  }

  .pos-buyers__tags li:nth-child(odd),
  .pos-buyers__tags li:nth-child(even) {
    padding-inline: 0;
    border-left: 0;
  }

  .pos-included__grid {
    grid-template-columns: 1fr;
  }

  .pos-proof__grid {
    grid-template-columns: 1fr;
  }

  .pos-proof__card:nth-child(3) {
    grid-column: 1;
  }

  .pos-why__item {
    grid-template-columns: 2.4rem 1fr;
    gap: 1rem;
  }

  .pos-deploy__step {
    grid-template-columns: 2.4rem 1fr;
    gap: 1rem;
  }
}

/* ──────────────────────────────────────────────────────────
   FOCUS + MOTION
   ────────────────────────────────────────────────────────── */

.pos-page :focus-visible {
  outline: 3px solid var(--solution-accent, var(--yellow));
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .solution-button,
  .solution-button > span,
  .pos-buyers__link,
  .breadcrumb__link {
    transition: none;
  }
}
