/* ═══════════════════════════════════════════════════════════════
   DELRIQUE INFOTECH — Component Styles
   BEM components for service cards, industry cards, tech grid,
   capabilities, FAQ, pillar nav, sticky rail, and more.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Header ─── */
.header {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 12px auto 0;
  width: fit-content;
  max-width: calc(100% - 24px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: var(--brand-navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}
.header.scrolled {
  background: rgba(11, 18, 32, 0.92);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-height: var(--header-h);
  overflow: hidden;
}
.logo-img {
  width: auto;
  height: 42px;
  max-width: min(180px, 40vw);
  object-fit: contain;
  display: block;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brand-white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: var(--font-size-nav);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brand-white);
  background: rgba(255,255,255,0.06);
}
.nav-arrow {
  opacity: 0.6;
  transition: transform 0.2s var(--ease-smooth);
}
.has-mega:hover .nav-arrow,
.has-mega:focus-within .nav-arrow,
.has-mega.is-open .nav-arrow {
  transform: rotate(180deg);
}
.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 780px;
  max-width: min(860px, calc(100vw - 48px));
  background: #0f1a33;
  border: 1px solid rgba(21, 70, 160, 0.45);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-smooth), transform 0.22s var(--ease-smooth), visibility 0.22s;
  z-index: 50;
}
.mega-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.mega-menu.mega-sm {
  min-width: 420px;
  max-width: min(520px, calc(100vw - 48px));
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 24px;
}
.mega-menu.mega-sm .mega-grid {
  grid-template-columns: repeat(2, 1fr);
}
.mega-col h3 {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(21, 70, 160, 0.35);
}
.mega-col a {
  display: block;
  padding: 7px 10px;
  margin: 2px -10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease-smooth), background 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
  line-height: 1.45;
}
.mega-col a:hover {
  color: var(--brand-white);
  background: rgba(21, 70, 160, 0.16);
  transform: translateX(3px);
}
.mega-col .mega-view-all {
  margin-top: 10px;
  font-weight: 600;
  color: var(--brand-gold);
}
.mega-col .mega-view-all:hover {
  color: var(--brand-white);
  background: rgba(21, 70, 160, 0.16);
}
.mega-col + .mega-col {
  border-left: 1px solid rgba(21, 70, 160, 0.22);
  padding-left: 24px;
}
.mega-menu.mega-sm .mega-col + .mega-col {
  border-left: 1px solid rgba(21, 70, 160, 0.22);
}
.mega-col--cta {
  display: flex;
  border-left: 1px solid rgba(21, 70, 160, 0.22);
  padding-left: 24px;
}
.mega-cta-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 20px 18px;
  border: 1px solid rgba(21, 70, 160, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(21, 70, 160, 0.08);
  text-decoration: none;
  transition: background 0.2s var(--ease-smooth), border-color 0.2s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}
.mega-cta-tile:hover {
  background: rgba(21, 70, 160, 0.16);
  border-color: rgba(21, 70, 160, 0.65);
  transform: translateY(-1px);
}
.mega-cta-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-gold);
  letter-spacing: 0.02em;
}
.mega-cta-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.mega-cta-arrow {
  font-size: 0.95rem;
  color: var(--brand-gold);
  margin-top: 2px;
}
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--brand-gold);
  color: var(--brand-black);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-cta-btn:hover {
  background: #ffd23a;
  transform: translateY(-1px);
  color: var(--brand-black);
}

/* ─── "Talk to a Specialist" contact-options popover ─── */
.nav-specialist-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(7, 13, 29, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.28s ease;
}
.nav-specialist-backdrop[hidden] { display: none; }
.nav-specialist-backdrop.is-open { opacity: 1; }

.nav-specialist-popover {
  position: fixed;
  z-index: 9999;
  width: min(380px, calc(100vw - 40px));
  background: linear-gradient(180deg, #0f1b36 0%, var(--brand-black) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  color: #fff;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.nav-specialist-popover[hidden] { display: none; }
.nav-specialist-popover.is-open { opacity: 1; transform: translateY(0) scale(1); }

.nav-specialist__head {
  position: relative;
  padding: 20px 22px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-specialist__head h3 {
  margin: 0 0 4px;
  font-size: 1.12rem;
  color: #fff;
}
.nav-specialist__head p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}
.nav-specialist__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.nav-specialist__close:hover {
  background: rgba(255, 195, 0, 0.15);
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

.nav-specialist__options {
  padding: 10px;
}
.nav-specialist__option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  border: 1px solid transparent;
}
.nav-specialist__option:hover,
.nav-specialist__option:focus-visible {
  background: rgba(21, 70, 160, 0.28);
  border-color: rgba(255, 195, 0, 0.35);
  transform: translateX(2px);
}
.nav-specialist__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--brand-gold);
  background: rgba(255, 195, 0, 0.1);
  border: 1px solid rgba(255, 195, 0, 0.22);
}
.nav-specialist__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.nav-specialist__text strong {
  font-size: 0.95rem;
}
.nav-specialist__text em {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}
.nav-specialist__arrow {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1.1rem;
  transition: transform 0.2s, color 0.2s;
}
.nav-specialist__option:hover .nav-specialist__arrow {
  color: var(--brand-gold);
  transform: translateX(3px);
}

.nav-specialist__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.nav-specialist__foot a {
  color: var(--brand-gold);
  font-weight: 600;
  text-decoration: none;
}
.nav-specialist__foot a:hover { text-decoration: underline; }

@media (min-width: 1025px) {
  .nav-specialist-popover {
    top: calc(var(--header-h, 78px) + 10px);
    right: 40px;
    transform-origin: top right;
  }
}
@media (max-width: 1024px) {
  .nav-specialist-popover {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: max-content;
    transform: translateY(12px) scale(0.98);
  }
  .nav-specialist-popover.is-open {
    transform: translateY(0) scale(1);
  }
}

/* ─── Footer ─── */
.footer {
  background: #070d1d;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
}
.footer-top {
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.footer-cta {
  text-align: center;
  padding: 2.5rem 0;
}
.footer-cta-text h3 {
  color: var(--brand-white);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.footer-cta-text p {
  margin: 0;
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.65);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0;
}
.footer-brand p {
  margin: 16px 0;
  line-height: 1.7;
  font-size: 0.92rem;
}
.footer-logo {
  display: inline-block;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.footer-logo:hover {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 4px 12px rgba(255, 195, 0, 0.35));
}
.footer-logo-img {
  width: auto;
  height: 42px;
  max-width: 180px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0;
}
.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-contact-item:hover {
  color: var(--brand-white);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer-social a:hover {
  background: var(--brand-blue);
  color: var(--brand-white);
  border-color: var(--brand-blue);
}
.footer-nav h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li {
  margin-bottom: 10px;
}
.footer-nav a {
  position: relative;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--brand-gold);
  transition: width 0.2s ease;
}
.footer-nav a:hover {
  color: var(--brand-gold);
  padding-left: 4px;
}
.footer-nav a:hover::after {
  width: 100%;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.footer-bottom-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: var(--text-secondary);
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--brand-gold);
}
.footer-credit {
  color: var(--brand-gold);
  font-weight: 700;
  font-size: 0.85rem;
}
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--brand-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 40;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  line-height: 1;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background-color 0.3s;
  z-index: 40;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background: #1fb959;
  box-shadow: 0 10px 28px rgba(37,211,102,0.45);
}
.whatsapp-float:focus-visible {
  outline: 2px solid #FFC300;
  outline-offset: 3px;
}
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37,211,102,0.6);
  animation: wa-pulse 2.2s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 1024px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-toggle {
    display: flex;
    border-color: rgba(255, 255, 255, 0.25);
  }
  .nav {
    position: fixed;
    top: calc(var(--header-h) + 12px);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brand-navy);
    padding: 24px;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.3s, visibility 0.3s;
  }
  .nav:not([hidden]) {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    box-shadow: -16px 0 32px rgba(0, 0, 0, 0.25);
  }
  .nav[hidden] {
    display: block !important;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .nav::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .nav:not([hidden])::before {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding-top: 6px;
  }
  .nav-link {
    padding: 14px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
  }
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.10);
  }
  .nav-link[aria-current="page"] {
    color: var(--brand-white);
    border-left: 3px solid var(--brand-gold);
    background: rgba(0, 0, 0, 0.18);
  }
  .mega-menu,
  .mega-menu.mega-sm {
    position: static;
    transform: none;
    min-width: 0;
    max-width: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-left: 2px solid rgba(255, 255, 255, 0.20);
    padding: 12px 12px 12px 14px;
    margin-top: 6px;
    margin-left: 12px;
    box-shadow: none;
    display: none;
  }
  .has-mega:hover .mega-menu,
  .has-mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .has-mega.is-open .mega-menu {
    display: block;
  }
  .mega-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mega-col + .mega-col,
  .mega-menu.mega-sm .mega-col + .mega-col,
  .mega-col--cta {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 12px;
  }
  .mega-col h3 {
    font-size: 0.72rem;
    margin-bottom: 8px;
    border-bottom-color: rgba(255, 255, 255, 0.15);
  }
  .mega-col a {
    padding: 8px 10px 8px 14px;
    margin: 2px -12px 2px -16px;
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
  }
  .mega-col a:hover {
    transform: none;
    color: var(--brand-white);
    background: rgba(255, 255, 255, 0.10);
  }
  .mega-col--cta {
    display: block;
  }
  .mega-cta-tile {
    padding: 13px 12px;
    border-color: rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.06);
  }
  .nav-cta-item {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .nav-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* ─── Service Card ─── */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-card__header {
  margin-bottom: 16px;
}
.service-card__pillar {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-gold);
  margin-bottom: 8px;
}
.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-white);
  line-height: 1.3;
  margin-bottom: 8px;
}
.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.service-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.service-card__tech-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(21, 70, 160, 0.12);
  border: 1px solid rgba(21, 70, 160, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-blue);
}
.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-top: auto;
  transition: color 0.3s;
}
.service-card__cta svg {
  transition: transform 0.3s;
}
.service-card:hover .service-card__cta {
  color: var(--brand-gold);
}
.service-card:hover .service-card__cta svg {
  transform: translateX(4px);
}
.service-card--compact {
  padding: 20px 18px;
}
.service-card--compact .service-card__title {
  font-size: 0.95rem;
}

/* ─── Industry Card ─── */
.industry-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}
.industry-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.industry-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 70, 160, 0.12);
  border-radius: 12px;
  margin-bottom: 16px;
  color: var(--brand-blue);
  flex-shrink: 0;
}
.industry-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-white);
  line-height: 1.3;
  margin-bottom: 8px;
}
.industry-card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.industry-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  margin-top: auto;
  transition: color 0.3s;
}
.industry-card__cta svg {
  transition: transform 0.3s;
}
.industry-card:hover .industry-card__cta {
  color: var(--brand-gold);
}
.industry-card:hover .industry-card__cta svg {
  transform: translateX(4px);
}

/* ─── Tech Ecosystem — Premium Interactive Canvas + Marquee ─── */
.tech-ecosystem {
  overflow: visible;
}
.tech-ecosystem .section-header {
  margin-bottom: 32px;
}
.tech-ecosystem .section-header h2 {
  margin-bottom: 12px;
}
.tech-ecosystem .section-header p {
  max-width: 640px;
  margin: 0 auto;
}
.tech-ecosystem__brandlabel {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 18px;
}

/* ─── Desktop Canvas ─── */
.tech-canvas {
  position: relative;
  height: 440px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(21, 70, 160, 0.35);
  border-radius: var(--radius);
  overflow: hidden;
}
.tech-canvas__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tech-canvas__corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(255, 195, 0, 0.5);
  opacity: 0.7;
}
.tech-canvas__corner--tl { top: 12px; left: 12px; border-top: 1px solid; border-left: 1px solid; }
.tech-canvas__corner--tr { top: 12px; right: 12px; border-top: 1px solid; border-right: 1px solid; }
.tech-canvas__corner--bl { bottom: 12px; left: 12px; border-bottom: 1px solid; border-left: 1px solid; }
.tech-canvas__corner--br { bottom: 12px; right: 12px; border-bottom: 1px solid; border-right: 1px solid; }
.tech-canvas__gridline {
  position: absolute;
  background: rgba(21, 70, 160, 0.18);
  opacity: 0.6;
}
.tech-canvas__gridline--h {
  left: 40px;
  right: 40px;
  top: 50%;
  height: 1px;
  transform: translateY(-50%);
}
.tech-canvas__gridline--v {
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}
.tech-canvas__stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.tech-canvas__brand {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  will-change: left, top, opacity;
}
.tech-canvas__brand.is-visible {
  opacity: 1;
}
.tech-canvas__logo {
  width: 120px;
  height: 120px;
  display: flex;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.tech-canvas__logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  filter: grayscale(0) brightness(1);
}
.tech-canvas__name {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-white);
  line-height: 1;
}
.tech-canvas__cat {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.tech-canvas__hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.32);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
}
.tech-canvas:hover .tech-canvas__hint,
.tech-canvas.is-active .tech-canvas__hint {
  opacity: 0;
}

/* ─── Mobile Marquee ─── */
.tech-marquee {
  display: none;
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  border-radius: var(--radius);
}
.tech-marquee__viewport {
  overflow: hidden;
  width: 100%;
}
.tech-marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: techMarqueeScroll 28s linear infinite;
  will-change: transform;
}
.tech-marquee__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  opacity: 0.62;
  transition: opacity 0.3s var(--ease-smooth);
}
.tech-marquee__item img {
  width: 48px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: grayscale(0.25) brightness(0.95);
}
.tech-marquee__name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
@keyframes techMarqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─── Responsive ─── */
@media (min-width: 1025px) {
  .tech-marquee { display: none; }
  .tech-canvas { display: flex; }
}
@media (max-width: 1024px) {
  .tech-canvas { display: none; }
  .tech-marquee { display: block; }
  .tech-ecosystem .section-header { margin-bottom: 28px; }
  .tech-ecosystem__brandlabel { margin-bottom: 14px; }
  .tech-marquee__track { gap: 28px; animation-duration: 24s; }
  .tech-marquee__item img { width: 42px; height: 26px; }
  .tech-marquee__name { font-size: 0.72rem; }
}
@media (max-width: 640px) {
  .tech-marquee__track { gap: 22px; animation-duration: 22s; }
  .tech-marquee__item { gap: 8px; }
  .tech-marquee__item img { width: 36px; height: 22px; }
  .tech-marquee__name { font-size: 0.68rem; }
}

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  .tech-canvas__brand {
    transition: none;
  }
  .tech-marquee__track {
    animation: none;
    transform: none;
  }
  .tech-marquee__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tech-marquee__viewport::-webkit-scrollbar { display: none; }
  .whatsapp-float::after {
    animation: none;
  }
}

/* Legacy Tech Grid (for service pages, etc.) */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.tech-grid .tech-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s;
}
.tech-grid .tech-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}
.tech-grid .tech-card img {
  width: 56px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(0.9);
  transition: filter 0.3s;
}
.tech-grid .tech-card:hover img {
  filter: brightness(1.1);
}
.tech-grid .tech-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 4px;
}
.tech-grid .tech-card__category {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Tech Marquee (unchanged) */
.tech-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.tech-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: techScroll 30s linear infinite;
}
.tech-marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}
.tech-marquee-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.tech-marquee-item span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
@keyframes techScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Capabilities Grid ─── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s;
}
.capability-item:hover {
  border-color: rgba(21, 70, 160, 0.3);
}
.capability-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(21, 70, 160, 0.1);
  border-radius: 10px;
  flex-shrink: 0;
  color: var(--brand-blue);
}
.capability-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-white);
  margin-bottom: 4px;
}
.capability-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Pillar Card (BEM additions) ─── */
.pillar-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.pillar-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-white);
  line-height: 1.3;
}

/* ─── Problem Card with Image ─── */
.problem-card--visual {
  padding: 0;
  overflow: hidden;
}
.problem-card--visual .problem-card__img {
  width: 100%;
  height: 140px;
  overflow: hidden;
}
.problem-card--visual .problem-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.problem-card--visual:hover .problem-card__img img {
  transform: scale(1.05);
}
.problem-card--visual .problem-card__body {
  padding: 20px;
}
.problem-card--visual .problem-icon {
  margin-bottom: 12px;
}
.problem-card--visual h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 8px;
}
.problem-card--visual p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Pillar Card with Image ─── */
.pillar-card--with-image {
  overflow: hidden;
  padding: 0;
}
.pillar-card--with-image .pillar-card__image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.pillar-card--with-image .pillar-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.pillar-card--with-image:hover .pillar-card__image img {
  transform: scale(1.05);
}
.pillar-card--with-image .pillar-card__body {
  padding: 24px;
}
.pillar-card--with-image .pillar-num {
  margin-bottom: 8px;
}
.pillar-card--with-image h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-white);
  margin-bottom: 8px;
}
.pillar-card--with-image p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ─── Industry Card with Image ─── */
.industry-card--with-image {
  overflow: hidden;
  padding: 0;
}
.industry-card--with-image .industry-card__image {
  width: 100%;
  height: 160px;
  overflow: hidden;
}
.industry-card--with-image .industry-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.industry-card--with-image:hover .industry-card__image img {
  transform: scale(1.05);
}
.industry-card--with-image .industry-card__body {
  padding: 24px;
}
.industry-card--with-image .industry-card__icon {
  margin-bottom: 12px;
}
.industry-card--with-image .industry-card__title {
  margin-bottom: 8px;
}

/* ─── FAQ Section ─── */
/* ─── FAQ Section ─── */
.faq-section {
  background: var(--brand-black);
  padding: clamp(96px, 8vw, 140px) 0 clamp(96px, 8vw, 140px);
}
.faq-section .section-header {
  text-align: center;
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
  position: relative;
  z-index: 10;
}
.faq-section .section-label {
  color: var(--brand-gold);
  font-size: clamp(0.625rem, 1.5vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: clamp(0.5rem, 1vw, 0.75rem);
  font-weight: 600;
}
.faq-section h2 {
  font-family: 'Inter', 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--brand-white);
  line-height: 1.3;
  margin: 0;
}
.faq-section p {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.50);
  max-width: 600px;
  margin: 0 auto clamp(1.5rem, 3vw, 2rem);
  line-height: 1.7;
}
.faq-list {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ─── Single column FAQ accordion — NO 2-column grid at ANY breakpoint ─── */
.faq-item {
  background: transparent;
  border: none;
  margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
  width: 100%;
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-item:hover {
  border-color: var(--brand-blue);
}
.faq-question {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--brand-white);
  width: 100%;
  padding: clamp(20px, 4vw, 24px) clamp(20px, 4vw, 28px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', 500;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.4;
  transition: color 0.3s;
  outline: none;
}
.faq-question:hover {
  color: var(--brand-gold);
}
.faq-question:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 3px;
}
.faq-question .faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.40);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--brand-gold);
}
.faq-answer {
  background: var(--brand-black);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-top: none;
  color: rgba(255, 255, 255, 0.70);
  margin-top: 0;
  padding: 0 clamp(20px, 4vw, 28px) clamp(20px, 4vw, 26px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}
.faq-answer[hidden] {
  display: none !important;
}
.faq-question[aria-expanded="true"] + .faq-answer:not([hidden]) {
  max-height: 2000px;
  padding: 0 clamp(20px, 4vw, 28px) clamp(26px, 4vw, 30px);
}
.faq-question[aria-expanded="true"] + .faq-answer.faq-answer-hidden {
  max-height: 2000px;
  padding: 0 clamp(20px, 4vw, 28px) clamp(26px, 4vw, 30px);
}
.faq-answer-inner {
  font-size: clamp(0.875rem, 2vw, 0.875rem);
  line-height: 1.7;
  max-width: 850px;
}
.faq-answer p {
  margin: 0;
  font-size: clamp(0.875rem, 2vw, 0.875rem);
  line-height: 1.7;
}

/* ─── Border ownership: .faq-item owns the only visible border ─── */
.faq-item {
  border: 1px solid #1546A0;
  border-radius: 16px;
  margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
  background: transparent;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}
.faq-item:last-child {
  margin-bottom: 0;
}
.faq-item:hover {
  border-color: #FFC300;
  background: rgba(255, 195, 0, 0.03);
}
.faq-item.is-open {
  border-color: #FFC300;
  background: rgba(255, 195, 0, 0.03);
}

/* ─── Question button must NOT have its own border ─── */
.faq-question {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  width: 100%;
  padding: clamp(20px, 4vw, 24px) clamp(20px, 4vw, 28px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Inter', 500;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.4;
  transition: color 0.3s;
  outline: none;
}
.faq-question:hover {
  color: #FFC300;
}
.faq-question:focus-visible {
  outline: 2px solid #FFC300;
  outline-offset: 3px;
}

/* ─── Mobile: click/tap only — no hover dependency ≤ 767px ─── */
@media (max-width: 767px) {
  .faq-item:hover {
    border-color: #FFC300;
    background: transparent;
  }
  .faq-item.is-open {
    border-color: #FFC300;
    background: rgba(255, 195, 0, 0.03);
  }
  .faq-question:hover {
    color: #1546A0;
  }
  /* Disable hover-open on mobile — answer only opens on click/tap */
  .faq-item:not(.is-open):hover .faq-answer {
    display: none !important;
  }
}

/* ─── Tablet hover behavior ─── */
@media (min-width: 768px) and (max-width: 1024px) {
  .faq-item:hover {
    border-color: #FFC300;
    background: rgba(255, 195, 0, 0.03);
  }
  .faq-item.is-open {
    border-color: #FFC300;
    background: rgba(255, 195, 0, 0.03);
  }
  .faq-question:hover {
    color: #FFC300;
  }
}

/* ─── Desktop hover behavior ─── */
@media (min-width: 1025px) {
  .faq-item:hover {
    border-color: #FFC300;
    background: rgba(255, 195, 0, 0.03);
  }
  .faq-item.is-open {
    border-color: #FFC300;
    background: rgba(255, 195, 0, 0.03);
  }
  .faq-question:hover {
    color: #FFC300;
  }
}
.faq-question .faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.40);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: #FFC300;
}

/* ─── Single column FAQ accordion — NO 2-column grid at ANY breakpoint ─── */
@media (min-width: 1025px) {
  .faq-item {
    margin-bottom: clamp(0.5rem, 2vw, 0.75rem);
  }
  .faq-question {
    padding: clamp(20px, 4vw, 24px) clamp(20px, 4vw, 28px);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
  }
  .faq-answer {
    padding: 0 clamp(20px, 4vw, 28px) clamp(20px, 4vw, 26px);
  }
  .faq-answer-inner {
    font-size: clamp(0.875rem, 2vw, 0.875rem);
  }
}

/* ─── Tablet ─── */
@media (min-width: 769px) and (max-width: 1024px) {
  .faq-question {
    padding: clamp(18px, 4vw, 22px) clamp(18px, 4vw, 26px);
    font-size: clamp(0.9375rem, 2.5vw, 1rem);
  }
  .faq-answer {
    padding: 0 clamp(18px, 4vw, 24px) clamp(18px, 4vw, 22px);
  }
  .faq-answer-inner {
    font-size: clamp(0.75rem, 2vw, 0.75rem);
  }
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 84px;
  }
  .header {
    position: sticky;
    top: 12px;
    margin: 12px 12px 0;
    width: calc(100% - 24px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: var(--brand-navy);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  }
  .header-container {
    height: 56px;
  }
  .nav {
    top: 76px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border-radius: 16px;
    box-shadow: -16px 8px 32px rgba(0, 0, 0, 0.35);
  }
  .faq-question {
    padding: clamp(16px, 5vw, 20px) clamp(14px, 5vw, 18px);
    font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
  }
  .faq-answer {
    padding: 0 clamp(14px, 5vw, 16px) clamp(12px, 5vw, 14px);
  }
  .faq-answer-inner {
    font-size: clamp(0.75rem, 2vw, 0.75rem);
  }
}
.pillar-nav {
  position: sticky;
  top: var(--header-h, 72px);
  z-index: 50;
  background: var(--brand-black);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.pillar-nav__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}
.pillar-nav__inner::-webkit-scrollbar {
  display: none;
}
.pillar-nav__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.pillar-nav__item:hover {
  color: var(--brand-white);
  background: rgba(255, 255, 255, 0.05);
}
.pillar-nav__item--active {
  color: var(--brand-white);
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}
.pillar-nav__num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-gold);
}
.pillar-nav__item--active .pillar-nav__num {
  color: var(--brand-white);
}
.pillar-nav__name {
  font-size: 0.82rem;
}

/* ─── Pillar Nav — Deprecated (replaced by sticky-rail drawer) ─── */
.pillar-nav {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   Sticky Solution Rail — Professional Drawer + Trigger
   Trigger replaces top pillar-nav; rail is off-canvas glass panel.
   Loaded globally via components.css (header.php).
   ═══════════════════════════════════════════════════════════════ */

/* Trigger — vertical edge tab (desktop) / FAB (mobile) */
.sticky-rail-trigger {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 10px 16px 12px;
  background: #FFC300;
  color: #0B1220;
  border: 1px solid #FFC300;
  border-right: none;
  border-radius: 12px 0 0 12px;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  box-shadow: -4px 8px 24px rgba(0,0,0,0.28);
  transition: transform 0.25s cubic-bezier(0.16,1,0.3,1), background 0.25s, box-shadow 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.sticky-rail-trigger:hover {
  background: #ffd23a;
  border-color: #ffd23a;
  transform: translateY(-50%) translateX(-2px);
  box-shadow: -6px 12px 32px rgba(0,0,0,0.36);
}
.sticky-rail-trigger:focus-visible {
  outline: 2px solid #FFC300;
  outline-offset: 2px;
}
.sticky-rail-trigger[aria-expanded="true"] {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(12px);
}
.sticky-rail-trigger__icon {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
  opacity: 0.85;
}
.sticky-rail-trigger__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #0B1220;
  color: #FFC300;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  writing-mode: horizontal-tb;
}

/* Backdrop */
.sticky-rail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 94;
  background: rgba(3, 10, 24, 0.56);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
  pointer-events: none;
}
.sticky-rail-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.sticky-rail-backdrop[hidden] {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Panel — off-canvas glass */
.sticky-rail {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: 380px;
  max-width: min(86vw, 380px);
  display: flex;
  flex-direction: column;
  background: rgba(11, 18, 32, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-left: 1px solid rgba(21, 70, 160, 0.35);
  box-shadow: -24px 0 64px rgba(0,0,0,0.45);
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.42s cubic-bezier(0.16,1,0.3,1), visibility 0.42s, box-shadow 0.42s;
  overflow: hidden;
}
.sticky-rail.is-open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}
/* Legacy is-visible shim — maps to closed drawer unless is-open */
.sticky-rail.is-visible:not(.is-open) {
  transform: translateX(100%);
  visibility: hidden;
}
.sticky-rail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(21,70,160,0.08), transparent);
}
.sticky-rail__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFC300;
  margin: 0;
}
.sticky-rail__subtitle {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin: 2px 0 0;
}
.sticky-rail__close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.sticky-rail__close:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,195,0,0.35);
  color: #FFFFFF;
  transform: scale(1.04);
}
.sticky-rail__close:focus-visible {
  outline: 2px solid #FFC300;
  outline-offset: 2px;
}
.sticky-rail__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.12) transparent;
}
.sticky-rail__inner::-webkit-scrollbar { width: 6px; }
.sticky-rail__inner::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }
.sticky-rail__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255,255,255,0.02);
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.sticky-rail__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #FFC300;
  opacity: 0;
  transition: opacity 0.25s;
}
.sticky-rail__item:hover {
  background: rgba(21, 70, 160, 0.10);
  border-color: rgba(21, 70, 160, 0.28);
  transform: translateX(2px);
}
.sticky-rail__item.is-active {
  background: rgba(21, 70, 160, 0.14);
  border-color: rgba(21, 70, 160, 0.38);
  box-shadow: 0 4px 20px rgba(21,70,160,0.18);
}
.sticky-rail__item.is-active::before { opacity: 1; }
.sticky-rail__item:focus-visible {
  outline: 2px solid #FFC300;
  outline-offset: 2px;
}
.sticky-rail__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
}
.sticky-rail__item.is-active .sticky-rail__dot {
  background: #FFC300;
  border-color: #FFC300;
  box-shadow: 0 0 0 6px rgba(255,195,0,0.14), 0 0 16px rgba(255,195,0,0.35);
  transform: scale(1.05);
}
.sticky-rail__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sticky-rail__label-main {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.88);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-rail__label-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  line-height: 1;
}
.sticky-rail__item.is-active .sticky-rail__label-main { color: #FFFFFF; }
.sticky-rail__item.is-active .sticky-rail__label-sub { color: #FFC300; }
.sticky-rail__chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.22);
  flex-shrink: 0;
  transition: color 0.25s, transform 0.25s;
}
.sticky-rail__item:hover .sticky-rail__chevron { color: rgba(255,255,255,0.55); transform: translateX(2px); }
.sticky-rail__item.is-active .sticky-rail__chevron { color: #FFC300; }
.sticky-rail__num {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.32);
  min-width: 22px;
  text-align: right;
}
.sticky-rail__item.is-active .sticky-rail__num { color: #FFC300; }
.sticky-rail__footer {
  padding: 16px 14px 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.015);
  flex-shrink: 0;
}
.sticky-rail__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #FFC300;
  color: #0B1220;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #FFC300;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.sticky-rail__cta:hover { background: #ffd23a; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255,195,0,0.25); color: #0B1220; }
.sticky-rail__cta:focus-visible { outline: 2px solid #FFC300; outline-offset: 2px; }
.sticky-rail__foot-note {
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* Legacy dot rail shim — if used without drawer, still render reasonably */
.sticky-rail--legacy {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  max-width: none;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
  opacity: 0;
}
.sticky-rail--legacy.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  .sticky-rail-trigger {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(16px, env(safe-area-inset-right));
    transform: none;
    writing-mode: horizontal-tb;
    padding: 12px 16px;
    border-radius: 999px;
    border-right: 1px solid #FFC300;
    gap: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.32);
  }
  .sticky-rail-trigger:hover { transform: translateY(-2px); }
  .sticky-rail-trigger[aria-expanded="true"] { transform: translateY(8px); }
  .sticky-rail-trigger__icon { transform: none; }
  .sticky-rail {
    width: min(92vw, 400px);
    max-width: 92vw;
  }
  .sticky-rail__inner { padding: 14px 12px; }
  .sticky-rail__item { padding: 12px 12px; }
}

@media (min-width: 1025px) {
  .sticky-rail, .sticky-rail-trigger {
    z-index: 101;
  }
}

@media (max-width: 480px) {
  .sticky-rail { width: 100vw; max-width: 100vw; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-rail, .sticky-rail-backdrop, .sticky-rail-trigger, .sticky-rail__item, .sticky-rail__dot {
    transition: none !important;
    animation: none !important;
  }
}

/* ─── Button Phone ─── */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.9rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.btn-phone:hover {
  color: var(--brand-white);
  border-color: var(--brand-blue);
}

/* ─── Service Overview Text ─── */
.service-overview__text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-overview__text p:last-child {
  margin-bottom: 0;
}

/* ─── Solution Hero with Image ─── */
.solution-hero--with-image {
  position: relative;
  overflow: hidden;
}
.solution-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.solution-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.solution-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 18, 32, 0.95) 0%,
    rgba(11, 18, 32, 0.85) 40%,
    rgba(11, 18, 32, 0.6) 70%,
    rgba(11, 18, 32, 0.3) 100%
  );
}
.solution-hero--with-image .container {
  position: relative;
  z-index: 1;
}
.solution-hero--with-image .solution-hero__content {
  max-width: 640px;
}

/* ─── Service Content Split ─── */
.service-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-content-split__text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-content-split__text p:last-child {
  margin-bottom: 0;
}
.service-content-split__image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.service-content-split__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s;
}
.service-content-split__image:hover img {
  transform: scale(1.03);
}

/* ─── Solution Hero Responsive ─── */
@media (max-width: 768px) {
  .solution-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  .solution-hero__desc {
    font-size: 1rem;
  }
  .solution-hero__ctas {
    flex-direction: column;
    gap: 12px;
  }
  .solution-hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .solution-hero--with-image .solution-hero__bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(11, 18, 32, 0.9) 0%,
      rgba(11, 18, 32, 0.95) 100%
    );
  }
  .service-content-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-content-split__image {
    order: -1;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
  }
  .tech-card {
    padding: 16px 12px;
  }
  .tech-card img {
    width: 40px;
    height: 40px;
  }
  .problems-grid {
    grid-template-columns: 1fr;
  }
  .pillar-nav__inner {
    gap: 2px;
  }
  .pillar-nav__item {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .capability-item {
    padding: 14px 16px;
  }
}

@media (max-width: 480px) {
  .capabilities-grid {
    gap: 12px;
  }
  .capability-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── Global Card System ─── */

/* Consistent image card aspect ratio */
.image-card {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

/* Consistent padding for all cards */
.card {
  padding: 28px 24px;
}

/* Consistent border radius */
.card,
.industry-card,
.service-card,
.pillar-card {
  border-radius: var(--radius);
}

/* Consistent hover behavior */
.card:hover,
.industry-card:hover,
.service-card:hover,
.pillar-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Consistent CTA placement - push to bottom */
.card__cta {
  margin-top: auto;
}

/* Consistent typography */
.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-white);
  line-height: 1.3;
  margin-bottom: 8px;
}

.card__desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Consistent image card structure */
.image-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Consistent CTA button */
.card__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  transition: color 0.3s;
}

.card__cta-btn svg {
  transition: transform 0.3s;
}

.card__cta-btn:hover {
  color: var(--brand-gold);
}

.card__cta-btn:hover svg {
  transform: translateX(4px);
}
