/* Info i Que Technologies — palette taken from the logo */
:root {
  --navy: #0B1D4A;
  --navy-2: #13295F;
  --purple: #6C2BF5;
  --blue: #3B82F6;
  --teal: #2ED3CE;
  --ink: #0B1D4A;
  --body: #46557A;
  --muted: #6B7A9C;
  --line: #E3E8F3;
  --tint: #F5F7FC;
  --white: #FFFFFF;
  --grad: linear-gradient(135deg, var(--purple) 0%, var(--blue) 50%, var(--teal) 100%);
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(11, 29, 74, .35);
  --logo: url("../assets/logo/infoique-logo-original.webp");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 14px;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem "Inter", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 24px -14px rgba(11, 29, 74, .7); }
.btn-primary:hover { background: var(--purple); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(11, 29, 74, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* Crops the symbol out of the supplied square logo image */
.brand-mark {
  width: 50px; height: 50px; flex: none;
  background: var(--logo) 51.4% 33.6% / 200% no-repeat;
  mix-blend-mode: multiply;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 600 1.3rem "Outfit", sans-serif; color: var(--navy); letter-spacing: -.01em; }
.brand-name i { font-style: normal; color: var(--purple); }
.brand-sub { font-size: .68rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .97rem; color: var(--ink);
  position: relative; padding: 6px 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Pixel motif, echoing the squares in the logo */
.pixels {
  position: absolute; pointer-events: none;
  background: linear-gradient(180deg, var(--purple), var(--blue) 50%, var(--teal));
  -webkit-mask-image:
    repeating-linear-gradient(90deg, #000 0 14px, transparent 14px 22px),
    repeating-linear-gradient(0deg, #000 0 14px, transparent 14px 22px),
    radial-gradient(closest-side, #000, transparent);
  mask-image:
    repeating-linear-gradient(90deg, #000 0 14px, transparent 14px 22px),
    repeating-linear-gradient(0deg, #000 0 14px, transparent 14px 22px),
    radial-gradient(closest-side, #000, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  opacity: .22;
}
.pixels-left { width: 420px; height: 420px; left: -160px; top: 40px; }
.pixels-right { width: 520px; height: 520px; right: -200px; bottom: -160px; opacity: .18; }
.pixels-dark { width: 620px; height: 620px; right: -220px; top: -220px; opacity: .3; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.lead { font-size: 1.15rem; max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero-points { display: grid; gap: 10px; }
.hero-points li { position: relative; padding-left: 28px; font-size: .98rem; color: var(--ink); font-weight: 500; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--grad);
}

/* Hero: dark, type-led. The services are set as a large typographic index. */
.hero {
  background:
    radial-gradient(55% 75% at 88% 12%, rgba(108, 43, 245, .5), transparent 62%),
    radial-gradient(45% 65% at 6% 100%, rgba(46, 211, 206, .22), transparent 60%),
    linear-gradient(160deg, #071537 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #C5CFE6;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--teal); }
.hero .grad { background-image: linear-gradient(135deg, #B79CFF 0%, #6FA8FF 50%, var(--teal) 100%); }
.hero .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.hero .btn-primary:hover { background: var(--teal); }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.hero .btn-ghost:hover { border-color: #fff; }
.hero-points li { color: #E6EBF7; }
.hero .pixels { opacity: .16; }

.hero-visual { justify-self: stretch; }
.svc-index { border-top: 1px solid rgba(255, 255, 255, .18); }
.svc-line {
  position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; column-gap: 14px;
  padding: 22px 4px; border-bottom: 1px solid rgba(255, 255, 255, .18); text-decoration: none;
  transition: padding-left .35s ease;
  animation: rise .7s ease both;
}
.svc-line:nth-child(2) { animation-delay: .1s; }
.svc-line:nth-child(3) { animation-delay: .2s; }
.svc-line:nth-child(4) { animation-delay: .3s; }
.svc-line::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--blue), var(--teal));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.svc-num { align-self: start; padding-top: 12px; font: 600 .82rem "Outfit", sans-serif; letter-spacing: .1em; color: var(--teal); }
.svc-word {
  display: block; font: 600 clamp(2.1rem, 3.7vw, 3.1rem)/1.05 "Outfit", sans-serif; letter-spacing: -.02em;
  background: linear-gradient(90deg, #B79CFF, #6FA8FF 50%, var(--teal)) 0 0 / 0% 100% no-repeat, #fff;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-size .45s ease;
}
.svc-text small { display: block; margin-top: 8px; font-size: .95rem; line-height: 1.45; color: #A9B6D4; }
.svc-go {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; font-size: 1.1rem;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s;
}
.svc-line:hover, .svc-line:focus-visible { padding-left: 16px; }
.svc-line:hover::after, .svc-line:focus-visible::after { transform: scaleX(1); }
.svc-line:hover .svc-word, .svc-line:focus-visible .svc-word { background-size: 100% 100%, auto; }
.svc-line:hover .svc-go, .svc-line:focus-visible .svc-go { background: #fff; border-color: #fff; color: var(--navy); transform: rotate(-45deg); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Sections */
.section { position: relative; padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:last-child { margin-bottom: 0; font-size: 1.08rem; }

.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { font-size: .98rem; }
.card p:last-child { margin-bottom: 0; }

.icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; }
.icon svg { width: 26px; height: 26px; }
.icon-purple { background: #EFE8FF; color: var(--purple); }
.icon-blue { background: #E6F0FF; color: #1D5FD8; }
.icon-teal { background: #DDF8F6; color: #0E8F8A; }
.icon-navy { background: #E4E9F5; color: var(--navy); }

.link { font-weight: 600; font-size: .95rem; color: var(--navy); text-decoration: none; }
.link::after { content: " \2192"; transition: margin-left .2s; }
.link:hover { color: var(--purple); }
.link:hover::after { margin-left: 4px; }

.cap { position: relative; padding-top: 34px; overflow: hidden; }
.cap::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad); opacity: .85; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .9rem; font-weight: 500; color: var(--ink);
}

.model-list { display: grid; gap: 16px; }
.model {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
}
.model h3 { margin-bottom: 6px; }
.model p { margin: 0; font-size: .98rem; }
.model-num {
  font: 700 1.1rem "Outfit", sans-serif; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-top: 3px;
}

/* Consulting topics */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.topic { padding: 26px 0; border-top: 1px solid var(--line); }
.topic h3 { display: flex; align-items: center; gap: 12px; font-size: 1.15rem; margin-bottom: 8px; }
.topic h3::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--grad); }
.topic p { margin: 0; font-size: .97rem; }

/* IT services checklist */
.split-copy .btn { margin-top: 12px; }
.check-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 10px 32px; box-shadow: var(--shadow);
}
.check-panel li { display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line); }
.check-panel li:last-child { border-bottom: 0; }
.check-panel li::before {
  content: "\2713"; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: #DDF8F6; color: #0E8F8A; font-weight: 700;
}
.check-panel strong { display: block; font: 600 1.08rem "Outfit", sans-serif; color: var(--ink); }
.check-panel span { font-size: .95rem; }

/* Approach */
.section-dark { background: var(--navy); color: #C5CFE6; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--teal); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; }
.steps li {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 28px 24px;
}
.steps p { margin: 0; font-size: .97rem; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: #fff; font: 700 1.1rem "Outfit", sans-serif; margin-bottom: 20px;
}

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-grid li {
  position: relative; padding: 20px 20px 20px 46px; border: 1px solid var(--line); border-radius: 14px;
  font-weight: 600; color: var(--ink); font-size: .98rem; background: #fff;
}
.industry-grid li::before {
  content: ""; position: absolute; left: 20px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-radius: 3px; background: var(--grad);
}

/* Audience CTAs */
.audience { border-radius: 26px; padding: 44px 40px; }
.audience h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.audience p { max-width: 44ch; }
.audience .btn { margin-top: 10px; }
.audience-employer { background: linear-gradient(135deg, var(--navy) 0%, #2A2A9E 60%, var(--purple) 100%); color: #D5DCF0; }
.audience-employer h2 { color: #fff; }
.audience-employer .eyebrow { color: var(--teal); }
.audience-talent { background: #fff; border: 1px solid var(--line); }

/* Contact */
.next-steps { display: grid; gap: 12px; margin: 24px 0; }
.next-steps strong { color: var(--purple); margin-right: 6px; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: grid; grid-template-columns: 54px 1fr; gap: 20px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  box-shadow: var(--shadow); text-decoration: none; font-style: normal; color: var(--body);
  transition: transform .25s, border-color .25s;
}
.contact-card .icon { margin: 0; }
.contact-card > span:last-child { display: grid; gap: 4px; }
.contact-label { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font: 600 1.3rem "Outfit", sans-serif; color: var(--ink); overflow-wrap: anywhere; }
a.contact-card:hover { transform: translateY(-4px); border-color: var(--purple); }
a.contact-card:hover strong { color: var(--purple); }
.footer-brand address { font-style: normal; margin-top: 14px; }

/* Footer */
.site-footer { background: #071537; color: #A9B6D4; padding-top: 64px; font-size: .95rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 44px; }
.footer-brand { max-width: 360px; }
.footer-brand p { margin-top: 18px; }
.brand-tile { background: #fff; border-radius: 12px; padding: 3px; display: grid; }
.brand-tile .brand-mark { width: 46px; height: 46px; mix-blend-mode: normal; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-name i { color: var(--teal); }
.brand-footer .brand-sub { color: #8B9AC0; }
.footer-nav { display: flex; gap: 72px; }
.footer-nav h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-nav a { display: block; text-decoration: none; padding: 5px 0; }
.footer-nav a:hover, .footer-bottom a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem;
}
.footer-bottom a { text-decoration: none; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-4, .steps, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .split { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { width: min(520px, 100%); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 20px;
    box-shadow: 0 24px 30px -24px rgba(11, 29, 74, .4); display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 44px 0 72px; }
  .grid-4, .grid-3, .grid-2, .steps, .industry-grid, .topic-grid { grid-template-columns: 1fr; }
  .audience { padding: 30px 24px; }
  .contact-card { padding: 22px 20px; gap: 16px; }
  .svc-line { grid-template-columns: 30px 1fr auto; padding: 18px 0; }
  .svc-go { width: 40px; height: 40px; }
  .footer-nav { gap: 48px; }
  .brand-mark { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
