/* ============================================================
   AB Systems, Global Stylesheet
   Adnan Bayan Systems Co. LLC
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --ab-black:    #1A1F3A;
  --ab-navy:     #1E3A6E;
  --ab-blue:     #0078D4;
  --ab-cyan:     #00B4D8;
  --ab-light:    #F0F4F8;
  --ab-white:    #FFFFFF;
  --ab-text:     #1A1F3A;
  --ab-muted:    #5A6478;
  --ab-border:   #DDE3EC;
  --ab-gradient: linear-gradient(135deg, #1A1F3A 0%, #1E3A6E 60%, #0078D4 100%);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 4px rgba(26,31,58,0.08);
  --shadow-md:   0 4px 16px rgba(26,31,58,0.12);
  --transition:  all 0.22s ease;
  --font:        'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-width:   1200px;
  --section-pad: 5rem 1.5rem;
  --nav-height:  76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ab-text);
  background: var(--ab-white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ab-blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--ab-navy); }
ul { list-style: none; }
button { font-family: inherit; }

/* ── Typography scale ── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 600; line-height: 1.35; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--ab-muted); line-height: 1.75; }

/* ── Section utilities ── */
.section { padding: var(--section-pad); }
.section-light { background: var(--ab-light); }
.section-dark { background: var(--ab-gradient); color: white; }
.section-dark p, .section-dark .section-subtitle { color: rgba(255,255,255,0.85); }
.section-dark .section-title { color: white; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-blue);
  border-left: 3px solid var(--ab-cyan);
  padding-left: 10px;
  margin-bottom: 1rem;
}
.section-title { color: var(--ab-black); margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--ab-muted); max-width: 640px; }
.section-header { margin-bottom: 3rem; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.text-center .section-label { border-left: none; padding-left: 0; border-bottom: 2px solid var(--ab-cyan); padding-bottom: 4px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}
.btn-primary { background: var(--ab-blue); color: white; }
.btn-primary:hover {
  background: var(--ab-navy);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,120,212,0.35);
}
.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
}
.btn-outline {
  background: transparent;
  color: var(--ab-blue);
  border: 1.5px solid var(--ab-blue);
}
.btn-outline:hover { background: var(--ab-blue); color: white; }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1da851; color: white; }
.btn-sm { padding: 10px 18px; font-size: 0.8rem; min-height: 40px; }

/* ── Cards ── */
.card {
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--ab-cyan);
}
.card h3 { margin-bottom: 0.75rem; color: var(--ab-black); }
.card p { font-size: 0.95rem; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--ab-light), rgba(0,180,216,0.12));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid var(--ab-border);
}
.card-icon svg { width: 26px; height: 26px; color: var(--ab-blue); stroke: var(--ab-blue); }

/* ── Grids ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
[data-animate="true"] { opacity: 0; }
.fade-up { animation: fadeUp 0.6s ease forwards; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 14px 0;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-mark { width: 44px; height: 44px; flex-shrink: 0; object-fit: contain; }
.nav.nav-on-dark:not(.nav-scrolled) .nav-logo-mark { filter: brightness(0) invert(1); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.nav-logo-wordmark {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--ab-black);
  transition: color 0.3s ease;
}
.nav-logo-tagline {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ab-muted);
  margin-top: 4px;
  transition: color 0.3s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  position: relative;
  color: var(--ab-black);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--ab-blue);
  transition: width 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ab-blue); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

/* Transparent on hero (top of page) */
.nav.nav-on-dark:not(.nav-scrolled) .nav-logo-wordmark,
.nav.nav-on-dark:not(.nav-scrolled) .nav-links a { color: white; }
.nav.nav-on-dark:not(.nav-scrolled) .nav-logo-tagline { color: rgba(255,255,255,0.7); }
.nav.nav-on-dark:not(.nav-scrolled) .hamburger span { background: white; }

/* Scrolled state */
.nav.nav-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--ab-border), 0 4px 20px rgba(26,31,58,0.06);
  padding: 8px 0;
}

/* Hamburger */
.hamburger {
  display: none;
  width: 48px; height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ab-black);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--ab-black); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--ab-black); }

/* Mobile menu panel */
#mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: #ffffff;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: -4px 0 24px rgba(26,31,58,0.18);
  overflow-y: auto;
}
#mobile-nav.open { transform: translateX(0); }

#nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,31,58,0.5);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#nav-overlay.open,
body:has(#mobile-nav.open) #nav-overlay {
  opacity: 1;
  pointer-events: all;
}

/* Mobile nav inner layout */
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #DDE3EC;
  min-height: 64px;
}
.mobile-menu-close {
  width: 44px; height: 44px;
  background: var(--ab-light);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  color: var(--ab-black);
  cursor: pointer;
  line-height: 1;
}
#mobile-nav ul { list-style: none; margin: 0; padding: 0; }
#mobile-nav ul a,
#mobile-nav > a:not(.nav-logo) {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1A1F3A;
  border-bottom: 1px solid #F0F4F8;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
#mobile-nav ul a:hover,
#mobile-nav ul a.active {
  background: #F0F4F8;
  color: #0078D4;
}
#mobile-nav > .btn {
  margin: 1.5rem;
  display: block !important;
  text-align: center;
  background: #0078D4 !important;
  color: white !important;
  border-radius: 10px !important;
  padding: 14px 24px !important;
  font-weight: 700 !important;
  border-bottom: none !important;
}

/* Fix: hero right column — no ghost height on mobile */
@media (max-width: 768px) {
  .hero-visual {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .hero-inner,
  .hero-grid,
  .hero-content {
    grid-template-columns: 1fr !important;
    display: block !important;
    min-height: unset !important;
  }
  section.hero,
  .hero-section,
  #hero {
    min-height: unset !important;
    height: auto !important;
    padding-bottom: 3rem !important;
  }
  #solutions,
  .solutions-section,
  section:has(.solutions-grid) {
    padding-top: 3rem !important;
    margin-top: 0 !important;
  }
}

/* ============================================================
   HERO (shared)
   ============================================================ */
.hero {
  position: relative;
  background: var(--ab-gradient);
  color: white;
  padding: calc(var(--nav-height) + 4rem) 1.5rem 5rem;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(0,180,216,0.18) 0%, transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(0,120,212,0.18) 0%, transparent 40%);
  pointer-events: none;
}
.hero-hex {
  position: absolute;
  opacity: 0.08;
  pointer-events: none;
}
.hero-hex.h1 { top: -40px; right: -40px; width: 280px; }
.hero-hex.h2 { bottom: -60px; left: -50px; width: 220px; transform: rotate(20deg); }
.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  z-index: 1;
}
.hero h1 { color: white; margin-bottom: 1.25rem; max-width: 820px; }
.hero p.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ab-cyan);
  background: rgba(0,180,216,0.12);
  border: 1px solid rgba(0,180,216,0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ab-cyan);
  box-shadow: 0 0 0 4px rgba(0,180,216,0.2);
}

/* Page hero (smaller, for interior pages) */
.page-hero {
  background: var(--ab-gradient);
  color: white;
  padding: calc(var(--nav-height) + 3rem) 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 30%, rgba(0,180,216,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 680px; }
.page-hero .hero-eyebrow { margin-bottom: 1.25rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ab-gradient);
  color: white;
  padding: 4rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 0%, rgba(0,180,216,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.footer-logo-mark { width: 44px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1; }
.footer-logo-text .word { font-weight: 800; font-size: 1rem; letter-spacing: 0.16em; color: white; }
.footer-logo-text .sub { font-size: 9px; letter-spacing: 0.18em; color: rgba(255,255,255,0.7); margin-top: 4px; }
.footer-brand p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.footer-meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--ab-cyan);
  border-color: var(--ab-cyan);
  color: white;
  transform: translateY(-2px);
}
.footer-socials svg { width: 18px; height: 18px; }
.footer-col h4 {
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.footer-col ul a:hover { color: var(--ab-cyan); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.75rem;
}
.footer-contact-item svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px; color: var(--ab-cyan); }
.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: var(--ab-cyan); }
.footer .btn-whatsapp { margin-top: 0.75rem; }

.footer-bottom {
  position: relative;
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.footer-bottom ul {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom ul a { color: rgba(255,255,255,0.65); }
.footer-bottom ul a:hover { color: white; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9999;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: waPulse 3s ease infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
  color: white;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 4px 30px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: var(--ab-black);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .btn { padding: 12px 22px; font-size: 0.875rem; }
  .card { padding: 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo-text { display: none; }
  .hero { padding: calc(var(--nav-height) + 2.5rem) 1.25rem 3.5rem; }
  .page-hero { padding: calc(var(--nav-height) + 2rem) 1.25rem 2.5rem; }
  .footer { padding: 3rem 1.25rem 1.25rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  :root { --section-pad: 3rem 1rem; }
  .container { padding: 0 1rem; }
  .card { padding: 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 20px; right: 16px; width: 56px; height: 56px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .whatsapp-float { animation: none; }
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--ab-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   HOME PAGE, Phase 2
   ============================================================ */

/* Hex pattern overlay (subtle white hexagons) */
.hex-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'><polygon points='42,2 80,24 80,72 42,94 4,72 4,24' fill='none' stroke='white' stroke-width='1.2'/></svg>");
  background-size: 84px 96px;
  background-repeat: repeat;
}

/* ── HERO (home, two-column) ── */
.hero--home { padding-top: calc(var(--nav-height) + 3rem); padding-bottom: 5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text h1 { color: white; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  list-style: none;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 18px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-trust li:last-child { border-right: none; }
.hero-trust li:first-child { padding-left: 0; }
.trust-ico { font-size: 1.05rem; line-height: 1; }
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-visual svg {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
}

/* ── Pillars cards ── */
.pillar .card-link,
.step .card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ab-blue);
  letter-spacing: 0.02em;
}
.pillar .card-link:hover { color: var(--ab-navy); }

/* ── Synology spotlight ── */
.synology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.synology-text .section-label { margin-bottom: 1rem; }
.synology-text p { margin-bottom: 1rem; color: var(--ab-muted); }
.synology-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(26,31,58,0.18);
  border: 1px solid var(--ab-border);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 1.5rem 0;
  list-style: none;
}
.feature-pills li {
  background: white;
  border: 1px solid var(--ab-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ab-navy);
}
.disclaimer {
  margin-top: 2.5rem;
  font-size: 0.75rem;
  color: var(--ab-muted);
  font-style: italic;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── Brand grid ── */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
@media (max-width: 1024px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.brand-pill {
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: 12px;
  padding: 22px 14px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: var(--ab-navy);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(26,31,58,0.04);
}
.brand-pill span { display: inline-block; line-height: 1.1; }
.brand-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26,31,58,0.10);
  border-color: var(--ab-cyan);
}
/* Official brand colours */
.brand-pill[data-brand="synology"] span { color: #8C8C8C; font-family: Georgia, serif; font-style: italic; font-weight: 400; font-size: 20px; }
.brand-pill[data-brand="pny"] span { color: #000; font-weight: 900; letter-spacing: 1px; }
.brand-pill[data-brand="zotac"] span { color: #C0C0C0; font-weight: 900; letter-spacing: 2px; }
.brand-pill[data-brand="crucial"] span { color: #0096D6; font-weight: 600; font-size: 18px; }
.brand-pill[data-brand="nvidia"] span { color: #76B900; font-weight: 800; letter-spacing: 1px; }
.brand-pill[data-brand="lexar"] span { color: #111; font-weight: 800; letter-spacing: 1px; }
.brand-pill[data-brand="wd"] span { color: #000; font-weight: 700; }
.brand-pill[data-brand="sandisk"] span { color: #E60000; font-weight: 800; }
.brand-pill[data-brand="toshiba"] span { color: #E60000; font-weight: 800; letter-spacing: 1px; }
.brand-pill[data-brand="seagate"] span { color: #6B7280; font-weight: 700; letter-spacing: 1px; }
.brand-pill[data-brand="hp"] span { color: #0096D6; font-weight: 800; font-size: 20px; }
.brand-pill[data-brand="dell"] span { color: #007DB8; font-weight: 800; letter-spacing: 1px; }
.brand-pill[data-brand="lenovo"] span { color: #E2231A; font-weight: 800; font-style: italic; }
.brand-pill[data-brand="asus"] span { color: #000; font-weight: 900; letter-spacing: 2px; }
.brand-pill[data-brand="hiksemi"] span { color: #E60012; font-weight: 800; letter-spacing: 1px; }
.brand-pill[data-brand="tplink"] span { color: #4ACBD6; font-weight: 700; }
.brand-pill[data-brand="verbatim"] span { color: #C8102E; font-weight: 800; letter-spacing: 0.5px; }
.brand-pill[data-brand="hikvision"] span { color: #E60012; font-weight: 800; letter-spacing: 1px; }
.brand-pill[data-brand="kingston"] span { color: #C8102E; font-weight: 800; letter-spacing: 0.5px; }
.brand-pill[data-brand="teamgroup"] span { color: #111; font-weight: 800; letter-spacing: 1px; }
.brand-pill[data-brand="zebra"] span { color: #000; font-weight: 900; letter-spacing: 2px; }

/* ── Steps / process ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  list-style: none;
  position: relative;
  counter-reset: step;
}
.steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  height: 1px;
  border-top: 2px dashed var(--ab-border);
  z-index: 0;
}
.step {
  position: relative;
  background: white;
  border: 1px solid var(--ab-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  z-index: 1;
}
.step-num {
  display: block;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--ab-blue);
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}
.step h3 { color: var(--ab-black); margin-bottom: 0.5rem; }
.step p { font-size: 0.95rem; }

/* ── Sectors ── */
.sectors-grid { gap: 1.25rem; }
.sector h3 { margin-bottom: 0.5rem; }
.sector-note {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ab-muted);
  text-align: center;
  margin-top: 2rem;
}

/* ── CTA strip ── */
.cta-strip {
  position: relative;
  background: var(--ab-gradient);
  color: white;
  padding: 4.5rem 1.5rem;
  overflow: hidden;
}
.cta-inner { position: relative; text-align: center; z-index: 1; }
.cta-strip h2 { color: white; margin-bottom: 0.75rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-strip > .container > p,
.cta-inner > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 2rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2rem;
}
.cta-contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
}
.cta-contact-row a,
.cta-contact-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.9);
}
.cta-contact-row a:hover { color: var(--ab-cyan); }
.cta-contact-row .sep { color: rgba(255,255,255,0.4); }

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .synology-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps::before { display: none; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero--home h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .hero-visual { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 1rem; }
  .hero-trust li { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); width: 100%; padding: 10px 0; }
  .hero-trust li:last-child { border-bottom: none; }
  .sectors-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
  .cta-contact-row { flex-direction: column; gap: 8px; }
  .cta-contact-row .sep { display: none; }
  .brand-pill { padding: 10px 18px; font-size: 13px; }
  .cta-strip { padding: 3rem 1.25rem; }
}

/* ============================================================
   SOLUTIONS PAGE
   ============================================================ */
.solutions-hero { min-height: 320px; display: flex; align-items: center; }
.solutions-hero .container { width: 100%; }

.breadcrumb { margin-bottom: 1rem; }
.breadcrumb ol { display: flex; gap: 8px; align-items: center; list-style: none; font-size: 0.82rem; color: rgba(255,255,255,0.75); flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--ab-cyan); }
.breadcrumb .bc-sep { color: rgba(255,255,255,0.45); }
.breadcrumb [aria-current="page"] { color: white; font-weight: 600; }

.solutions-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.sol-sidenav-inner {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.sol-sidenav-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ab-muted);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ab-border);
}
.sol-sidenav ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sol-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ab-text);
  border-left: 3px solid transparent;
  transition: var(--transition);
}
.sol-link:hover { background: var(--ab-light); color: var(--ab-blue); }
.sol-link.active {
  background: var(--ab-light);
  color: var(--ab-blue);
  border-left-color: var(--ab-blue);
  font-weight: 600;
}

.solutions-main { min-width: 0; }

.sol-section {
  padding: 2.5rem 0 3.5rem;
  border-bottom: 1px solid var(--ab-border);
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}
.sol-section:last-child { border-bottom: none; }
.sol-section .section-label { margin-bottom: 0.75rem; }
.sol-section .section-title { margin-bottom: 1.5rem; }
.sol-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
  align-items: start;
}
.sol-body p { margin-bottom: 1rem; color: var(--ab-muted); }
.sol-body p:last-child { margin-bottom: 0; }

.checklist {
  list-style: none;
  background: var(--ab-light);
  border: 1px solid var(--ab-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ab-text);
  line-height: 1.4;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ab-blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.sol-features { gap: 1rem; margin-bottom: 1.5rem; }
.sol-feature { padding: 1.25rem; }
.sol-feature h4 { color: var(--ab-black); margin-bottom: 0.4rem; }
.sol-feature p { font-size: 0.88rem; }

.sol-cta { margin-top: 0.5rem; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .solutions-layout { grid-template-columns: minmax(0, 1fr); padding: 2rem 1.5rem 3rem; gap: 1.5rem; }
  .sol-sidenav {
    position: sticky;
    top: var(--nav-height);
    z-index: 50;
    background: var(--ab-white);
    margin: 0 -1.5rem;
    border-bottom: 1px solid var(--ab-border);
    box-shadow: var(--shadow-sm);
    min-width: 0;
    max-width: 100vw;
    overflow: hidden;
  }
  .sol-sidenav-inner {
    position: static;
    border: none;
    border-radius: 0;
    padding: 0.75rem 0;
    box-shadow: none;
    background: transparent;
    min-width: 0;
  }
  .sol-sidenav-label { display: none; }
  .sol-sidenav ul {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 1.25rem;
    margin: 0;
    flex-wrap: nowrap;
    scroll-snap-type: x proximity;
  }
  .sol-sidenav ul::-webkit-scrollbar { display: none; }
  .sol-sidenav li { flex-shrink: 0; scroll-snap-align: start; }
  .sol-link {
    display: inline-block;
    border: 1px solid var(--ab-border);
    border-radius: 999px;
    padding: 8px 16px;
    white-space: nowrap;
    font-size: 0.82rem;
    flex-shrink: 0;
  }
  .sol-link.active {
    background: var(--ab-blue);
    color: white;
    border-color: var(--ab-blue);
  }
  .sol-section { scroll-margin-top: calc(var(--nav-height) + 72px); }
}
@media (max-width: 768px) {
  .sol-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .solutions-hero { min-height: 220px; }
  .sol-section { padding: 2rem 0 2.5rem; }
}

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Synology split panel ── */
.syn-split { background: var(--ab-black); position: relative; overflow: hidden; }
.syn-split-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  align-items: stretch;
}
.syn-left {
  background: var(--ab-gradient);
  color: white;
  padding: 4rem 2.5rem;
  position: relative;
}
.syn-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 80%, rgba(0,180,216,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.syn-left > * { position: relative; }
.syn-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ab-cyan);
  border: 1px solid rgba(0,180,216,0.4);
  background: rgba(0,180,216,0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.syn-left h2 { color: white; margin-bottom: 1rem; }
.syn-left p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.syn-disclaimer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,102,0,0.14);
  border: 1px solid rgba(255,102,0,0.4);
  color: #ffb37a;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}
.syn-disclaimer-badge svg { flex-shrink: 0; color: #ff8533; }
.syn-cta { display: inline-flex; }

.syn-right {
  background: linear-gradient(135deg, #FFF8F2 0%, #FFEEDC 100%);
  padding: 3rem 2.5rem;
}
.syn-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.syn-card {
  background: white;
  border: 1px solid #F0D9BC;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.syn-card:hover { border-color: #FF6600; box-shadow: 0 10px 28px rgba(255,102,0,0.18); transform: translateY(-2px); }
.syn-card-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,102,0,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #FF6600;
  margin-bottom: 1rem;
}
.syn-card-icon svg { width: 26px; height: 26px; }
.syn-card h3 { color: var(--ab-black); font-size: 1.05rem; margin-bottom: 0.25rem; }
.syn-sub { font-size: 0.82rem; color: var(--ab-muted); margin-bottom: 0.85rem; }
.syn-note { font-size: 0.82rem; color: var(--ab-muted); margin-bottom: 0.75rem; font-style: italic; }
.syn-models {
  display: flex; flex-wrap: wrap; gap: 4px 8px;
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0.6rem 0.75rem;
  background: #FFF8F2;
  border: 1px dashed #F0D9BC;
  border-radius: var(--radius-sm);
}
.syn-models li {
  font-family: 'Plus Jakarta Sans', monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ab-navy);
}
.syn-models li:not(:last-child)::after { content: '·'; color: var(--ab-muted); margin-left: 8px; }
.syn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1rem; }
.syn-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(30,58,110,0.08);
  color: var(--ab-navy);
}
.syn-card .btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 960px) {
  .syn-split-inner { grid-template-columns: 1fr; }
  .syn-left, .syn-right { padding: 2.5rem 1.5rem; }
}
@media (max-width: 560px) {
  .syn-cards { grid-template-columns: 1fr; }
}

/* ── Brand tabs ── */
.prod-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--ab-border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.prod-tab {
  background: transparent;
  border: none;
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ab-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: var(--transition);
  min-height: 48px;
}
.prod-tab:hover { color: var(--ab-blue); }
.prod-tab.active { color: var(--ab-blue); border-bottom-color: var(--ab-blue); }
.prod-select-wrap { display: none; margin-bottom: 1.5rem; }
.prod-select {
  width: 100%;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ab-text);
  background: white;
  border: 1px solid var(--ab-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  min-height: 48px;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E3A6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.prod-panel[hidden] { display: none; }
.brand-grid { gap: 1.25rem; }
.brand-card { display: flex; flex-direction: column; }
.brand-card h3 { color: var(--ab-black); margin-bottom: 4px; }
.brand-cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ab-blue);
  margin-bottom: 0.75rem;
}
.brand-card p { font-size: 0.92rem; margin-bottom: 1rem; flex: 1; }
.brand-card .btn { align-self: flex-start; }

@media (max-width: 768px) {
  .prod-tabs { display: none; }
  .prod-select-wrap { display: block; }
}

/* ── Enquiry section ── */
.enquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.enquiry-text p { margin-bottom: 1.5rem; }
.btn-lg { padding: 16px 28px; font-size: 0.95rem; min-height: 56px; }
.enquiry-form { padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ab-muted);
}
.field input, .field textarea, .field select {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ab-text);
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ab-blue);
  box-shadow: 0 0 0 3px rgba(0,120,212,0.15);
  outline: none;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #d92d20; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.78rem; color: var(--ab-muted); margin: 0; }
.form-status { font-size: 0.88rem; font-weight: 600; margin: 0; min-height: 1.2em; }
.form-status.ok { color: #047857; }
.form-status.err { color: #b42318; }

@media (max-width: 960px) {
  .enquiry-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .enquiry-form { padding: 1.5rem; }
}

/* ── About / Vendors / Contact additions ── */
.mission-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.mission-grid p { margin-bottom: 1rem; }
.mission-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.mission-visual img { width: 100%; height: 100%; object-fit: cover; }
.stat-card {
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  transition: var(--transition);
}
.stat-card:hover { border-color: var(--ab-cyan); transform: translateY(-2px); }
.stat-icon { font-size: 1.6rem; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ab-muted); font-weight: 600; margin-bottom: 0.2rem; }
.stat-value { font-size: 1rem; font-weight: 700; color: var(--ab-black); }

.team-placeholder {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--ab-light);
  border: 1px dashed var(--ab-border);
  border-radius: var(--radius-md);
}
.team-placeholder p { max-width: 520px; margin: 0.5rem auto 0; }

.address-card {
  background: var(--ab-gradient);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.address-card h3, .address-card p { color: white; }
.address-card p { color: rgba(255,255,255,0.85); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--ab-white);
  border: 1px solid var(--ab-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--ab-cyan); }
.contact-card .ico {
  font-size: 1.25rem; line-height: 1;
  width: 36px; height: 36px;
  background: var(--ab-light);
  border-radius: 8px;
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-card .lbl { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ab-muted); font-weight: 700; margin-bottom: 2px; }
.contact-card .val { font-size: 0.98rem; color: var(--ab-black); font-weight: 600; word-break: break-word; }
.contact-card .val a { color: var(--ab-blue); }
.response-promise {
  background: var(--ab-light);
  border-left: 3px solid var(--ab-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1rem 1.1rem;
  font-size: 0.92rem;
  color: var(--ab-text);
}
.btn-whatsapp-lg { width: 100%; justify-content: center; padding: 16px 24px; min-height: 56px; font-size: 1rem; }
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ab-border);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 9;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 960px) {
  .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .mission-visual { aspect-ratio: 16 / 10; }
}

/* Simple inline breadcrumb (about/vendors/contact) */
.page-hero .breadcrumb { font-size: 0.82rem; color: rgba(255,255,255,0.75); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb a:hover { color: var(--ab-cyan); }
.page-hero .breadcrumb span { color: white; font-weight: 600; }

/* Pillar card CTA button (Get a Quote) */
.pillar .card-cta { margin-top: auto; align-self: flex-start; }
.pillar { display: flex; flex-direction: column; }
.pillar p { flex: 1 1 auto; }

/* ── Featured products carousel ── */
.featured-carousel { position: relative; margin-top: 2.5rem; }
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  touch-action: pan-y;
}
.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  padding: 0.5rem 0;
  box-sizing: border-box;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--ab-border);
  color: var(--ab-navy);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(26,31,58,0.15);
  transition: background 0.2s, transform 0.2s;
}
.carousel-arrow:hover { background: var(--ab-navy); color: white; }
.carousel-prev { left: -10px; }
.carousel-next { right: -10px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1.5rem;
}
.carousel-dots button {
  width: 10px; height: 10px;
  border-radius: 999px;
  border: none;
  background: var(--ab-border);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}
.carousel-dots button[aria-selected="true"] {
  background: var(--ab-blue);
  width: 28px;
}
@media (max-width: 768px) {
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .carousel-arrow { width: 40px; height: 40px; }
}

/* ── Products page: category sections ── */
.cat-jump {
  position: sticky; top: 64px; z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ab-border);
  padding: 12px 0;
}
.cat-jump-inner {
  display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none;
}
.cat-jump-inner::-webkit-scrollbar { display: none; }
.cat-jump a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ab-border);
  background: #fff;
  color: var(--ab-black);
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}
.cat-jump a:hover {
  border-color: var(--ab-blue);
  color: var(--ab-blue);
}
.cat-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--ab-border);
  scroll-margin-top: 130px;
}
.cat-section:nth-child(even) { background: #F8FAFC; }
.cat-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ab-blue);
}
.cat-head h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 0 0 4px;
  color: var(--ab-navy);
}
.cat-head .cat-num {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  color: var(--ab-blue);
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.cat-head p { margin: 0; max-width: 620px; color: var(--ab-gray); }
.cat-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.cat-brand-grid .brand-pill {
  height: 84px;
  margin: 0;
}
.cat-cta-row {
  display: flex; justify-content: flex-end;
}
@media (max-width: 600px) {
  .cat-section { padding: 48px 0; }
  .cat-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-cta-row { justify-content: stretch; }
  .cat-cta-row .btn { width: 100%; }
}
.brand-pill[data-brand="epson"] span { color: #003399; font-weight: 800; letter-spacing: 1px; }
.brand-pill[data-brand="zebra"] span { color: #000; font-weight: 900; letter-spacing: 2px; }

/* ── Quote / RFQ page ── */
.quote-hero { padding-bottom: 56px; }
.rfq-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}
.rfq-side {
  position: sticky; top: 96px;
  padding: 28px;
  background: linear-gradient(160deg, var(--ab-navy) 0%, var(--ab-blue) 100%);
  color: #fff;
  border-radius: 18px;
}
.rfq-side .section-label { color: rgba(255,255,255,0.85); border-color: var(--ab-cyan); }
.rfq-side-title { font-size: 1.4rem; margin: 8px 0 20px; color: #fff; }
.rfq-steps { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 16px; }
.rfq-steps li { display: flex; gap: 14px; align-items: flex-start; }
.rfq-step-num {
  flex: 0 0 32px; width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ab-cyan); color: var(--ab-navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px;
}
.rfq-steps strong { display: block; font-size: 14px; margin-bottom: 2px; }
.rfq-steps p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.5; }
.rfq-direct {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.rfq-direct-lbl { font-size: 12px; color: rgba(255,255,255,0.75); margin: 0 0 10px; }
.rfq-direct .btn-whatsapp { width: 100%; justify-content: center; }
.rfq-email-link {
  display: block; margin-top: 10px;
  font-size: 13px; color: rgba(255,255,255,0.85);
  text-align: center; text-decoration: underline;
}
.rfq-form { padding: 32px; }
.rfq-form-title { font-size: 1.5rem; margin: 8px 0 4px; color: var(--ab-navy); }
.rfq-form-sub { margin: 0 0 24px; color: var(--ab-gray); font-size: 14px; }
.rfq-form .field { margin-bottom: 16px; }
.rfq-form .opt { color: var(--ab-gray); font-weight: 400; font-size: 12px; }
.field-help { font-size: 12px; color: var(--ab-gray); margin: 6px 0 0; }
.rfq-submit { width: 100%; justify-content: center; background: var(--ab-blue); margin-top: 8px; }
.rfq-thanks {
  padding: 48px 32px;
  text-align: center;
  border: 2px solid var(--ab-cyan);
}
.rfq-thanks-ico {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.15);
  color: var(--ab-cyan);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.rfq-thanks h2 { color: var(--ab-navy); margin: 0 0 10px; }
.rfq-thanks p { color: var(--ab-gray); max-width: 480px; margin: 0 auto 24px; }
.rfq-thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 900px) {
  .rfq-wrap { grid-template-columns: 1fr; gap: 24px; }
  .rfq-side { position: static; }
  .rfq-form { padding: 24px; }
}

/* ============================================================
   Legal modal (Privacy / Terms popup)
   ============================================================ */
.legal-content h2 { margin-top: 1.6em; margin-bottom: .4em; font-size: 1.15rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content ul { margin: .6em 0; line-height: 1.65; }
.legal-content ul { padding-left: 1.3em; }
.legal-content li { margin: .25em 0; }

.legal-modal-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8, 14, 35, .6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity .2s ease;
}
.legal-modal-backdrop.open { display: flex; opacity: 1; }
.legal-modal {
  background: #fff; color: #0e1f45;
  width: min(820px, 100%); max-height: 88vh;
  border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  transform: translateY(8px); transition: transform .2s ease;
}
.legal-modal-backdrop.open .legal-modal { transform: translateY(0); }
.legal-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid #e5e9f2;
  background: #f7f9fc;
}
.legal-modal-head h2 { margin: 0; font-size: 1.15rem; color: #0e1f45; }
.legal-modal-close {
  background: transparent; border: 0; font-size: 28px; line-height: 1;
  cursor: pointer; color: #0e1f45; padding: 4px 10px; border-radius: 6px;
}
.legal-modal-close:hover { background: #e5e9f2; }
.legal-modal-body {
  padding: 22px 26px; overflow-y: auto; -webkit-overflow-scrolling: touch;
  font-size: .95rem;
}
.legal-modal-body h2 { margin-top: 1.4em; margin-bottom: .4em; font-size: 1.02rem; color: #0e1f45; }
.legal-modal-body h2:first-child { margin-top: 0; }
.legal-modal-body p, .legal-modal-body ul { margin: .55em 0; line-height: 1.6; }
.legal-modal-body ul { padding-left: 1.25em; }
.legal-modal-body a { color: #0078D4; }
.legal-modal-foot {
  padding: 14px 24px; border-top: 1px solid #e5e9f2;
  background: #f7f9fc; display: flex; justify-content: flex-end; gap: 10px;
}
@media (max-width: 600px) {
  .legal-modal { max-height: 92vh; border-radius: 10px; }
  .legal-modal-body { padding: 18px 18px; font-size: .92rem; }
}
body.modal-open { overflow: hidden; }

/* Related cross-links between Solutions and Products */
.sol-related, .cat-related {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 14px; padding: 10px 16px;
  font-weight: 600; font-size: .92rem;
  color: #0078D4; text-decoration: none;
  border: 1px solid rgba(0,120,212,.35); border-radius: 8px;
  transition: background .15s ease, color .15s ease;
}
.sol-related:hover, .cat-related:hover { background: #0078D4; color: #fff; }
.cat-cta-row { flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) {
  .sol-related, .cat-related { margin-left: 0; margin-top: 10px; display: inline-flex; }
}
