/* =====================================================================
   Al Shohab Al Aaliah — Site-wide Unified Identity
   Layered on top of the Science Lab template CSS.
   Theme: dark navy + electric blue + cyan glow.
   Loaded by every static HTML page in /sl/ and /en/ (and dynamically by
   the Next.js /en tree where applicable).
   ===================================================================== */

:root {
  --al-ink: #0d1017;
  --al-ink-2: #11141d;
  --al-ink-3: #191d2a;
  --al-line: rgba(124, 142, 165, 0.18);
  --al-line-strong: rgba(124, 142, 165, 0.28);
  --al-blue: #227eff;
  --al-blue-bright: #4f9bff;
  --al-cyan: #4dd6ff;
  --al-cyan-glow: rgba(77, 214, 255, 0.45);
  --al-blue-glow: rgba(34, 126, 255, 0.5);
  --al-text: #ffffff;
  --al-text-2: rgba(255, 255, 255, 0.78);
  --al-text-3: rgba(255, 255, 255, 0.56);
  --al-text-4: rgba(255, 255, 255, 0.38);
  --al-radius: 16px;
  --al-radius-sm: 10px;
  --al-radius-lg: 22px;
  --al-shadow-blue: 0 12px 60px -16px rgba(34, 126, 255, 0.55);
  --al-shadow-cyan: 0 0 0 1px rgba(77, 214, 255, 0.35), 0 12px 40px -10px rgba(77, 214, 255, 0.35);
}

/* -------- Logo sizing (header, sidebar, footer) -------- */
.al-logo,
figure.al-logo {
  display: inline-block !important;
  line-height: 0 !important;
  flex-shrink: 0 !important;
  min-width: 56px;
}
.al-logo img,
figure.al-logo img {
  display: block !important;
  height: 56px !important;
  width: auto !important;
  max-height: 56px !important;
  max-width: none !important;   /* defeat Tailwind .w-full (100%) */
  min-width: 56px !important;
  object-fit: contain !important;
}
/* Logo anchor inside header must not be shrunk by flexbox */
header nav > a.flex.items-center,
header nav > a[href="/"].flex {
  flex-shrink: 0 !important;
  min-width: 64px;
}
/* Mobile logo hidden at desktop sizes (was being shown alongside desktop) */
@media (min-width: 1024px) {
  .al-logo-m,
  figure.al-logo-m {
    display: none !important;
  }
}
@media (max-width: 1023px) {
  .al-logo-d,
  figure.al-logo-d {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .al-logo,
  figure.al-logo { min-width: 68px; }
  .al-logo img,
  figure.al-logo img {
    height: 68px !important;
    max-height: 68px !important;
    min-width: 68px !important;
  }
}
@media (min-width: 1280px) {
  .al-logo,
  figure.al-logo { min-width: 80px; }
  .al-logo img,
  figure.al-logo img {
    height: 80px !important;
    max-height: 80px !important;
    min-width: 80px !important;
  }
}

/* -------- Header / nav dropdown (mega menu) -------- */
/* Header must always be visible — don't rely on JS animation for the nav.
   IMPORTANT: keep the X centering (`-translate-x-1/2`) intact. */
nav[data-opai-animate],
header nav,
nav.header-scroll,
nav.bg-background-13\/10 {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
  filter: none !important;
  visibility: visible !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  animation: none !important;
}

/* Also make the desktop menu container always visible at xl+ */
@media (min-width: 1280px) {
  header nav > div.hidden.xl\:flex,
  header nav div.items-center.gap-10 {
    display: flex !important;
  }
}

/* On mobile/tablet, show hamburger and hide the desktop menu container */
@media (max-width: 1279px) {
  header nav > div.hidden.xl\:flex,
  header nav div.items-center.gap-10 {
    display: none !important;
  }
}

/* Compact nav text at xl+ to fit all 9 items + logo + CTA */
@media (min-width: 1280px) {
  .al-nav-top {
    gap: 2px !important;
    flex-wrap: nowrap !important;
  }
  .al-nav-top .text-tagline-3 {
    font-size: 10.5px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
    white-space: nowrap !important;
  }
  .al-nav-top li.py-\[18px\] {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  /* Compact the dropdown chevron */
  .al-nav-top li svg {
    width: 8px !important;
    height: 5px !important;
  }
  /* Hide "Work" link to make room */
  .al-nav-top li:has(> a[href="/case-studies"]) {
    display: none !important;
  }
  /* Hide the duplicate "Contact Us" button — the floating Call Us button is sufficient */
  header nav button[type="button"][class*="bg-background-5"] {
    display: none !important;
  }
  /* Hide the parent div that contains the button (saves more space) */
  header nav > a[href="/contact"][class*="bg-background-5"],
  header nav > div:has(> button[type="button"][class*="bg-background-5"]) {
    display: none !important;
  }
}
@media (min-width: 1440px) {
  .al-nav-top {
    gap: 6px !important;
  }
  .al-nav-top .text-tagline-3 {
    font-size: 11px !important;
  }
  /* Contact button stays hidden — the floating Call Us button + the
     dedicated /contact route in the nav already cover this. Re-showing
     the header button collides with the injected language switcher. */
}
@media (min-width: 1536px) {
  .al-nav-top {
    gap: 10px !important;
  }
  .al-nav-top .text-tagline-3 {
    font-size: 12px !important;
  }
  /* Bring back "Work" at 2xl+ */
  .al-nav-top li:has(> a[href="/case-studies"]) {
    display: list-item !important;
  }
}

/* Hide the dropdown by default; show only on hover/focus of the parent nav item. */
.al-nav-dd { display: none; }
.al-nav-has-dd:hover > .al-nav-dd,
.al-nav-has-dd:focus-within > .al-nav-dd { display: block; }

/* -------- "More" dropdown for nav overflow (xl/lg viewports) -------- */
.al-nav-more {
  position: relative;
}
.al-nav-more > a {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
}
.al-nav-more .al-nav-dd {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  padding: 10px;
  background: linear-gradient(180deg, #11141d 0%, #0d1017 100%);
  border: 1px solid rgba(77, 214, 255, 0.20);
  border-radius: 14px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  z-index: 60;
}
html[dir="rtl"] .al-nav-more .al-nav-dd {
  right: auto;
  left: 0;
}
.al-nav-more:hover > .al-nav-dd,
.al-nav-more:focus-within > .al-nav-dd { display: flex; }
.al-nav-more .al-nav-dd a {
  color: var(--al-text-2);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
  display: block;
}
.al-nav-more .al-nav-dd a:hover,
.al-nav-more .al-nav-dd a:focus-visible {
  background: rgba(34, 126, 255, 0.12);
  color: #ffffff;
  outline: none;
}

/* Mega menu layout: 4 columns, dark navy card */
.al-nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 760px;
  max-width: min(1200px, calc(100vw - 48px));
  margin-top: 6px;
  padding: 22px;
  display: none;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  background: linear-gradient(180deg, #11141d 0%, #0d1017 100%);
  border: 1px solid rgba(77, 214, 255, 0.20);
  border-radius: 18px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7),
              0 0 0 1px rgba(34, 126, 255, 0.12);
  z-index: 60;
}
.al-nav-has-dd:hover > .al-nav-mega,
.al-nav-has-dd:focus-within > .al-nav-mega { display: grid; }
@media (max-width: 1279px) {
  /* On mobile/tablet, the mega menu is hidden — the mobile drawer shows it. */
  .al-nav-mega { display: none !important; }
}

.al-dd-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.al-dd-head {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--al-cyan);
  margin-bottom: 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(77, 214, 255, 0.18);
}
.al-dd-col a {
  color: var(--al-text-2);
  text-decoration: none;
  font-size: 14px;
  padding: 5px 8px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.al-dd-col a:hover,
.al-dd-col a:focus-visible {
  background: rgba(34, 126, 255, 0.12);
  color: #ffffff;
  outline: none;
}

/* -------- Page H1 — prominent white on dark -------- */
main h1,
h1.al-page-title,
.service-details-markdown > h1,
.service-details-markdown h1,
main h1[class*="text-white"] {
  color: #ffffff !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  font-size: clamp(1.15rem, 4vw, 3.4rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.01em !important;
  text-align: inherit;
  margin: 0 0 0.8em !important;
  padding-top: 0.4em;
  text-shadow: 0 2px 30px rgba(77, 214, 255, 0.25);
  overflow-wrap: break-word !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  max-width: 100% !important;
  width: 100% !important;
  display: block !important;
  hyphens: auto !important;
  white-space: normal !important;
}
/* The italic span inside H1 ("in Egypt" / "في مصر") must inherit the H1 size
   instead of using its own text-is-heading-N / text-sora-heading-N class. */
main h1 span,
main h1 .italic,
main h1 em,
main h1 b,
main h1 i,
main h1 strong,
h1.al-page-title span,
h1.al-page-title em,
h1.al-page-title b,
h1.al-page-title i,
h1.al-page-title strong {
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  font-weight: inherit !important;
  font-style: italic !important;
  color: inherit !important;
}
@media (max-width: 480px) {
  main h1, h1.al-page-title, .service-details-markdown > h1 {
    font-size: 1.4rem !important;
  }
}
/* Defeat text-white/90 / text-white/80 / text-white/70 on the H1 only */
main h1.text-white\/90,
main h1.text-white\/80,
main h1.text-white\/70,
main h1.text-white\/60 {
  color: #ffffff !important;
  opacity: 1 !important;
}
.service-details-markdown > h1,
.service-details-markdown h1 {
  text-align: center !important;
}

/* -------- Subtle blue accent under the H1 -------- */
main h1::after,
.service-details-markdown > h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 18px 0 0;
  background: linear-gradient(90deg, var(--al-blue), var(--al-cyan));
  border-radius: 3px;
  box-shadow: 0 0 18px var(--al-cyan-glow);
}
.service-details-markdown > h1::after {
  margin-left: auto;
  margin-right: auto;
}

/* -------- Standalone "Arabic" link (was a broken label at top of body) -------- */
a.lang[hreflang="ar"],
a.lang[hreflang="en"] {
  position: fixed !important;
  top: 16px !important;
  inset-inline-end: 16px !important;
  z-index: 60 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: rgba(13, 16, 23, 0.85) !important;
  color: #ffffff !important;
  border: 1px solid var(--al-blue) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px -10px var(--al-blue-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
a.lang[hreflang="ar"]:hover,
a.lang[hreflang="en"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px -8px var(--al-blue-glow);
}
a.lang[hreflang="ar"]::before,
a.lang[hreflang="en"]::before {
  content: "🌐";
  font-size: 12px;
}

/* -------- Repeated section redesign: cards -------- */
main .al-card,
main .bg-background-5.border-stroke-1\/11 {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.95), rgba(13, 16, 23, 0.95)) !important;
  border: 1px solid var(--al-line) !important;
  border-radius: var(--al-radius) !important;
  padding: 1.5rem !important;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
main .al-card:hover,
main .bg-background-5.border-stroke-1\/11:hover {
  border-color: var(--al-blue) !important;
  transform: translateY(-3px);
  box-shadow: var(--al-shadow-blue);
}
main .al-card h3,
main .bg-background-5.border-stroke-1\/11 h3 {
  color: #ffffff !important;
  font-weight: 600 !important;
}
main .al-card p,
main .bg-background-5.border-stroke-1\/11 p {
  color: var(--al-text-2) !important;
}

/* -------- Section H2: stronger hierarchy on dark -------- */
main h2 {
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em;
}

/* -------- Section H3: cleaner subheadings -------- */
main h3 {
  color: var(--al-text) !important;
  font-weight: 600 !important;
}

/* -------- Body text: never black on dark -------- */
main p,
main li,
main span:not([class*="tagline"]) {
  color: var(--al-text-2);
}
main strong {
  color: #ffffff !important;
}

/* -------- Repeated section: process timeline (numbered steps) -------- */
main ol.al-process,
main .al-process {
  list-style: none !important;
  counter-reset: alstep;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 14px !important;
}
main ol.al-process > li,
main .al-process > li {
  counter-increment: alstep;
  position: relative;
  padding: 18px 20px 18px 64px !important;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.95), rgba(13, 16, 23, 0.95));
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius);
  color: var(--al-text-2);
}
main ol.al-process > li::before,
main .al-process > li::before {
  content: counter(alstep);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--al-blue), var(--al-cyan));
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(34, 126, 255, 0.18);
  font-size: 15px;
}
html[dir="rtl"] main ol.al-process > li,
html[dir="rtl"] main .al-process > li {
  padding: 18px 64px 18px 20px !important;
}
html[dir="rtl"] main ol.al-process > li::before,
html[dir="rtl"] main .al-process > li::before {
  left: auto;
  right: 18px;
}
main ol.al-process > li > strong,
main .al-process > li > strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* -------- Integration tile grid -------- */
main .al-integration-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
main .al-integration-grid > li {
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.95), rgba(13, 16, 23, 0.95));
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius);
  padding: 18px 18px;
  text-align: center;
  color: var(--al-text-2);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
main .al-integration-grid > li:hover {
  border-color: var(--al-blue);
  transform: translateY(-3px);
  box-shadow: var(--al-shadow-blue);
}
main .al-integration-grid > li > .al-int-name {
  color: #ffffff;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

/* -------- "Use Cases" card grid (4-column on desktop, 1-column on mobile) -------- */
main .al-usecases {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (min-width: 640px) {
  main .al-usecases { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (min-width: 1024px) {
  main .al-usecases { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
main .al-usecases > li {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 20, 29, 0.95), rgba(13, 16, 23, 0.95));
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius);
  padding: 22px 20px 20px 22px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
main .al-usecases > li::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 24px;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--al-blue), var(--al-cyan));
  box-shadow: 0 0 14px var(--al-cyan-glow);
}
main .al-usecases > li:hover {
  border-color: var(--al-blue);
  transform: translateY(-3px);
  box-shadow: var(--al-shadow-blue);
}
main .al-usecases > li > h3,
main .al-usecases > li > strong.al-uc-title {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  display: block;
  margin: 6px 0 8px;
}
main .al-usecases > li > p {
  color: var(--al-text-2) !important;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* -------- Advisory / limits panel (automation limits) -------- */
main .al-advisory,
main .al-limits-panel {
  position: relative;
  border: 1px solid rgba(77, 214, 255, 0.35) !important;
  border-radius: var(--al-radius) !important;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(8, 12, 22, 0.92)) !important;
  padding: 22px 22px 18px !important;
  margin: 0 !important;
}
main .al-advisory::before,
main .al-limits-panel::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: var(--al-radius) 0 0 var(--al-radius);
  background: linear-gradient(180deg, var(--al-cyan), var(--al-blue));
  box-shadow: 0 0 18px var(--al-cyan-glow);
}
main .al-advisory h3,
main .al-limits-panel h3 {
  color: #ffffff !important;
  font-weight: 600;
  margin: 0 0 8px;
}
main .al-advisory p,
main .al-limits-panel p {
  color: var(--al-text-2);
  margin: 0;
}
main .al-advisory ul,
main .al-limits-panel ul {
  margin: 8px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
main .al-advisory ul li,
main .al-limits-panel ul li {
  position: relative;
  padding: 6px 0 6px 22px !important;
  color: var(--al-text-2) !important;
}
main .al-advisory ul li::before,
main .al-limits-panel ul li::before {
  content: "→";
  position: absolute;
  inset-inline-start: 0;
  color: var(--al-cyan);
  font-weight: 700;
}

/* -------- CTA / follow-up card -------- */
main .al-cta-card,
main .al-delivery-card {
  position: relative;
  border-radius: var(--al-radius-lg) !important;
  border: 1px solid rgba(34, 126, 255, 0.4) !important;
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.95), rgba(20, 28, 48, 0.95)) !important;
  padding: 28px 26px !important;
  margin: 0 !important;
  overflow: hidden;
}
main .al-cta-card::before,
main .al-delivery-card::before {
  content: "";
  position: absolute;
  top: -40px;
  inset-inline-end: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--al-blue-glow), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
main .al-cta-card h2,
main .al-cta-card h3,
main .al-delivery-card h2,
main .al-delivery-card h3 {
  color: #ffffff !important;
  margin: 0 0 10px !important;
  position: relative;
  z-index: 1;
}
main .al-cta-card p,
main .al-delivery-card p {
  color: var(--al-text-2) !important;
  position: relative;
  z-index: 1;
}
main .al-cta-card a,
main .al-delivery-card a {
  color: var(--al-cyan) !important;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
main .al-cta-card a:hover,
main .al-delivery-card a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

/* -------- Requirement card (structured list items) -------- */
main .al-requirements {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (min-width: 768px) {
  main .al-requirements { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
main .al-requirements > li {
  background: rgba(17, 20, 29, 0.85);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius-sm);
  padding: 14px 16px;
  color: var(--al-text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
main .al-requirements > li > .al-req-label {
  display: block;
  color: var(--al-cyan);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
main .al-requirements > li > strong {
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

/* -------- Floating phone button (injected by alsw-ui.js) -------- */
#al-phone-btn {
  position: fixed !important;
  bottom: 20px !important;
  z-index: 70 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 16px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #1a5fd6, #227eff) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border: 1px solid rgba(77, 214, 255, 0.45) !important;
  box-shadow: 0 14px 40px -10px var(--al-blue-glow), 0 0 0 4px rgba(34, 126, 255, 0.12) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
html[dir="ltr"] #al-phone-btn { left: 20px !important; right: auto !important; }
html[dir="rtl"] #al-phone-btn { right: 20px !important; left: auto !important; }

#al-phone-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #227eff, #4f9bff) !important;
  box-shadow: 0 18px 50px -10px var(--al-blue-glow), 0 0 0 5px rgba(34, 126, 255, 0.2) !important;
}
#al-phone-btn:focus-visible {
  outline: 2px solid #4dd6ff;
  outline-offset: 3px;
}
#al-phone-btn svg { display: block !important; flex-shrink: 0; }
#al-phone-btn .al-phone-label { display: inline; }
@media (max-width: 480px) {
  #al-phone-btn { padding: 11px 13px !important; }
  #al-phone-btn .al-phone-label { display: none; }
}

/* Place WhatsApp button (if present) to the opposite side so they don't overlap */
#al-phone-btn ~ a[href*="wa.me"],
#al-phone-btn ~ [class*="whatsapp"] {
  /* nothing here — the existing WhatsApp button (if any) keeps its slot */
}

/* -------- Inline "Follow-up" / "Delivery" CTA strip inside sections -------- */
main .al-followup-strip {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
main .al-followup-strip > li {
  background: rgba(17, 20, 29, 0.85);
  border: 1px solid var(--al-line);
  border-radius: var(--al-radius-sm);
  padding: 12px 14px;
  color: var(--al-text-2);
  font-size: 0.93rem;
  text-align: start;
}
main .al-followup-strip > li > strong {
  display: block;
  color: #ffffff;
  margin-bottom: 2px;
}

/* -------- Section eyebrow / kicker (small label above section H2) -------- */
main .al-eyebrow {
  display: inline-block;
  color: var(--al-cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
  padding: 4px 10px;
  border: 1px solid rgba(77, 214, 255, 0.35);
  border-radius: 999px;
  background: rgba(77, 214, 255, 0.08);
}

/* -------- Force dark background on the main page area -------- */
main {
  background: var(--al-ink) !important;
  color: var(--al-text) !important;
}
main > section:not([class*="bg-"]):not([style*="background"]):first-of-type {
  background: linear-gradient(180deg, var(--al-ink) 0%, var(--al-ink-2) 100%) !important;
}

/* -------- Hide horizontal overflow safely on small screens -------- */
html, body { overflow-x: hidden !important; max-width: 100vw !important; }
main, main * { max-width: 100%; box-sizing: border-box; }
main p, main li, main span { overflow-wrap: break-word; word-wrap: break-word; }
main img, main video { max-width: 100% !important; height: auto !important; }
main .main-container { max-width: min(1280px, calc(100vw - 32px)) !important; padding-left: 16px !important; padding-right: 16px !important; margin-left: auto !important; margin-right: auto !important; }
main [class*="col-span"] { max-width: 100% !important; min-width: 0 !important; }
main .grid { max-width: 100% !important; }
main section { max-width: 100vw !important; overflow: hidden !important; }
main h2, main p, main div { max-width: 100% !important; }

/* -------- Subtle global selection colour -------- */
::selection {
  background: rgba(34, 126, 255, 0.35);
  color: #ffffff;
}

/* -------- Make sure no light-mode residue leaks through on dark page -------- */
main * { box-sizing: border-box; }

/* Sprint 4 accessible full-card hit area */
.s4-card-scope{position:relative}
.s4-stretched-link::after{content:"";position:absolute;inset:0;z-index:1}
.s4-stretched-link:focus-visible{outline:2px solid #227eff;outline-offset:4px;border-radius:4px}
.s4-card-scope a:not(.s4-stretched-link),.s4-card-scope button,.s4-card-scope [role=button]{position:relative;z-index:2}
