/* =====================================================================
   Barrdega — Homepage facelift (index.html + es/index.html only)
   ---------------------------------------------------------------------
   WHY a separate file: these rules restyle the homepage's existing markup
   (same headings, links, images and counters, so SEO is untouched) and
   would be dead weight on the ~3,600 product pages that share
   styles.min.css. Everything is scoped under body.page-home.
   Direction: light only. Warm paper surfaces, brand navy ink, brand amber
   accent (darkened for small text), and a red "laser" used only by the
   hero scanner and the barcode cursor.
   ===================================================================== */
.page-home {
  --home-paper:       #F6F2EA;
  --home-paper-deep:  #EDE6D8;
  --home-paper-lift:  #FBF9F4;
  --home-ink:         #0A1628;
  --home-muted:       #4F5869;   /* 6.4:1 on paper */
  --home-line:        #E0D6C4;
  --home-line-strong: #C9BBA2;
  --home-amber-ink:   #8A5A10;   /* amber that passes AA for small text (5.2:1) */
  --home-amber-wash:  #F3E3C3;
  --home-laser:       #D9381E;

  /* Radius scale: chips < buttons < tiles < panels, never one value everywhere */
  --home-r1: 2px; --home-r2: 6px; --home-r3: 10px; --home-r4: 12px;
  /* Layered edge: hairline + inner highlight + navy-tinted drop */
  --home-edge:   0 0 0 1px var(--home-line);
  --home-hi:     inset 0 1px 0 rgba(255,255,255,.75);
  --home-lift-1: 0 1px 2px rgba(10,22,40,.05), 0 2px 6px rgba(10,22,40,.04);
  --home-lift-2: 0 2px 4px rgba(10,22,40,.05), 0 14px 32px -8px rgba(10,22,40,.12);
  /* Modular spacing (~1.6) so sections don't all breathe the same */
  --home-s3: 18px; --home-s4: 28px; --home-s5: 44px; --home-s6: 72px; --home-s7: 116px; --home-s8: 168px;

  background: var(--home-paper);
  color: var(--home-ink);
}
.page-home ::selection { background: var(--home-amber-wash); color: var(--home-ink); }

/* Grain: a small tiled noise image so paper reads as material. A tiled raster is
   decoded once, unlike a live full-viewport SVG filter that re-runs on scroll.
   3.5% opacity keeps every text contrast ratio intact. */
.home-grain {
  position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* The shared header is transparent with a white logo over dark heroes. The
   homepage hero is now light, so keep the header in its solid navy state. */
.page-home .site-header { background: rgba(10, 22, 40, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Shared section rhythm on the homepage */
.page-home .section { padding: var(--home-s7) 0; }
.page-home .section--gray { background: var(--home-paper-deep); }
.page-home .section-overline,
.page-home .feature-text .section-overline,
.page-home .section-header .section-overline { font-family: var(--font-mono); font-weight: 500; font-size: var(--text-xs); letter-spacing: .1em; color: var(--home-amber-ink); }
/* WHY left-aligned headers: the old site centered every section; editorial pages don't. */
.page-home .section-header { text-align: left; max-width: none; margin-left: 0; display: grid; gap: var(--home-s3); margin-bottom: var(--home-s5); }
.page-home .section-header h2 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem); line-height: 1; letter-spacing: -.035em; font-weight: 600; color: var(--home-ink); max-width: 16ch; }
.page-home .section-header p { color: var(--home-muted); max-width: 52ch; margin: 0; }
@media (min-width: 1024px) {
  .page-home .section-header { grid-template-columns: 7fr 5fr; column-gap: var(--home-s6); align-items: end; }
  .page-home .section-header .section-overline { grid-column: 1 / -1; }
  .page-home .section-header p { grid-column: 2; grid-row: 2; }
}
.page-home .feature-text h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 600; color: var(--home-ink); }
.page-home .feature-text p,
.page-home .feature-list li { color: var(--home-muted); }
.page-home .feature-list li svg { color: var(--home-amber-ink); }
.page-home .feature-list li strong { color: var(--home-ink); }

/* Buttons: secondary buttons were white-on-navy; on paper they become ink outlines. */
.page-home .btn { border-radius: var(--home-r2); will-change: transform; }
.page-home .btn--primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.35), var(--home-lift-2); }
.page-home .btn--primary:hover { transform: none; }
.page-home .btn--secondary,
.page-home .btn--outline { color: var(--home-ink); background: var(--home-paper-lift); border: 0; box-shadow: inset 0 0 0 1px var(--home-line-strong), var(--home-hi); }
.page-home .btn--secondary:hover,
.page-home .btn--outline:hover { color: var(--home-ink); background: var(--home-paper-lift); box-shadow: inset 0 0 0 1px var(--home-ink), var(--home-hi); }
.page-home .btn .btn-label { display: inline-block; transition: transform 420ms var(--ease-out); }

/* =====================================================================
   HERO
   WHY: editorial and left-weighted. The H1's existing lines step in on
   different indents like a magazine cover; the subtitle and actions sit
   low on the right as a counterweight. Rule-break: the scanner below
   bleeds off the right edge of the container.
   ===================================================================== */
.page-home .hero { min-height: 0; display: block; background: var(--home-paper); overflow: hidden; padding: calc(36px + var(--header-height) + var(--home-s5)) 0 var(--home-s7); }
.page-home .hero::before,
.page-home .hero-grid { display: none; }
.page-home .hero-content { display: block; padding: 0 var(--space-8); max-width: var(--max-width-wide); }
.page-home .hero-text { color: var(--home-ink); display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--home-s5); }
.page-home .hero-badge {
  grid-column: 1 / -1; display: flex; width: 100%; padding: 0 0 var(--home-s4); margin-bottom: var(--home-s4);
  background: none; border: 0; border-bottom: 1px solid var(--home-line); border-radius: 0;
  font: 500 var(--text-xs)/1 var(--font-mono); letter-spacing: .1em; color: var(--home-amber-ink);
}
.page-home .hero-title {
  font-size: clamp(2.75rem, 1rem + 6.2vw, 7rem); font-weight: 600; line-height: .94; letter-spacing: -.045em;
  color: var(--home-ink); margin-bottom: var(--home-s4); text-wrap: balance;
}
.page-home:lang(es) .hero-title { font-size: clamp(2.5rem, 1rem + 5vw, 5.75rem); }
.page-home .hero-title .hl { display: block; }
.page-home .hero-title .hl:nth-child(2) { padding-left: .9em; }
.page-home .hero-title .hl:nth-child(3) { padding-left: .35em; }
/* The amber gradient text failed contrast on paper; it becomes ink with an amber highlighter stroke. */
.page-home .hero-title .accent {
  -webkit-text-fill-color: currentColor; color: var(--home-ink);
  background: linear-gradient(transparent 66%, var(--home-amber-wash) 66%, var(--home-amber-wash) 92%, transparent 92%);
  -webkit-background-clip: border-box; background-clip: border-box;
}
.page-home .hero-subtitle { color: var(--home-muted); max-width: 36ch; margin-bottom: var(--home-s4); }
.page-home .hero-actions { flex-wrap: wrap; gap: 10px; }
@media (min-width: 1024px) {
  .page-home .hero-text { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .page-home .hero-title { grid-column: 1; grid-row: 2 / span 2; margin-bottom: 0; }
  .page-home .hero-subtitle { grid-column: 2; grid-row: 2; align-self: end; }
  .page-home .hero-actions { grid-column: 2; grid-row: 3; align-self: start; }
}
/* Staggered entrance per line (the base CSS animates the whole H1; we take over per line). */
.page-home .hero-title { animation: none; }
.page-home .hero-title .hl { animation: fadeUp .9s var(--ease-out) both; }
.page-home .hero-title .hl:nth-child(2) { animation-delay: .11s; }
.page-home .hero-title .hl:nth-child(3) { animation-delay: .22s; }

/* Visual column becomes: scanner composition + a ledger of the four counters */
.page-home .hero-visual { margin-top: var(--home-s6); }
.page-home .hero-visual-card { background: none; border: 0; border-radius: 0; padding: 0; backdrop-filter: none; margin-top: var(--home-s5); }
.page-home .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--home-line-strong); }
.page-home .hero-stat { text-align: left; background: none; border: 0; border-radius: 0; padding: var(--home-s4) var(--home-s3) var(--home-s4) 0; border-bottom: 1px solid var(--home-line); }
.page-home .hero-stat-value { color: var(--home-ink); font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.75rem); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.page-home .hero-stat-label { color: var(--home-muted); font: 500 var(--text-xs)/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 900px) {
  .page-home .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-home .hero-stat + .hero-stat { padding-left: var(--home-s4); border-left: 1px solid var(--home-line); }
}

/* Scanner: decorative; its beam follows the cursor (fine pointers) or sweeps on its own. */
.home-scanner { position: relative; margin-right: calc(var(--space-6) * -1); }
@media (min-width: 1024px) { .home-scanner { margin-left: 25%; margin-right: calc((100vw - min(100vw, var(--max-width-wide))) / -2 - var(--space-6)); } }
.home-scan-stage {
  position: relative; height: clamp(130px, 18vw, 220px); border-radius: var(--home-r4) 0 0 var(--home-r4);
  background: var(--home-paper-lift); box-shadow: var(--home-edge), var(--home-hi), var(--home-lift-2);
  padding: var(--home-s4) var(--home-s4) var(--home-s4) var(--home-s5); overflow: hidden;
}
.home-scan-bars { position: relative; height: 100%; overflow: hidden; }
.home-scan-bars svg { width: 100%; height: 100%; }
.home-bars-ink { fill: var(--home-ink); }
.home-bars-lit { fill: var(--amber); }
/* Two counter-translated wrappers reveal the lit copy: transform-only, no width/clip animation. */
.home-scan-clip { position: absolute; inset: 0; overflow: hidden; transform: translate3d(calc((var(--p, 1) - 1) * 100%), 0, 0); }
.home-scan-clip-inner { position: absolute; inset: 0; transform: translate3d(calc((1 - var(--p, 1)) * 100%), 0, 0); }
.home-scan-beam { position: absolute; inset: 0; pointer-events: none; transform: translate3d(calc(var(--p, 1) * 100%), 0, 0); }
.home-scan-beam::before { content: ""; position: absolute; left: -1px; top: -12%; bottom: -12%; width: 2px; background: var(--home-laser); box-shadow: 0 0 14px 2px rgba(217,56,30,.45); }
.home-scan-beam::after { content: ""; position: absolute; left: -40px; top: 0; bottom: 0; width: 40px; background: linear-gradient(90deg, transparent, rgba(217,56,30,.08)); }

/* =====================================================================
   PARTNER MARQUEE — quieter: a hairline band, label left-aligned.
   ===================================================================== */
.page-home .marquee-section { background: var(--home-paper); border-color: var(--home-line); padding: var(--home-s4) 0; display: flex; align-items: center; gap: var(--home-s5); }
.page-home .marquee-label { position: relative; z-index: 2; align-self: stretch; display: flex; align-items: center; background: var(--home-paper); box-shadow: 24px 0 24px var(--home-paper); padding-left: var(--space-8); flex: 0 0 auto; margin: 0; text-align: left; font: 500 var(--text-xs)/1.3 var(--font-mono); letter-spacing: .1em; color: var(--home-muted); width: calc(13ch + var(--space-8) + 8px); max-width: none; padding-right: 8px; }
.page-home .marquee-track { flex: 0 0 auto; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.page-home .marquee-track img { opacity: .55; mix-blend-mode: multiply; }

/* =====================================================================
   SOLUTIONS — bento
   WHY: logisticaHQ is the flagship, so it gets the large tile and the
   other two stack beside it instead of three equal cards.
   ===================================================================== */
.page-home .solutions-grid--bento { grid-template-columns: 1fr; gap: 14px; }
.page-home .solution-card {
  background: var(--home-paper-lift); border: 0; border-radius: var(--home-r3);
  box-shadow: var(--home-edge), var(--home-hi), var(--home-lift-1);
  transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out);
}
.page-home .solution-card::before { background: var(--amber); height: 2px; }
.page-home .solution-card:hover { transform: translate3d(0, -3px, 0); box-shadow: var(--home-edge), var(--home-hi), var(--home-lift-2); }
.page-home .solution-card h3 { color: var(--home-ink); font-weight: 600; letter-spacing: -.015em; }
.page-home .solution-card p { color: var(--home-muted); }
.page-home .solution-card-link { color: var(--home-ink); }
.page-home .solution-card:hover .solution-card-link { color: var(--home-amber-ink); }
.page-home .solution-card-icon { justify-content: flex-start; height: 120px; }
.page-home .solution-card-icon img { object-position: left center; }
@media (min-width: 900px) {
  .page-home .solutions-grid--bento { grid-template-columns: 7fr 5fr; grid-template-rows: auto auto; }
  .page-home .solutions-grid--bento .solution-card:first-child { grid-row: 1 / span 2; border-radius: var(--home-r4); padding: var(--home-s5); display: flex; flex-direction: column; }
  .page-home .solutions-grid--bento .solution-card:first-child .solution-card-icon { height: 220px; margin-bottom: auto; padding-bottom: var(--home-s5); }
  .page-home .solutions-grid--bento .solution-card:first-child h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); }
  .page-home .solutions-grid--bento .solution-card:first-child p { font-size: var(--text-base); max-width: 44ch; }
  .page-home .solutions-grid--bento .solution-card:not(:first-child) { display: grid; grid-template-columns: 140px 1fr; column-gap: var(--home-s4); align-items: start; }
  .page-home .solutions-grid--bento .solution-card:not(:first-child) .solution-card-icon { grid-row: 1 / span 3; height: 100px; margin: 0; }
}

/* =====================================================================
   ZEBRA — formerly the dark section; now a deep-paper band.
   Rule-break: the photo carries an offset amber hairline frame.
   ===================================================================== */
.page-home .home-zebra { background: var(--home-paper-lift); border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.page-home .feature-image { position: relative; border-radius: var(--home-r4); }
.page-home .feature-image img { border-radius: var(--home-r4); box-shadow: var(--home-edge), var(--home-lift-2); }
.page-home .home-zebra .feature-image { overflow: visible; }
/* Offset amber hairline frame drawn with two spread shadows (no extra element, survives overflow:hidden parents). */
.page-home .home-zebra .feature-image img { box-shadow: 18px 18px 0 -1px var(--home-paper-lift), 18px 18px 0 0 var(--amber), var(--home-lift-2); }

/* =====================================================================
   SERVICES — numbered ledger rows instead of three equal cards.
   WHY: services are a sequence of capabilities, read like a contents page.
   ===================================================================== */
.page-home .solutions-grid--rows { display: block; counter-reset: svc; border-top: 1px solid var(--home-line-strong); }
.page-home .solutions-grid--rows .solution-card {
  counter-increment: svc; display: grid; grid-template-columns: 1fr; gap: 8px 0;
  background: none; box-shadow: none; border-radius: 0; padding: var(--home-s4) 0; border-bottom: 1px solid var(--home-line-strong);
}
.page-home .solutions-grid--rows .solution-card::before { content: counter(svc, decimal-leading-zero); position: static; height: auto; background: none; opacity: 1; font: 500 var(--text-xs)/2.4 var(--font-mono); color: var(--home-amber-ink); }
.page-home .solutions-grid--rows .solution-card:hover { transform: translate3d(6px, 0, 0); box-shadow: none; }
.page-home .solutions-grid--rows .solution-card-icon { display: none; }
.page-home .solutions-grid--rows .solution-card h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem); margin: 0; }
.page-home .solutions-grid--rows .solution-card p { margin: 0; max-width: 52ch; }
@media (min-width: 900px) {
  .page-home .solutions-grid--rows .solution-card { grid-template-columns: 6ch minmax(0, 4fr) minmax(0, 5fr) auto; column-gap: var(--home-s4); align-items: baseline; padding: var(--home-s5) 0; }
}

/* Products scroll + education/about rows: layered cards, unequal radius to the bento. */
.page-home .product-card { background: var(--home-paper-lift); border: 0; border-radius: var(--home-r2); box-shadow: var(--home-edge), var(--home-hi), var(--home-lift-1); }
.page-home .product-card:hover { box-shadow: var(--home-edge), var(--home-hi), var(--home-lift-2); }
.page-home .product-card-body h3 { color: var(--home-ink); font-weight: 600; }
.page-home .product-card-body p { color: var(--home-muted); }

/* Clients carousel fades must match the deep-paper band behind them. */
.page-home .clients-carousel::before { background: linear-gradient(to right, var(--home-paper-deep), transparent); }
.page-home .clients-carousel::after { background: linear-gradient(to left, var(--home-paper-deep), transparent); }
.page-home .client-logo { background: var(--home-paper-lift); border: 0; box-shadow: var(--home-edge), var(--home-hi); border-radius: var(--home-r2); }

/* =====================================================================
   PROOF — one verified customer voice, set large.
   WHY: a single quote treated like a magazine pull-quote, with the rating
   and source as marginalia. Rule-break: the opening mark hangs outside
   the text column.
   ===================================================================== */
.home-proof { background: var(--home-paper-lift); border-top: 1px solid var(--home-line); padding: var(--home-s8) 0 var(--home-s7); }
.home-proof-grid { display: grid; gap: var(--home-s6); }
.home-quote { position: relative; margin: 0; }
.home-quote .mark { position: absolute; left: -.04em; top: -.42em; font: 700 clamp(6rem, 12vw, 11rem)/1 var(--font-display); color: var(--amber); pointer-events: none; }
.home-quote blockquote { margin: 0; padding-top: var(--home-s6); }
.home-quote blockquote p { font: 500 clamp(1.75rem, 1.1rem + 2.4vw, 3.25rem)/1.15 var(--font-display); letter-spacing: -.025em; color: var(--home-ink); max-width: 22ch; text-wrap: balance; }
.home-quote blockquote p + p { margin-top: var(--home-s4); font: 400 var(--text-lg)/1.6 var(--font-body); letter-spacing: 0; color: var(--home-muted); max-width: 52ch; }
.home-quote figcaption { margin-top: var(--home-s5); display: grid; gap: 4px; padding-left: var(--home-s3); border-left: 2px solid var(--amber); }
.home-quote figcaption strong { font-weight: 600; color: var(--home-ink); }
.home-quote figcaption span { color: var(--home-muted); font-size: var(--text-sm); }
.home-rating { display: grid; gap: 6px; padding: var(--home-s4) 0; border-top: 1px solid var(--home-line-strong); border-bottom: 1px solid var(--home-line-strong); }
.home-rating b { font: 600 clamp(4rem, 2.4rem + 5vw, 7rem)/.9 var(--font-display); letter-spacing: -.05em; color: var(--home-ink); }
.home-rating b small { font-size: .32em; letter-spacing: 0; color: var(--home-amber-ink); }
.home-rating span { color: var(--home-muted); }
.home-rating a { margin-top: var(--home-s3); font: 500 var(--text-xs)/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--home-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--home-line-strong); }
.home-rating a:hover { text-decoration-color: var(--home-ink); }
@media (min-width: 1024px) {
  .home-proof-grid { grid-template-columns: 8fr 1px 3fr; column-gap: var(--home-s6); }
  .home-proof-grid .vrule { background: var(--home-line-strong); }
  .home-quote { padding-left: 6%; }
  .home-rating { margin-top: var(--home-s7); }
}

/* =====================================================================
   CTA — was a centered navy banner; now one oversized left-aligned line.
   ===================================================================== */
.page-home .cta-banner { background: none; border-radius: 0; padding: var(--home-s6) 0 var(--home-s4); text-align: left; border-top: 1px solid var(--home-line-strong); overflow: visible; }
.page-home .cta-banner::before { display: none; }
.page-home .cta-banner h2 { color: var(--home-ink); font-size: clamp(2.5rem, 1rem + 5.4vw, 6rem); line-height: .96; letter-spacing: -.045em; font-weight: 600; max-width: 16ch; margin-bottom: var(--home-s4); }
.page-home .cta-banner p { color: var(--home-muted); max-width: 46ch; margin: 0 0 var(--home-s5); }
.page-home .cta-banner > div { display: flex; flex-wrap: wrap; gap: 10px; }
.page-home .cta-banner .btn--primary { min-height: 60px; padding-inline: var(--home-s5); border-radius: var(--home-r3); }

/* =====================================================================
   BARCODE CURSOR
   WHY: a tiny barcode trails the pointer, ties the pointer to the brand's
   core act (reading a label), grows over links and collapses into the
   laser line over the scanner. Fine pointers with motion only; the
   native cursor is hidden only once the custom one is live.
   ===================================================================== */
.home-cursor { position: fixed; left: 0; top: 0; z-index: 10000; /* above the WhatsApp and search overlays (9000-9500) */ width: 28px; height: 18px; margin: -9px 0 0 -14px; pointer-events: none; opacity: 0; transition: opacity 180ms linear; }
.home-cursor svg { width: 100%; height: 100%; fill: var(--home-ink); transition: transform 420ms var(--ease-out), opacity 180ms linear; }
.home-cursor::after { content: ""; position: absolute; left: 50%; top: -60%; bottom: -60%; width: 2px; margin-left: -1px; background: var(--home-laser); box-shadow: 0 0 10px rgba(217,56,30,.55); transform: scaleY(0); transition: transform 300ms var(--ease-out); }
html.has-home-cursor .home-cursor { opacity: 1; }
html.has-home-cursor body.page-home,
html.has-home-cursor body.page-home a,
html.has-home-cursor body.page-home button { cursor: none; }
.home-cursor.is-link svg { transform: scale(1.5); }
.home-cursor.is-dark svg { fill: #FBF9F4; }
.home-cursor.is-scan svg { opacity: 0; transform: scale(.4); }
.home-cursor.is-scan::after { transform: scaleY(1); }
.home-cursor.is-hidden { opacity: 0; }
/* Inputs and text fields keep their native cursor. */
html.has-home-cursor body.page-home input,
html.has-home-cursor body.page-home textarea { cursor: auto; }

/* Mobile tightening */
@media (max-width: 768px) {
  .page-home .marquee-section { display: block; }
  .page-home .marquee-label { margin: 0 var(--space-6) var(--home-s3); max-width: none; }
  .page-home .home-scan-stage { padding: var(--home-s3); }
  /* The shared mobile rules center the hero; the editorial layout stays left-aligned. */
  .page-home .hero { padding-top: calc(var(--header-height) + var(--home-s4)); }
  .page-home .hero-content { padding: 0 var(--space-6); }
  .page-home .hero-text, .page-home .hero-subtitle { text-align: left; margin-left: 0; }
  .page-home .hero-badge, .page-home .hero-actions { justify-content: flex-start; }
}

/* Reduced motion: everything resolves to its final state. */
@media (prefers-reduced-motion: reduce) {
  .page-home .hero-title .hl { animation: none; }
  .page-home .solution-card:hover,
  .page-home .solutions-grid--rows .solution-card:hover { transform: none; }
  .home-cursor { display: none; }
}

/* Zebra Validated badge on the logisticaHQ tile, pinned top-right.
   Zebra's badge rules: never rotate, skew or add effects. It must sit
   perfectly upright and unaltered (Glenn, 2026-10-03), so no transform
   and no filter here, and none may be added later. */
.page-home .solution-card .home-zv { position: absolute; top: 18px; right: 18px; width: 92px; height: auto; transform: none; filter: none; }
@media (min-width: 900px) { .page-home .solutions-grid--bento .solution-card:first-child .home-zv { width: 124px; top: 28px; right: 28px; } }
/* Official wordmark files carry generous whitespace; constrain them so the flagship tile isn't all logo. */
.page-home .solutions-grid--bento .solution-card:first-child .solution-card-icon img { max-width: 420px; }
/* Cropped product wordmarks are all type, no padding; set them a touch smaller
   than the partner logos so they don't outweigh Zebra/RUCKUS in the strip. */
.page-home .marquee-track img[src*="/brand/"] { height: 24px; align-self: center; }

/* =====================================================================
   P4 SOFTWARE POWER TOOLS
   WHY: three self-service apps read as one product shelf, not three
   equal cards: a single framed panel with hairline column rules, the
   "free plan" tag hanging off its top edge (the rule-break).
   ===================================================================== */
.page-home .home-tools { background: var(--home-paper); padding-top: 0; }
.home-tools-shelf {
  position: relative; display: grid; grid-template-columns: 1fr;
  background: var(--home-paper-lift); border-radius: var(--home-r4);
  box-shadow: var(--home-edge), var(--home-hi), var(--home-lift-1);
}
.home-tools-chip {
  position: absolute; top: -12px; left: var(--home-s4);
  padding: 4px 10px; border-radius: var(--home-r1); background: var(--home-amber-wash);
  color: var(--home-amber-ink); font: 500 var(--text-xs)/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
}
.home-tool { display: grid; align-content: start; gap: 12px; padding: var(--home-s5) var(--home-s4) var(--home-s4); }
.home-tool + .home-tool { border-top: 1px solid var(--home-line); }
.home-tool-logo { height: 32px; width: auto; max-width: 180px; object-fit: contain; object-position: left center; margin-bottom: 6px; }
.home-tool h3 { font-size: var(--text-xl); font-weight: 600; color: var(--home-ink); letter-spacing: -.01em; }
.home-tool p { color: var(--home-muted); font-size: var(--text-sm); line-height: 1.7; max-width: 42ch; }
.home-tool > a:not(.home-tool-brand) { justify-self: start; margin-top: 4px; font-weight: 600; font-size: var(--text-sm); color: var(--home-ink); text-decoration: underline; text-decoration-color: var(--home-line-strong); text-underline-offset: 4px; transition: text-decoration-color 180ms linear; }
.home-tool > a:not(.home-tool-brand):hover { text-decoration-color: var(--home-ink); }
@media (min-width: 900px) {
  .home-tools-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-tool + .home-tool { border-top: 0; border-left: 1px solid var(--home-line); }
}
/* Logo and product name link to each tool's own site too, not just the CTA. */
.home-tool-brand { justify-self: start; display: inline-block; }
.home-tool h3 a { color: inherit; text-decoration: none; }
.home-tool h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
