/* ============================================
   VECTRIS CONSULTING — Global Stylesheet
   Research-backed design system
   ============================================ */

/* --- FONTS (self-hosted for performance) --- */
@font-face {
  font-family: 'Montserrat';
  font-display: swap;
  src: url('/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: url('/fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Inter';
  font-display: swap;
  src: url('/fonts/inter-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: #2D3748;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }

/* --- DESIGN TOKENS --- */
:root {
  /* Primary */
  --navy: #0A1628;
  --midnight: #1B2A4A;
  --slate: #2D3748;
  --gray-600: #4A5568;
  --gray-400: #718096;
  --gray-200: #E2E8F0;
  --off-white: #F7F8FA;
  --white: #FFFFFF;

  /* Accent */
  --orange: #E8621A;
  --orange-hover: #D4550F;
  --orange-light: #FFF3EC;
  --teal: #0EA5A0;
  --teal-hover: #0C8C88;
  --green: #10B981;
  --green-light: #ECFDF5;

  /* Layout */
  --container: 1200px;
  --section-pad: 100px;
  --section-pad-mobile: 60px;

  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1rem; }
.text-muted { color: var(--gray-400); }
.text-accent { color: var(--orange); }

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--section-pad) 0;
}
.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h2,
.section--dark h3 {
  color: var(--white);
}
.section--alt {
  background: var(--off-white);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232, 98, 26, 0.35);
}
.btn--primary:hover {
  background: var(--orange-hover);
  box-shadow: 0 6px 20px rgba(232, 98, 26, 0.45);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--secondary {
  background: var(--teal);
  color: var(--white);
}
.btn--secondary:hover {
  background: var(--teal-hover);
}

/* --- HEADER / NAV --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.header__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}
.header__logo span {
  color: var(--orange);
}
.header__logo em,
.footer__brand em {
  font-style: normal;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.65em;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  vertical-align: baseline;
  margin-left: 2px;
}
.footer__brand em {
  color: rgba(255,255,255,0.35);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.header__nav a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.header__nav a:hover {
  color: var(--white);
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
}
.header__phone svg { width: 18px; height: 18px; }
.header__phone:hover { color: var(--orange); }

/* Mobile menu toggle */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
  padding-top: 80px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background:
    radial-gradient(circle at 20% 50%, var(--teal) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, var(--orange) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, var(--midnight) 0%, transparent 60%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__content {
  position: relative;
  max-width: 720px;
  z-index: 2;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}
.hero__sub {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 600px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__logos {
  position: relative;
  z-index: 2;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero__logos-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.hero__logos-strip {
  display: flex;
  align-items: center;
  gap: 48px;
  opacity: 0.5;
}
.hero__logos-strip span {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* --- SECTION HEADERS --- */
.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section__header p {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-top: 16px;
}
.section__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section--dark .section__eyebrow {
  color: var(--teal);
}

/* --- PAIN POINTS --- */
.pain-card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  transition: all 0.25s;
}
.pain-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 30px rgba(232, 98, 26, 0.08);
  transform: translateY(-3px);
}
.pain-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pain-card__icon svg {
  width: 26px;
  height: 26px;
  color: var(--orange);
}
.pain-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.pain-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* --- SERVICE CARDS --- */
.service-card {
  padding: 36px 32px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.1);
  transform: translateY(-4px);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--midnight), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}
.service-card h3 {
  margin-bottom: 12px;
}
.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card__link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card__link:hover { color: var(--teal-hover); }
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.2s; }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* --- INDUSTRY TILES --- */
.industry-tile {
  padding: 40px 32px;
  border-radius: 12px;
  background: var(--navy);
  text-align: center;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.industry-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,165,160,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.industry-tile:hover::after { opacity: 1; }
.industry-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10, 22, 40, 0.4); }
.industry-tile__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.industry-tile__icon svg { width: 32px; height: 32px; color: var(--teal); }
.industry-tile h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.industry-tile p { color: rgba(255,255,255,0.55); font-size: 0.88rem; margin: 0; }

/* --- CASE STUDY SPOTLIGHT --- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.spotlight__metric {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}
.spotlight__metric-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
}
.spotlight__metric-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
}
.spotlight__metric-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-bottom: 32px;
}
.spotlight__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.spotlight__stat {
  padding: 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.spotlight__stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--white);
}
.spotlight__stat-label {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  margin-top: 4px;
}
.spotlight__text h2 { margin-bottom: 16px; }
.spotlight__text > p { color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.spotlight__tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(14,165,160,0.12);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/* --- PROCESS STEPS --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--gray-200);
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.2);
}
.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  padding: 36px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 20px;
  left: 28px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--orange);
  opacity: 0.2;
  line-height: 1;
}
.testimonial-card__text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--slate);
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-card__name {
  font-weight: 500;
  color: var(--navy);
}
.testimonial-card__role {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* --- FINAL CTA --- */
.cta-final {
  text-align: center;
  padding: 100px 0;
}
.cta-final h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-final p {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-final__phone {
  margin-top: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
}
.cta-final__phone a {
  color: var(--white);
  font-weight: 500;
}
.cta-final__phone a:hover { color: var(--orange); }

/* --- FOOTER --- */
.footer {
  background: #060D18;
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.footer__brand span { color: var(--orange); }
.footer__desc {
  line-height: 1.7;
  max-width: 320px;
}
.footer h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__links a {
  display: block;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .spotlight { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }
  .header__nav { display: none; }
  .header__nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .header__toggle { display: flex; }
  .header__phone--desktop { display: none; }
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .hero__logos-strip { flex-wrap: wrap; gap: 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .spotlight__stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* --- UTILITY --- */
.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;
}
