/* ============================================================================
   SLP Express — above-the-fold rebuild (v2)
   ----------------------------------------------------------------------------
   Loads AFTER css/slp-critical.css and css/pages/index.css.

   Every new class is prefixed .slp-x- so nothing here can collide with the
   existing rules. The only pre-existing selectors touched are a short override
   block at the bottom, each with a comment saying which symptom it fixes.

   Palette is the existing brand: --primary #4a0072, --accent #ffd54f.
   ========================================================================== */

.slp-x {
  --x-purple:      #4a0072;
  --x-purple-deep: #33004f;
  --x-purple-soft: #6a0099;
  --x-accent:      #ffd54f;
  --x-accent-ink:  #3a2600;
  --x-green:       #16a34a;
  --x-ink:         #101719;
  --x-muted:       rgba(255, 255, 255, 0.82);
  --x-line:        rgba(255, 255, 255, 0.18);
  --x-r:           14px;
}

/* ---------------------------------------------------------------- utility bar
   The benchmark leads with phone + hours. We buried both in the footer.       */
.slp-x-utility {
  background: var(--x-purple-deep);
  color: #fff;
  font-size: 13.5px;
  line-height: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.slp-x-utility__in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.slp-x-utility a { color: #fff; text-decoration: none; font-weight: 600; }
.slp-x-utility a:hover { color: var(--x-accent); }
.slp-x-utility__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.slp-x-utility__sep { opacity: 0.3; }
.slp-x-utility__spacer { margin-left: auto; }
.slp-x-utility__cta {
  background: var(--x-green);
  padding: 7px 15px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.slp-x-utility__cta:hover { background: #12873c; color: #fff; }

/* ------------------------------------------------------------------ hero copy
   The current fold shows "220+ Countries" as a chip AND "220+ Countries
   Served" as a stat, 40px apart. One badge system, not two.                   */
.slp-x-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 213, 79, 0.14);
  border: 1px solid rgba(255, 213, 79, 0.5);
  color: var(--x-accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.slp-x-h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  text-transform: none;   /* the old rule uppercased it, which cost readability */
  text-wrap: balance;
}
.slp-x-hl { color: var(--x-accent); }

.slp-x-lede {
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.62;
  color: var(--x-muted);
  max-width: 60ch;
  /* !important because index.css centres hero paragraphs with margin:0 auto,
     which pushed this block 72px right of the H1 it belongs under. */
  margin: 0 auto 22px 0 !important;
}
.slp-x-lede strong { color: #fff; font-weight: 700; }
.slp-x-lede a {
  color: var(--x-accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.slp-x-lede a:hover { color: #fff; }

/* ----------------------------------------------------------------------- CTAs */
.slp-x-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.slp-x-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: var(--x-r);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.slp-x-btn:active { transform: translateY(1px); }
.slp-x-btn--primary {
  background: var(--x-accent);
  color: var(--x-accent-ink);
  box-shadow: 0 6px 20px rgba(255, 213, 79, 0.32);
}
.slp-x-btn--primary:hover { background: #ffdf73; box-shadow: 0 9px 26px rgba(255, 213, 79, 0.42); }
.slp-x-btn--wa { background: var(--x-green); color: #fff; box-shadow: 0 6px 20px rgba(22, 163, 74, 0.34); }
.slp-x-btn--wa:hover { background: #12873c; }
.slp-x-btn--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.42); }
.slp-x-btn--ghost:hover { background: rgba(255, 255, 255, 0.17); border-color: #fff; }

/* ------------------------------------------------------------------ trust row */
.slp-x-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  padding: 16px 0 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--x-line);
}
.slp-x-trust li { display: flex; flex-direction: column; gap: 2px; }
.slp-x-trust b { font-size: 19px; font-weight: 800; color: var(--x-accent); line-height: 1.1; }
.slp-x-trust span { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--x-muted); }

/* ----------------------------------------------------------------- quicklinks */
.slp-x-quicklinks { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.slp-x-quicklinks a {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.slp-x-quicklinks a:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }
.slp-x-quicklinks__label {
  font-size: 11.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--x-muted);
  align-self: center;
  margin-right: 2px;
}

/* ============================================================================
   Overrides on existing selectors. Each one names the symptom it fixes.
   ========================================================================== */

/* The brand wordmark wrapped to three lines and pushed the header to ~120px. */
.header .brand-text h2 {
  font-size: 15px;
  line-height: 1.15;
  white-space: nowrap;
  margin: 0;
}
.header .brand-text .brand-sub { font-size: 10.5px; opacity: 0.78; white-space: nowrap; }
.header { padding: 10px 0; }

/* Hero had 50px top padding under an already-tall header, pushing the quote
   card below the fold on a 1080p screen. */
.hero { padding: 34px 0 46px; }

/* The old overlay bottomed out at 30% opacity on the right, so white heading
   text sat on a bright sky. This keeps the left column readable at any crop. */
.hero-overlay {
  background:
    linear-gradient(103deg,
      rgba(28, 0, 48, 0.90) 0%,
      rgba(45, 0, 74, 0.78) 42%,
      rgba(74, 0, 114, 0.52) 72%,
      rgba(90, 0, 140, 0.42) 100%);
}

/* .hero-text is text-align:center in index.css, which centred the eyebrow and
   the lede while the H1, CTAs and chips sat left — the paragraph came out
   ragged on both edges. The fold reads as one left column. */
.hero-text.slp-x { text-align: left; }
.hero-text.slp-x .slp-x-lede,
.hero-text.slp-x .slp-x-h1 { text-align: left; }

@media (max-width: 900px) {
  /* slp-promo-band.js pins .slp-promo-topstrip to position:fixed; top:0 below
     900px, so it would sit on top of the utility bar. Drop the bar here — the
     fixed tab bar already carries call and WhatsApp on mobile. */
  .slp-x-utility { display: none; }
}

@media (max-width: 860px) {
  :root { --slp-header-h: 80px; }
  .slp-x-h1 { font-size: clamp(27px, 7.4vw, 32px); line-height: 1.1; margin-bottom: 12px; }

  /* A clear mobile decision path: promise, explanation, two primary actions,
     proof. The old layout rendered three 58px buttons one below another and
     turned the first screen into a stack of controls. */
  .hero-text.slp-x {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
    padding: 0;
  }
  .slp-x-eyebrow    { order: 1; align-self: flex-start; }
  .slp-x-h1         { order: 2; }
  .slp-x-lede       { order: 3; }
  .slp-x-ctas       { order: 4; }
  .slp-x-trust      { order: 5; }
  .slp-x-quicklinks { order: 6; }

  .slp-x-eyebrow {
    margin-bottom: 12px;
    padding: 7px 12px;
    font-size: 11.5px;
    line-height: 1.25;
  }
  .slp-x-lede {
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 16px !important;
  }
  .slp-x-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
  }
  .slp-x-ctas .slp-x-btn {
    flex: none;
    width: auto;
    min-width: 0;
    padding: 13px 10px;
    border-radius: 11px;
    font-size: 14px;
    line-height: 1.25;
  }
  .slp-x-ctas .slp-x-btn--ghost {
    grid-column: 1 / -1;
    padding: 10px;
    font-size: 13px;
    background: rgba(255,255,255,.06);
  }

  .hero { padding: 22px 0 34px; min-height: 0; }
  .hero-wrapper { gap: 24px; }

  /* Four compact proof cards scan faster than unbounded text floating on the
     photograph, while preserving the same trust statements. */
  .slp-x-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0;
    border-top: 0;
    margin-bottom: 14px;
  }
  .slp-x-trust li {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    background: rgba(27,0,48,.34);
    backdrop-filter: blur(3px);
  }
  .slp-x-trust b { font-size: 15px; }
  .slp-x-trust span { font-size: 9.5px; letter-spacing: 0.035em; line-height: 1.35; }

  .slp-x-quicklinks {
    gap: 7px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  .slp-x-quicklinks::-webkit-scrollbar { display: none; }
  .slp-x-quicklinks__label { display: none; }
  .slp-x-quicklinks a { flex: 0 0 auto; font-size: 12px; padding: 7px 11px; }

  .hero-form { padding: 0 !important; }
  .hero-form .pickup-card { border-radius: 14px; }
}

/* slp-promo-band.js pins the strip and sets body padding-top from its measured
   height, but on mobile it lands 14px taller than the fixed strip + header
   actually occupy, leaving a white sliver above the hero photo. The real fix
   belongs in that height calculation; until then, keep the sliver the colour
   of the hero it sits against instead of white. */
@media (max-width: 900px) {
  body.has-slp-promo-strip { background: #2a0043; }
}
