/* ==========================================================
   Innovion DigiTech - styles (mobile-first)
   Change the brand colours in the :root block below.
   ========================================================== */
:root {
  --navy-900: #102b4c;
  --navy-800: #153e75;
  --navy-700: #2364a2;
  --blue: #164b87;
  --blue-bright: #2364a2;
  --blue-light: #f0b43c;
  --mint: #39815d;
  --ink: #242a31;
  --muted: #646d77;
  --bg: #ffffff;
  --bg-alt: #f2f4f6;
  --line: #d9dee4;
  --radius: 4px;
  --shadow: 0 2px 8px rgba(16, 43, 76, .08);
  --shadow-lg: 0 8px 20px rgba(16, 43, 76, .12);
  --font: "Noto Sans", sans-serif;
  --font-display: "Noto Serif", serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: 2.1rem; font-weight: 800; }
h2 { font-size: 1.7rem; font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: 16px; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Accessibility */
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff; box-shadow: 0 8px 24px rgba(37, 99, 235, .4); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-wa { background: #25d366; color: #063b1c; margin: 8px 0 20px; }
.btn-sm { min-height: 40px; padding: 8px 20px; }
.btn-block { width: 100%; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(6, 15, 36, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.15rem; }
.logo b { color: var(--blue-light); font-weight: 800; }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--blue-light)); }
.logo-mark svg { width: 22px; height: 22px; color: #fff; }

.nav-toggle { display: grid; gap: 5px; width: 48px; height: 48px; place-content: center; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.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); }

.nav-menu { position: absolute; left: 0; right: 0; top: var(--header-h); display: none; flex-direction: column; padding: 8px 16px 20px; background: var(--navy-900); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nav-menu.open { display: flex; }
.nav-menu a { display: block; padding: 14px 8px; color: #d6e0f5; text-decoration: none; font-weight: 500; }
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-menu a.active:not(.btn) { color: var(--blue-light); }
.nav-menu .nav-cta { margin-top: 8px; background: var(--blue); color: #fff; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(125deg, #071526 0%, #0b2937 56%, #12414a 100%); padding: 56px 0 72px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-art { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(116, 226, 195, .13); -webkit-mask-image: linear-gradient(110deg, transparent 8%, #000 75%); mask-image: linear-gradient(110deg, transparent 8%, #000 75%); animation: grid-drift 32s linear infinite alternate; }
.hero-inner { position: relative; display: grid; gap: 48px; align-items: center; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.hero .eyebrow { color: var(--blue-light); }
.grad { background: linear-gradient(90deg, var(--blue-light), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; color: #c3d0ea; max-width: 56ch; }
.btn-row { display: grid; gap: 12px; margin-top: 28px; }

.dash { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px; padding: 18px; backdrop-filter: blur(8px); box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.dash-top { display: flex; gap: 6px; margin-bottom: 14px; }
.dash-top i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.dash-kpis div { background: rgba(255, 255, 255, .07); border-radius: 12px; padding: 10px; }
.dash-kpis small { display: block; font-size: .7rem; color: #9fb3d9; }
.dash-kpis strong { font-size: 1.15rem; color: #fff; }
.dash-chart { width: 100%; height: auto; display: block; }
.dash-note { margin: 8px 0 0; font-size: .7rem; color: #8196c2; text-align: right; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes grid-drift { to { transform: translate3d(-12px, 8px, 0); } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: #fff; }
.section-dark .eyebrow { color: var(--blue-light); }
.section-head { max-width: 680px; margin: 0 auto 40px; text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-dark .section-head p:last-child { color: #b6c4e3; }

/* About */
.about-grid { display: grid; gap: 24px; }
.stat-row { display: grid; gap: 16px; margin-top: 24px; }
.stat-row li { display: flex; align-items: center; gap: 14px; }
.stat-row strong { font-size: 2rem; color: var(--blue); min-width: 56px; }
.stat-row span { color: var(--muted); font-size: .95rem; }

/* Icons */
.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 40px; height: 40px; }

/* Service cards */
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card .icon { display: block; box-sizing: content-box; padding: 12px; margin-bottom: 14px; border-radius: 12px; background: #e8efff; color: var(--blue); transition: background .25s, color .25s; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9d8fb; }
.card:hover .icon { background: var(--blue); color: #fff; }

/* Industries */
.industry-grid { display: grid; gap: 20px; }
.industry { background: linear-gradient(160deg, var(--navy-800), #174c52); color: #fff; border-radius: var(--radius); padding: 32px 24px; box-shadow: var(--shadow-lg); }
.industry .icon { color: var(--blue-light); margin-bottom: 12px; }
.industry .muted { color: #a9bbdf; }
.ticks { display: grid; gap: 12px; margin-top: 16px; }
.ticks li { display: flex; gap: 10px; color: #dbe5fa; }
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 2px; fill: none; stroke: var(--blue-light); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why-grid { display: grid; gap: 16px; }
.why { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; transition: background .25s, transform .25s; }
.why:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.why .icon { color: var(--blue-light); margin-bottom: 10px; }
.why p { margin: 0; color: #b6c4e3; font-size: .95rem; }

/* Process */
.steps { display: grid; gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step p { margin: 0; color: var(--muted); }
.num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff; font-weight: 800; }

/* Team */
.team-grid { display: grid; gap: 20px; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); }
.avatar { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--navy-700), var(--blue)); color: #fff; font-size: 1.8rem; font-weight: 800; }
.member h3 { margin-bottom: 2px; }

/* Testimonials */
.quote-grid { display: grid; gap: 20px; margin-bottom: 20px; }
.quote { margin: 0; background: var(--bg-alt); border-left: 4px solid var(--blue); border-radius: var(--radius); padding: 28px 24px; }
.quote p { font-size: 1.05rem; font-style: italic; }
.quote footer { color: var(--muted); font-size: .9rem; font-weight: 600; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--blue), #1d4ed8 60%, var(--navy-700)); color: #fff; padding: 64px 0; text-align: center; }
.cta-inner { max-width: 760px; }
.cta p { color: #dbe7ff; font-size: 1.05rem; margin-bottom: 24px; }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
.contact-list { display: grid; gap: 12px; margin: 20px 0 8px; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--blue); }
.contact-list a { text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--blue); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e8efff; color: var(--blue); transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #cfd9ee; border-radius: 12px; font: 1rem var(--font); color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .18); }
.field.invalid input, .field.invalid textarea { border-color: #d92d4a; }
.err { display: block; min-height: 1.2em; margin-top: 4px; color: #d92d4a; font-size: .85rem; }
.form-status { margin: 14px 0 0; font-weight: 600; text-align: center; }
.form-status.ok { color: #12803c; }
.form-status.bad { color: #d92d4a; }

/* Footer */
.footer { background: var(--navy-900); color: #b6c4e3; padding-top: 56px; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 36px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer ul a:hover { color: #fff; }
.footer .social a { background: rgba(255, 255, 255, .08); color: #d6e0f5; }
.footer .social a:hover { background: var(--blue); color: #fff; }
.footer .small { margin-top: 12px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 12px 28px rgba(37, 99, 235, .3); }
  .btn-wa:hover { background: #52df88; box-shadow: 0 10px 24px rgba(37, 211, 102, .24); }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  .container { padding-inline: 24px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .btn-row { grid-template-columns: repeat(2, auto); justify-content: start; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(3, 1fr); }
  .stat-row li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  h1 { font-size: 3.8rem; }
  h2 { font-size: 2.5rem; }
  .nav-toggle { display: none; }
  .nav-menu { position: static; display: flex; flex-direction: row; align-items: center; gap: 4px; padding: 0; background: none; border: 0; }
  .nav-menu a { padding: 8px 12px; font-size: .95rem; }
  .nav-menu .nav-cta { margin: 0 0 0 8px; padding: 8px 20px; }

  .hero { padding: 96px 0 112px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; }
  .about-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .section { padding: 96px 0; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .industry { padding: 40px 36px; }
  .why-grid, .team-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -20px; width: 20px; border-top: 2px dashed #b8c9f2; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
  .form { padding: 32px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.3fr 1fr; }
}

@media (min-width: 1280px) {
  .container { max-width: 1240px; }
  .cards { gap: 22px; }
}

/* Very small phones */
@media (max-width: 359px) {
  .logo-text { font-size: 1rem; }
  .dash-kpis strong { font-size: 1rem; }
}

/* Government-portal-inspired theme */
.site-header { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(16, 43, 76, .08); }
.site-header::before { display: block; height: 4px; content: ""; background: #e49a22; }
.logo { color: var(--navy-800); }
.logo b { color: #a6312e; }
.nav-toggle span { background: var(--navy-800); }
.nav-menu { background: #fff; border-bottom-color: var(--line); }
.nav-menu a { color: var(--ink); }
.nav-menu a:hover, .nav-menu a.active { color: var(--blue); }
.nav-menu a.active:not(.btn) { color: #a6312e; }
.nav-menu .nav-cta { background: var(--blue); color: #fff; }

.hero { background: var(--navy-800); border-bottom: 5px solid #e49a22; }
.grid-art { color: rgba(255, 255, 255, .09); }
.hero .eyebrow, .section-dark .eyebrow { color: #f0b43c; }
.grad { background: none; color: #f0b43c; }
.btn { border-radius: 4px; }
.btn-primary { background: var(--blue); box-shadow: none; }
.btn-primary:hover { background: #0f3766; }
.btn-ghost { border-color: rgba(255, 255, 255, .65); }

.section-alt { background: var(--bg-alt); }
.card, .step, .member, .form { border-radius: 4px; box-shadow: var(--shadow); }
.card .icon { border-radius: 4px; background: #e8edf2; color: var(--blue); }
.card:hover { border-color: #9eafc1; }
.industry { background: #fff; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid #39815d; border-radius: 4px; box-shadow: var(--shadow); }
.industry .icon { color: #39815d; }
.industry .muted, .ticks li { color: var(--muted); }
.ticks svg { stroke: #39815d; }
.section-dark { background: var(--navy-800); }
.why { border-radius: 4px; background: rgba(255, 255, 255, .06); }
.why .icon { color: #f0b43c; }
.num { border-radius: 4px; background: var(--blue); }
.avatar { border-radius: 4px; background: var(--navy-800); }
.quote { border-left-color: #e49a22; border-radius: 4px; }
.cta { background: var(--blue); border-top: 5px solid #e49a22; }
.btn-light { border-radius: 4px; }
.social a { border-radius: 4px; background: #e8edf2; color: var(--blue); }
.social a:hover, .footer .social a:hover { background: var(--blue); }
.field input, .field textarea { border-radius: 4px; border-color: #bdc7d1; }
.field input:focus, .field textarea:focus { box-shadow: 0 0 0 3px rgba(22, 75, 135, .14); }
.footer { background: var(--navy-900); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .grid-art { animation: none; }
}
