/* ============================================
   AIVANTA SYSTEMS — Dark Navy + Electric Violet
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #050d1a;
  --bg-alt:       #071124;
  --bg-card:      #0a1628;
  --bg-elevated:  #0d1a30;
  --border:       #132040;
  --border-light: #1a2d50;
  --accent:       #8b5cf6;
  --accent-bright:#a78bfa;
  --accent-dim:   #1b1338;
  --accent-glow:  rgba(139,92,246,0.15);
  --text:         #f0f6ff;
  --text-muted:   #7a9cc0;
  --text-dim:     #3d5a7a;
  --font:         'Inter', -apple-system, sans-serif;
  --radius:       10px;
  --radius-lg:    16px;
  --max-w:        1160px;
  --nav-h:        72px;
  --shadow:       0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.3);
  --shadow-blue:  0 8px 32px rgba(139,92,246,0.2);
  --glow-line:    linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem;
  padding: 0 3rem;
  background: rgba(5,13,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav::after {
  content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 140px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  animation: nav-trace 6s linear infinite;
  pointer-events: none;
}
@keyframes nav-trace { from { left: -140px; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .nav::after { animation: none; display: none; } }

.logo-img { display: flex; align-items: center; flex-shrink: 0; }
.logo-img img { height: 44px; width: auto; }

.nav-links {
  display: flex; gap: 2rem; margin-left: auto; align-items: center;
}
.nav-links a {
  position: relative;
  font-size: 0.875rem; font-weight: 500;
  color: var(--text-muted); transition: color 0.2s;
  padding-bottom: 3px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links > li > a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  border-radius: 2px;
  transition: right 0.3s cubic-bezier(.4,0,.2,1);
}
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { right: 0; }

.btn-nav {
  position: relative;
  margin-left: 0.5rem;
  padding: 0.6rem 1.5rem 0.6rem 2.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-size: 0.875rem; font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 0 20px rgba(139,92,246,0.3);
}
.btn-nav::before {
  content: ''; position: absolute; left: 1.1rem; top: 50%; translate: 0 -50%;
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
  animation: btn-pulse 2.4s ease-in-out infinite;
}
@keyframes btn-pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .btn-nav::before { animation: none; } }
.btn-nav:hover { background: var(--accent-bright); box-shadow: 0 0 28px rgba(139,92,246,0.5); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: none;
  color: var(--text); font-size: 1.5rem; cursor: pointer; margin-left: auto;
}

/* ── NAV DROPDOWN (MEGA MENU) ── */
.nav-dropdown { position: relative; }
.nav-dropdown > a {
  display: flex; align-items: center; gap: 0.35rem;
  cursor: pointer;
}
.nav-caret {
  flex-shrink: 0; transition: transform 0.25s ease;
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown.open .nav-caret { transform: rotate(180deg); }

/* Gap-crossing is handled by JS (mouseenter/mouseleave + delay) below,
   not a CSS bridge, since a fixed-position bridge shared between two
   adjacent dropdown triggers would cause them to interfere with each other. */

.mega-menu {
  position: fixed; top: calc(var(--nav-h) + 1rem); left: 0;
  width: min(1060px, 94vw);
  max-height: calc(100vh - var(--nav-h) - 2rem);
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.55);
  padding: 1.5rem 1.75rem 1.25rem;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 1.25rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.15s ease, visibility 0.15s;
  z-index: 200;
}
.nav-dropdown:hover .mega-menu,
.nav-dropdown.open .mega-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mega-menu::-webkit-scrollbar { width: 8px; }
.mega-menu::-webkit-scrollbar-track { background: transparent; }
.mega-menu::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 8px; }
.mega-menu::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.mega-menu { scrollbar-width: thin; scrollbar-color: var(--border-light) transparent; }

.solutions-menu {
  grid-template-columns: repeat(2, 1fr);
  width: min(560px, 92vw);
}
.solutions-menu .mega-item-badge {
  background: transparent; font-size: 0.95rem; width: 24px; height: 24px;
}
.solutions-menu .mega-footer { grid-column: 1 / -1; }

.mega-col-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 0.75rem;
}
.mega-item {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.4rem 0;
}
.mega-item-badge {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  background: var(--accent-dim); color: var(--accent-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; margin-top: 0.1rem;
  transition: background 0.2s, color 0.2s;
}
.mega-item-body { display: flex; flex-direction: column; gap: 0.15rem; }
.mega-item-text {
  font-size: 0.8rem; font-weight: 600; color: var(--text);
  transition: color 0.2s;
}
.mega-item-desc {
  font-size: 0.68rem; font-weight: 400; color: var(--text-muted);
  line-height: 1.3;
}
.mega-item:hover .mega-item-badge { background: var(--accent); color: #fff; }
.mega-item:hover .mega-item-text { color: var(--accent-bright); }

.mega-footer {
  grid-column: 1 / -1;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.mega-footer-text { font-size: 0.8rem; color: var(--text-dim); }
.mega-footer-link {
  font-size: 0.825rem; font-weight: 600; color: var(--accent-bright);
  white-space: nowrap;
}
.mega-footer-link:hover { color: var(--text); }

/* ── FULL INDUSTRIES PAGE GRID (same components, no floating panel) ── */
.industries-grid-full {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 2.5rem;
}
.industries-grid-full .mega-col-label { margin-top: 0; }
.industries-grid-full .mega-item { padding: 0.85rem 0; }
.industries-grid-full .mega-item-text { font-size: 0.95rem; }
.industries-grid-full .mega-item-desc { font-size: 0.8rem; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 5rem) 3rem 6rem;
  max-width: var(--max-w); margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139,92,246,0.12), transparent);
  pointer-events: none; z-index: -1;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-bright);
  border: 1px solid var(--border-light);
  background: var(--accent-dim);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  width: fit-content;
}

.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.04em;
  max-width: 820px; margin-bottom: 1.75rem;
  color: var(--text);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 560px; margin-bottom: 2.5rem; line-height: 1.75;
}

.hero-tags {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 3rem;
}
.hero-tags span {
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 0.78rem; font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.9rem 2rem;
  background: var(--accent);
  color: #fff; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem;
  box-shadow: var(--shadow-blue);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 8px 40px rgba(139,92,246,0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.9rem 2rem;
  background: transparent; color: var(--text);
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  border: 1px solid var(--border-light);
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); background: var(--accent-dim); color: var(--accent-bright); }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 3rem;
  display: flex; align-items: center; justify-content: center;
  gap: 3rem; flex-wrap: wrap;
}
.trust-bar-label {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-dim); letter-spacing: 0.12em; text-transform: uppercase;
}
.trust-items { display: flex; gap: 3rem; flex-wrap: wrap; align-items: center; }
.trust-item {
  font-size: 0.8rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.08em;
}

/* ── SECTIONS ── */
.section { padding: 7rem 3rem; }
.section-alt { background: var(--bg-alt); }

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; }

.eyebrow-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  padding: 0.3rem 0.9rem;
  border-radius: 100px; margin-bottom: 1.25rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--text); line-height: 1.15;
  margin-bottom: 1rem; max-width: 680px;
}
.section-title.centered { margin-left: auto; margin-right: auto; }

.section-sub {
  font-size: 1rem; color: var(--text-muted);
  max-width: 540px; line-height: 1.75;
}
.section-sub.centered { margin-left: auto; margin-right: auto; }

/* ── GLOW DIVIDER ── */
.glow-divider {
  height: 1px;
  background: var(--glow-line);
  opacity: 0.4;
  margin: 0;
}

/* ── OFFERING CARDS ── */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.offering-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: block;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.offering-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.offering-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.5rem;
}

.offering-card h3 {
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 0.75rem; letter-spacing: -0.02em;
  color: var(--text);
}
.offering-card p {
  font-size: 0.875rem; color: var(--text-muted);
  line-height: 1.65; margin-bottom: 1.5rem;
}
.card-link {
  font-size: 0.825rem; font-weight: 600;
  color: var(--accent-bright);
}

.offering-card.featured {
  background: linear-gradient(135deg, #1a3a6e, #4c1d95);
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}
.offering-card.featured h3 { color: #fff; }
.offering-card.featured p { color: rgba(255,255,255,0.7); }
.offering-card.featured .card-link { color: #c4b5fd; }
.offering-card.featured .offering-icon { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }

/* ── STATS ── */
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.stat-item {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  background: var(--bg-card);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 3rem; font-weight: 700;
  background: linear-gradient(135deg, #a78bfa, #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 0.6rem;
}
.stat-label { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ── SECTORS ── */
.sectors-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.sector-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem; display: block;
  transition: background 0.2s;
}
.sector-card:hover { background: var(--bg-elevated); }

.sector-letter {
  width: 2.25rem; height: 2.25rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  color: var(--accent-bright);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; font-weight: 700; margin-bottom: 1.25rem;
}
.sector-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.6rem; }
.sector-card p { font-size: 0.825rem; color: var(--text-muted); line-height: 1.6; }

/* ── DELIVERY ── */
.delivery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.delivery-item {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.delivery-item:hover { border-color: var(--accent); box-shadow: var(--shadow-blue); }

.delivery-num {
  font-size: 0.68rem; font-weight: 700;
  color: var(--accent-bright); letter-spacing: 0.15em;
  margin-bottom: 1rem; display: block;
}
.delivery-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--text); }
.delivery-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ── CTA ── */
.cta-wrap { padding: 0 3rem 7rem; }
.cta-section {
  max-width: var(--max-w); margin: 0 auto;
  background: linear-gradient(135deg, #0d1f3c 0%, #4c1d95 50%, #1a3a6e 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 5rem 4rem;
  text-align: center;
  box-shadow: var(--shadow-blue);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a78bfa, transparent);
}
.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,0.65);
  max-width: 500px; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.7;
}
.btn-white {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.9rem 2.25rem;
  background: #fff; color: #4c1d95;
  border-radius: var(--radius); font-weight: 700; font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }

/* ── FOOTER ── */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 5rem 3rem 2.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 3rem; max-width: var(--max-w); margin: 0 auto 4rem;
}
.footer-brand img { height: 44px; margin-bottom: 1.25rem; }
.footer-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-contact { font-size: 0.825rem; color: var(--text-muted); line-height: 1.9; margin-bottom: 1.25rem; }
.footer-linkedin { font-size: 0.825rem; color: var(--accent-bright); font-weight: 600; }
.footer-linkedin:hover { color: var(--text); }

.footer-heading {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); margin-bottom: 1.5rem; display: block;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col ul a { font-size: 0.875rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  max-width: var(--max-w); margin: 0 auto; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom span { font-size: 0.825rem; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.825rem; color: var(--text-dim); }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(160deg, #071124 0%, #0d1f3c 60%, #050d1a 100%);
  border-bottom: 1px solid var(--border);
  padding: calc(var(--nav-h) + 5rem) 3rem 5rem;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: var(--glow-line); opacity: 0.5;
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: var(--text); max-width: 700px;
  margin-bottom: 1.25rem; line-height: 1.1;
}
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; }

/* ── PROSE ── */
.prose { max-width: 740px; margin: 0 auto; }
.prose h2 {
  font-size: 1.35rem; font-weight: 700;
  color: var(--text); margin: 3rem 0 1rem; letter-spacing: -0.02em;
}
.prose p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.8; }
.prose ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1.25rem; }
.prose ul li { font-size: 1rem; color: var(--text-muted); margin-bottom: 0.6rem; line-height: 1.7; }
.prose a { color: var(--accent-bright); font-weight: 500; }
.prose a:hover { text-decoration: underline; }

/* ── CONTACT ── */
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem;
  max-width: var(--max-w); margin: 0 auto; align-items: start;
}
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.contact-info p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; }
.contact-detail { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail span { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.contact-detail strong { color: var(--text); display: block; margin-bottom: 0.2rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.72rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text); padding: 0.85rem 1rem;
  font-family: var(--font); font-size: 0.95rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--bg-card); }
.form-submit {
  background: var(--accent); color: #fff; border: none;
  padding: 0.9rem 2rem; border-radius: var(--radius);
  font-family: var(--font); font-size: 0.95rem; font-weight: 600;
  cursor: pointer; align-self: flex-start;
  box-shadow: var(--shadow-blue);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.form-submit:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(139,92,246,0.4);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--bg-alt); padding: 1.5rem; gap: 0.35rem; border-bottom: 1px solid var(--border); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { display: flex; width: 100%; padding: 0.6rem 0; text-align: left; }
  .nav-toggle { display: block; }

  /* mobile mega-menu becomes an inline accordion */
  .nav-dropdown { width: 100%; }
  .nav-dropdown > a { justify-content: space-between; width: 100%; }
  .mega-menu {
    position: static; transform: none; width: 100%;
    max-height: 0; min-height: 0; overflow: hidden;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 0 0.5rem;
    box-shadow: none; border: none; background: transparent;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
  }
  .nav-dropdown.open .mega-menu {
    max-height: 3200px; opacity: 1; visibility: visible; pointer-events: auto;
    padding: 1.25rem 0 0.5rem;
    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0s;
  }
  .mega-col-label { margin-bottom: 0.6rem; }
  .mega-col:nth-child(n+5) .mega-col-label { margin-top: 0; }
  .mega-footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .btn-nav { display: none; }
  .section { padding: 5rem 1.5rem; }
  .hero { padding-left: 1.5rem; padding-right: 1.5rem; }
  .offerings-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .cta-wrap { padding: 0 1.5rem 5rem; }
  .cta-section { padding: 3.5rem 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
}

@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.25rem; }
}

/* ── SECTOR IMAGES ── */
.sectors-grid {
  grid-template-columns: repeat(5, 1fr) !important;
}
.sector-card {
  padding: 0 !important;
  overflow: hidden;
  display: flex !important;
  flex-direction: column;
}
.sector-img {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.sector-content {
  padding: 1.5rem;
  flex: 1;
}

/* ── PAGE HERO IMAGES ── */
.page-hero-img {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover; background-position: center;
  opacity: 0.08; z-index: 0;
}
.page-hero { position: relative; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 1; }

/* ── OFFERING CARD IMAGES ── */
.offering-card-img {
  width: 100%; height: 180px;
  background-size: cover; background-position: center;
  border-radius: 8px; margin-bottom: 1.5rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .sectors-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .sector-img { height: 120px; }
}
@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr !important; }
}

/* ── ANIMATION BASE ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero gradient animation */
.hero::before {
  animation: pulseGlow 6s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}

/* Logo hover */
.logo-img img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.logo-img:hover img {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Button pulse on hover */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
.btn-primary:hover::after {
  width: 300px; height: 300px; opacity: 1;
}

/* Nav link underline animation */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transition: transform 0.25s ease;
  transform-origin: left;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Card hover glow pulse */
.offering-card:hover .offering-icon {
  animation: iconPulse 0.4s ease;
}
@keyframes iconPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Sector letter pop */
.sector-card:hover .sector-letter {
  background: var(--accent);
  color: #fff;
  transition: background 0.25s ease, color 0.25s ease;
}

/* Stat number glow on reveal */
.stat-num.counted {
  animation: statGlow 0.6s ease forwards;
}
@keyframes statGlow {
  0%   { text-shadow: none; }
  50%  { text-shadow: 0 0 20px rgba(139,92,246,0.6); }
  100% { text-shadow: none; }
}

/* Footer link slide */
.footer-col ul a {
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer-col ul a:hover {
  transform: translateX(4px);
}

/* Delivery item border glow */
.delivery-item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.delivery-item:hover {
  transform: translateY(-3px);
}

/* Trust items fade in stagger */
.trust-item {
  transition: color 0.3s ease;
}
.trust-item:hover { color: var(--accent-bright); }

/* Page hero text slide */
.page-hero h1 {
  animation: slideUp 0.7s ease 0.1s both;
}
.page-hero p {
  animation: slideUp 0.7s ease 0.25s both;
}
.page-hero .eyebrow-tag {
  animation: slideUp 0.6s ease 0s both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.testimonial-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4c1d95, #8b5cf6);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(139,92,246,0.3);
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: #0d1f3c;
  border-top: 1px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
#cookie-banner p {
  font-size: 0.875rem; color: var(--text-muted);
  max-width: 640px; line-height: 1.6; margin: 0;
}
#cookie-banner p a { color: var(--accent-bright); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--accent); color: #fff;
  border: none; padding: 0.6rem 1.5rem;
  border-radius: var(--radius); font-family: var(--font);
  font-size: 0.875rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.cookie-accept:hover { background: var(--accent-bright); }
.cookie-decline {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border); padding: 0.6rem 1.5rem;
  border-radius: var(--radius); font-family: var(--font);
  font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.cookie-decline:hover { border-color: var(--accent); color: var(--text); }

/* ── FORM SUCCESS ── */
.form-success {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #86efac;
  font-size: 0.95rem;
  text-align: center;
  display: none;
}
.form-success.show { display: block; }

/* ── BLOG ── */
.featured-post {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 0; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  background: var(--bg-card);
}
.featured-post:hover {
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.featured-post-img {
  height: 420px;
  background-size: cover; background-position: center;
}
.featured-post-content {
  padding: 3rem;
  display: flex; flex-direction: column; justify-content: center; gap: 1.25rem;
}
.featured-post-content h2 {
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: -0.03em; color: var(--text); line-height: 1.2;
}
.featured-post-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; }
.read-more { color: var(--accent-bright); font-weight: 600; font-size: 0.9rem; }

.blog-tag {
  display: inline-block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-bright);
  background: var(--accent-dim);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.75rem; border-radius: 100px;
  width: fit-content;
}

.post-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: var(--text-dim);
}
.post-author { color: var(--text-muted); font-weight: 500; }

/* Blog filters */
.blog-filters {
  display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.blog-filter {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); padding: 0.4rem 1.1rem;
  border-radius: 100px; font-size: 0.82rem; font-weight: 500;
  cursor: pointer; font-family: var(--font);
  transition: all 0.2s;
}
.blog-filter:hover { border-color: var(--accent); color: var(--accent-bright); }
.blog-filter.active {
  background: var(--accent); border-color: var(--accent);
  color: #fff;
}

/* Blog grid */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.blog-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.blog-card-img {
  height: 200px; background-size: cover; background-position: center;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body {
  padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1;
}
.blog-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--text); line-height: 1.4; letter-spacing: -0.01em;
}
.blog-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

/* Newsletter */
.newsletter-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.newsletter-content h2 {
  font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--text); margin: 0.75rem 0 0.5rem;
}
.newsletter-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.newsletter-form {
  display: flex; gap: 0.75rem;
}
.newsletter-form input {
  flex: 1; background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius); color: var(--text);
  padding: 0.85rem 1rem; font-family: var(--font); font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--text-dim); }
.newsletter-form button {
  background: var(--accent); color: #fff; border: none;
  padding: 0.85rem 1.5rem; border-radius: var(--radius);
  font-family: var(--font); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--accent-bright); }

/* ── CALENDLY BUTTON ── */
.calendly-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius); font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s; cursor: pointer; font-family: var(--font);
}
.calendly-btn:hover {
  border-color: var(--accent); background: var(--accent-dim);
  color: var(--accent-bright);
}

/* Calendly modal overlay */
#calendly-overlay {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.75);
  z-index: 10000; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
#calendly-overlay.open { display: flex; }
#calendly-modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); width: 90%; max-width: 720px;
  height: 80vh; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
#calendly-modal-header {
  padding: 1.25rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border);
}
#calendly-modal-header h3 { font-size: 1rem; font-weight: 700; color: var(--text); }
#calendly-close {
  background: none; border: none; color: var(--text-muted);
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}
#calendly-close:hover { color: var(--text); }
#calendly-iframe {
  flex: 1; border: none; background: #fff;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { height: 260px; }
  .newsletter-box { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── BLOG POST ── */
.post-hero {
  height: 480px;
  background-size: cover; background-position: center;
  position: relative; margin-top: var(--nav-h);
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,13,26,0.4), rgba(5,13,26,0.85));
  display: flex; align-items: flex-end;
}
.post-hero-inner {
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  padding: 3rem; display: flex; flex-direction: column; gap: 1rem;
}
.back-link {
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
  font-weight: 500; transition: color 0.2s; width: fit-content;
}
.back-link:hover { color: #fff; }
.post-hero-inner h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700; letter-spacing: -0.03em;
  color: #fff; max-width: 800px; line-height: 1.15;
}
.post-hero-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}

/* Post layout */
.post-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 4rem; max-width: var(--max-w);
  margin: 0 auto; padding: 5rem 3rem;
}
.post-content {
  font-size: 1.05rem; color: var(--text-muted); line-height: 1.85;
}
.post-lead {
  font-size: 1.2rem; color: var(--text);
  line-height: 1.75; margin-bottom: 2.5rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.post-content h2 {
  font-size: 1.4rem; font-weight: 700;
  color: var(--text); margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.post-content p { margin-bottom: 1.25rem; }
.post-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1.25rem; }
.post-content ul li { margin-bottom: 0.6rem; }

/* Sidebar */
.post-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.sidebar-box h4 {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin-bottom: 0.75rem;
}
.sidebar-box p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }
.sidebar-links { display: flex; flex-direction: column; gap: 0.6rem; }
.sidebar-links a {
  font-size: 0.875rem; color: var(--accent-bright);
  font-weight: 500; transition: color 0.2s;
}
.sidebar-links a:hover { color: var(--text); }

/* Related posts */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.related-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.25s, transform 0.2s;
  display: block;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.related-img { height: 160px; background-size: cover; background-position: center; }
.related-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; }
.related-body h4 {
  font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.4;
}

@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .post-hero { height: 360px; }
  .post-layout { padding: 3rem 1.5rem; }
  .post-sidebar { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ── ALL INDUSTRIES GRID ── */
.all-industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.industry-col {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
}
.industry-col:last-child { border-right: none; }

.industry-item {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  display: block;
  text-decoration: none;
}
.industry-item:last-child { border-bottom: none; }
.industry-item:hover {
  background: var(--bg-elevated);
  color: var(--text);
  padding-left: 1.75rem;
}
.industry-item.featured {
  color: var(--accent-bright);
  font-weight: 600;
}
.industry-item.featured:hover {
  background: var(--accent-dim);
  color: var(--accent-bright);
}

.industry-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.industry-note a {
  color: var(--accent-bright);
  font-weight: 500;
}
.industry-note a:hover { text-decoration: underline; }

@media (max-width: 1024px) {
  .all-industries-grid { grid-template-columns: repeat(3, 1fr); }
  .industries-grid-full { grid-template-columns: repeat(2, 1fr); gap: 0 2rem; }
}
@media (max-width: 640px) {
  .all-industries-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── TRUST BADGES ── */
.trust-badges-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.trust-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trust-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
}
.trust-badge-icon { font-size: 1.25rem; }
.trust-badge-name {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.trust-badge-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.trust-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── CASE STUDIES ── */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.case-study-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.case-study-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}
.case-study-card.featured-case {
  background: linear-gradient(135deg, #4c1d95, #5b21b6);
  border-color: var(--accent);
  box-shadow: var(--shadow-blue);
}
.case-study-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.case-study-industry {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--accent-bright);
}
.case-study-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-dim);
  color: var(--accent-bright);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  white-space: nowrap;
}
.case-study-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.case-study-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.case-study-results {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  margin: 0.5rem 0;
}
.case-result {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  border-right: 1px solid var(--border);
  padding: 0 0.5rem;
}
.case-result:last-child { border-right: none; }
.case-result-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}
.case-result-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.3;
}
.case-study-cta {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--accent-bright);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  display: block;
  transition: color 0.2s;
}
.case-study-cta:hover { color: var(--text); }

@media (max-width: 1024px) {
  .case-studies-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-badges { gap: 0; }
}
@media (max-width: 640px) {
  .case-studies-grid { grid-template-columns: 1fr; }
  .trust-badges { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .trust-divider { display: none; }
}

/* ── TECH PARTNERS ── */
.tech-partners-wrap {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.tech-partners-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.tech-partners {
  display: flex; align-items: center;
  justify-content: center; flex-wrap: wrap; gap: 1rem;
}
.tech-partner {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.tech-partner:hover { border-color: var(--accent); transform: translateY(-2px); }
.tech-partner-logo {
  font-size: 1.5rem;
}
.tech-partner-info { display: flex; flex-direction: column; }
.tech-partner-name {
  font-size: 0.875rem; font-weight: 700; color: var(--text);
  white-space: nowrap;
}
.tech-partner-type {
  font-size: 0.7rem; color: var(--text-muted); white-space: nowrap;
}

/* ── RESPONSE GUARANTEE ── */
.guarantee-bar {
  background: linear-gradient(135deg, #0d1f3c, #4c1d95);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 2rem 3rem;
}
.guarantee-bar-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 2rem;
}
.guarantee-text h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--text); margin-bottom: 0.3rem;
}
.guarantee-text p { font-size: 0.875rem; color: var(--text-muted); }
.guarantee-items {
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.guarantee-item {
  display: flex; align-items: center; gap: 0.6rem;
}
.guarantee-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(139,92,246,0.15);
  border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.guarantee-item-text { display: flex; flex-direction: column; }
.guarantee-item-title {
  font-size: 0.825rem; font-weight: 700; color: var(--text);
}
.guarantee-item-sub { font-size: 0.72rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .guarantee-bar-inner { flex-direction: column; }
  .tech-partners { gap: 0.75rem; }
}

/* ── LINKEDIN BUTTON ── */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0a66c2;
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.825rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  width: fit-content;
}
.linkedin-btn:hover {
  background: #004182;
  transform: translateY(-1px);
}

/* ============================================
   MOBILE OPTIMIZATION — Comprehensive Fix
   ============================================ */

@media (max-width: 768px) {

  /* Nav */
  .nav { padding: 0 1.25rem; }
  .logo-img img { height: 42px; }

  /* Hero */
  .hero {
    padding: calc(var(--nav-h) + 3rem) 1.25rem 4rem;
    min-height: auto;
  }
  .hero h1 { font-size: 2.25rem; letter-spacing: -0.03em; }
  .hero-sub { font-size: 1rem; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .hero-actions .calendly-btn {
    width: 100%; text-align: center; justify-content: center;
  }

  /* Sections */
  .section { padding: 4rem 1.25rem; }
  .section-title { font-size: 1.75rem; }

  /* Trust badges */
  .trust-badges { flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 0 1.25rem; }
  .trust-divider { display: none; }
  .trust-badge { padding: 0.5rem 0; }

  /* Tech partners */
  .tech-partners { gap: 0.6rem; }
  .tech-partner { padding: 0.6rem 1rem; }
  .tech-partner-name { font-size: 0.8rem; }
  .tech-partner-type { font-size: 0.65rem; }

  /* Cards */
  .offerings-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 1.75rem 1.25rem; }
  .stat-item:last-child { border-bottom: none; }
  .stat-num { font-size: 2.25rem; }

  /* Sectors */
  .sectors-grid { grid-template-columns: 1fr 1fr; }

  /* Delivery */
  .delivery-grid { grid-template-columns: 1fr; gap: 1rem; }
  .delivery-item { padding: 1.5rem; }

  /* Case studies */
  .case-studies-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Industries grid */
  .all-industries-grid { grid-template-columns: 1fr 1fr; }
  .industries-grid-full { grid-template-columns: 1fr; }

  /* CTA */
  .cta-wrap { padding: 0 1.25rem 4rem; }
  .cta-section { padding: 3rem 1.5rem; }
  .cta-section h2 { font-size: 1.75rem; }

  /* Guarantee bar */
  .guarantee-bar { padding: 1.5rem 1.25rem; }
  .guarantee-bar-inner { flex-direction: column; gap: 1.5rem; }
  .guarantee-items { flex-direction: column; gap: 1rem; }

  /* Footer */
  .footer { padding: 3rem 1.25rem 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }

  /* Page hero */
  .page-hero { padding: calc(var(--nav-h) + 3rem) 1.25rem 3rem; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: 1rem; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { height: 200px; }
  .featured-post-content { padding: 1.5rem; }
  .newsletter-box { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
  .newsletter-form { flex-direction: column; }

  /* Contact */
  .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* Post layout */
  .post-layout { padding: 3rem 1.25rem; grid-template-columns: 1fr; }
  .post-sidebar { grid-template-columns: 1fr; }
  .post-hero { height: 280px; }
  .post-hero-inner { padding: 1.5rem; }
  .post-hero-inner h1 { font-size: 1.6rem; }

  /* Chatbot */
  #ac-window { width: calc(100vw - 24px); right: -12px; bottom: 80px; }

  /* Careers */
  .job-card { flex-direction: column; gap: 1rem; }
  .job-apply { width: 100%; text-align: center; }

  /* Cloud services */
  .cloud-services-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr 1fr; }

  /* Service grids */
  .service-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr 1fr; }
  .process-row { grid-template-columns: 1fr; }

  /* About page */
  .about-stats { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-img { height: 260px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.875rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .sectors-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .all-industries-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero-tags { gap: 0.4rem; }
  .hero-tags span { font-size: 0.72rem; padding: 0.3rem 0.75rem; }
  .trust-badges-wrap { padding: 0; }
  .section-title { font-size: 1.5rem; }
  .cta-section h2 { font-size: 1.5rem; }
  .btn-primary, .btn-secondary { padding: 0.8rem 1.5rem; font-size: 0.875rem; }
  .about-hero h1 { font-size: 1.875rem; }
  .team-photo { height: 240px; }
}
