/* =========================================================
   AuxTS — Shared Stylesheet
   Bold & trustworthy MSP/MSSP look.
   Colors live as CSS variables below — swap in exact brand
   hex codes any time without touching the rest of the file.
   ========================================================= */

:root {
  --navy-950: #1A0B2E;
  --navy-900: #2D1155;
  --navy-800: #4C1D95;
  --navy-700: #6D28D9;
  --blue-500: #9333EA;
  --blue-400: #A855F7;
  --amber-500: #F5A623;
  --amber-600: #DB8F14;
  --gray-50:  #F5F3FA;
  --gray-100: #E9E4F5;
  --gray-300: #C9BFE0;
  --gray-500: #776D8A;
  --gray-700: #3A3247;
  --white: #FFFFFF;

  --font-head: 'Sora', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --radius: 10px;
  --shadow-md: 0 10px 30px rgba(45, 17, 85, 0.14);
  --shadow-lg: 0 20px 50px rgba(45, 17, 85, 0.2);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 0.75em;
}

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--gray { background: var(--gray-50); }
.section--navy {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--gray-100);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--gray-300); }

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--right { margin-left: auto; text-align: left; }
.section-head--col2 { grid-column: 2 / 3; max-width: none; margin: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn--primary {
  background: var(--amber-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: var(--amber-600); }

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); }

.btn--outline-navy {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn--outline-navy:hover { background: var(--navy-900); color: var(--white); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-900);
}
.brand:hover { text-decoration: none; }
.brand-logo {
  height: 150px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.footer-brand .brand-logo { height: 64px; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--navy-900); text-decoration: none; }
.nav-links a.is-active { color: var(--blue-500); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 1040px) {
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--gray-100); }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(147,51,234,0.35), transparent 70%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero .lede {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 520px;
  margin-bottom: 2em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 2.5em; }
.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-badge { font-size: 0.85rem; color: var(--gray-300); display: flex; align-items: center; gap: 8px; }
.hero-badge svg { flex-shrink: 0; color: var(--amber-500); }

.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { color: var(--white); margin-bottom: 16px; }
.hero-panel ul { margin: 0; padding: 0; list-style: none; }
.hero-panel li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-300);
  font-size: 0.95rem;
}
.hero-panel li:last-child { border-bottom: none; }
.hero-panel li svg { flex-shrink: 0; color: var(--amber-500); margin-top: 2px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -64px;
  position: relative;
  z-index: 2;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 20px;
  text-align: center;
}
.stat-card .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--navy-900);
  display: block;
}
.stat-card .label {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
}
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
}
.stats--static { margin-top: 0; }

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-500);
  margin-bottom: 18px;
}
.card--dark {
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.card--dark h3, .card--dark p { color: var(--white); }
.card--dark .icon { background: rgba(255,255,255,0.1); color: var(--amber-500); }

.service-card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
  background: rgba(147,51,234,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.service-card.mssp .tag { color: var(--amber-600); background: rgba(245,166,35,0.14); }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
}
.check-list li svg { flex-shrink: 0; margin-top: 3px; color: var(--blue-500); }
.service-card.mssp .check-list li svg { color: var(--amber-600); }

/* ---------- Team ---------- */
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-500));
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.team-card .role {
  color: var(--blue-500);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.team-card .quote {
  font-style: italic;
  color: var(--gray-500);
  border-left: 3px solid var(--amber-500);
  padding-left: 14px;
  margin: 16px 0;
}
.team-social { display: flex; gap: 12px; margin-top: 16px; }
.team-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-900);
}
.team-social a:hover { background: var(--navy-900); color: var(--white); text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--gray-300); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-item .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--blue-500);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item h3 { margin-bottom: 2px; font-size: 1rem; }
.contact-item p { margin: 0; color: var(--gray-500); }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-700);
  background: var(--white);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(147,51,234,0.15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 10px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(147,51,234,0.3), transparent 70%);
  animation: pulseGlow 7s ease-in-out infinite;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: var(--gray-300); max-width: 620px; margin: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--gray-300); margin-bottom: 14px; }
.breadcrumb a { color: var(--amber-500); }
.page-hero .breadcrumb { position: relative; z-index: 1; opacity: 0; animation: fadeUp .6s ease .05s forwards; }
.page-hero h1 { position: relative; z-index: 1; opacity: 0; animation: fadeUp .7s ease .15s forwards; }
.page-hero p { position: relative; z-index: 1; opacity: 0; animation: fadeUp .7s ease .25s forwards; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--gray-300);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer-brand .brand { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; color: var(--gray-500); }
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--gray-300); font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---------- Video embed ---------- */
.video-embed {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-950);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-caption {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--gray-500);
  text-align: center;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* =========================================================
   Animations — homepage
   ========================================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%      { opacity: .6;  transform: scale(1.1); }
}
@keyframes shimmerSweep {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(220%)  skewX(-20deg); }
}

/* Hero entrance */
.hero::after { animation: pulseGlow 7s ease-in-out infinite; }
.hero .eyebrow    { opacity: 0; animation: fadeUp .6s ease .05s forwards; }
.hero h1          { opacity: 0; animation: fadeUp .7s ease .15s forwards; }
.hero .lede       { opacity: 0; animation: fadeUp .7s ease .25s forwards; }
.hero-actions     { opacity: 0; animation: fadeUp .7s ease .35s forwards; }
.hero-badges      { opacity: 0; animation: fadeUp .7s ease .45s forwards; }
.hero-panel       { opacity: 0; animation: fadeRight .8s ease .3s forwards; }
.hero-panel li    { opacity: 0; animation: fadeUp .5s ease forwards; }
.hero-panel li:nth-child(1) { animation-delay: .6s; }
.hero-panel li:nth-child(2) { animation-delay: .72s; }
.hero-panel li:nth-child(3) { animation-delay: .84s; }
.hero-panel li:nth-child(4) { animation-delay: .96s; }
.hero-badge svg { animation: floatY 2.6s ease-in-out infinite; }
.hero-badge:nth-child(2) svg { animation-delay: .3s; }
.hero-badge:nth-child(3) svg { animation-delay: .6s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group.is-visible .reveal-item:nth-child(1) { transition-delay: 0s; }
.reveal-group.is-visible .reveal-item:nth-child(2) { transition-delay: .08s; }
.reveal-group.is-visible .reveal-item:nth-child(3) { transition-delay: .16s; }
.reveal-group.is-visible .reveal-item:nth-child(4) { transition-delay: .24s; }
.reveal-group.is-visible .reveal-item:nth-child(5) { transition-delay: .32s; }
.reveal-group.is-visible .reveal-item:nth-child(6) { transition-delay: .4s; }
.reveal-group .reveal-item { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-group.is-visible .reveal-item { opacity: 1; transform: translateY(0); }

/* Button shimmer */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
}
.btn--primary:hover::after { animation: shimmerSweep .8s ease forwards; }

/* Nav underline */
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--blue-500);
  transition: width .25s ease;
}
.nav-links a:hover::after,
.nav-links a.is-active::after { width: 100%; }

/* Card icon hover */
.card .icon { transition: transform .3s ease; }
.card:hover .icon { transform: scale(1.12) rotate(-4deg); }

/* Logo hover */
.brand-logo { transition: transform .3s ease; }
.brand:hover .brand-logo { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero .eyebrow, .hero h1, .hero .lede, .hero-actions, .hero-badges,
  .hero-panel, .hero-panel li, .hero-badge svg,
  .page-hero::after, .page-hero .breadcrumb, .page-hero h1, .page-hero p,
  .reveal, .reveal-group .reveal-item,
  .btn--primary::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
