/* ==========================================================================
   Aarya Net Solutions — Core Stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0a1a3c;
  --navy-800: #0f2450;
  --navy-700: #163166;
  --navy-600: #1e4285;
  --blue-500: #2563eb;
  --blue-400: #3b82f6;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --accent:   #f59e0b;

  /* Neutrals */
  --ink:       #0f172a;
  --body:      #475569;
  --muted:     #64748b;
  --line:      #e2e8f0;
  --line-soft: #f1f5f9;
  --surface:   #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow:    0 4px 6px -1px rgba(15, 23, 42, .07), 0 2px 4px -2px rgba(15, 23, 42, .05);
  --shadow-md: 0 12px 20px -8px rgba(15, 23, 42, .12), 0 4px 8px -4px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 48px -16px rgba(10, 26, 60, .18), 0 8px 16px -8px rgba(10, 26, 60, .08);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: var(--blue-500); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy-700); }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.022em;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.1vw, 3.65rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.55rem); }
h3 { font-size: clamp(1.2rem, 1.08rem + .5vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Utilities ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--alt { background: var(--surface-2); }
.section--ink { background: var(--navy-900); }
.center { text-align: center; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-900); color: #fff; padding: .8rem 1.4rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Section heading block ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
}
.eyebrow--center { justify-content: center; }
.section-head { max-width: 760px; margin-bottom: 3.25rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin-top: 1rem; }
.section--ink .section-head h2 { color: #fff; }
.section--ink .section-head p { color: rgba(255,255,255,.72); }
.section--ink .eyebrow { color: var(--cyan-400); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.9rem;
  font-size: .97rem; font-weight: 600; letter-spacing: -.005em;
  border: 1px solid transparent; border-radius: 10px;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--navy-600));
  color: #fff; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, .6);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(37, 99, 235, .65); }
.btn--ghost { background: #fff; color: var(--navy-800); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { color: var(--navy-900); border-color: #cbd5e1; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn--light:hover { background: rgba(255,255,255,.18); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy-900); }
.btn--white:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0,0,0,.4); }
.btn--sm { padding: .68rem 1.3rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--blue-500);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.72);
  font-size: .84rem; padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.topbar__list { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.topbar__list li { display: flex; align-items: center; gap: .45rem; }
.topbar__list svg { width: 14px; height: 14px; color: var(--cyan-400); flex-shrink: 0; }
.topbar a { color: rgba(255,255,255,.78); }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.brand { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.16rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; }
.brand__sub { font-size: .58rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

.nav__menu { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  display: block; padding: .6rem .9rem; border-radius: 8px;
  font-size: .95rem; font-weight: 500; color: var(--navy-800);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: var(--surface-3); color: var(--navy-900); }
.nav__link.is-active { color: var(--blue-500); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

/* Dropdown */
.has-drop { position: relative; }
.has-drop > .nav__link { display: flex; align-items: center; gap: .35rem; }
.has-drop > .nav__link svg { width: 12px; height: 12px; transition: transform .2s var(--ease); }
.has-drop:hover > .nav__link svg, .has-drop:focus-within > .nav__link svg { transform: rotate(180deg); }
.drop {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px);
  min-width: 320px; padding: .55rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.drop a {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .6rem .7rem; border-radius: 9px; color: var(--navy-800);
  transition: background-color .18s var(--ease);
}
.drop a:hover { background: var(--surface-2); }
.drop__ico {
  width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 8px; background: linear-gradient(135deg, #eff6ff, #e0f2fe); color: var(--blue-500);
}
.drop__ico svg { width: 16px; height: 16px; }
.drop strong { display: block; font-size: .92rem; font-weight: 600; color: var(--navy-900); line-height: 1.4; }
.drop small { display: block; font-size: .79rem; color: var(--muted); line-height: 1.45; }

/* Mobile toggle */
.nav__toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
}
.nav__toggle span {
  display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 2px;
  background: var(--navy-900); transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-900) 0%, var(--navy-800) 45%, #12356e 100%);
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(4.5rem, 9vw, 8rem);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(680px 420px at 82% 12%, rgba(34, 211, 238, .20), transparent 62%),
    radial-gradient(560px 400px at 8% 88%, rgba(37, 99, 235, .28), transparent 60%);
  pointer-events: none;
}
.hero::before {
  background-image:
    radial-gradient(680px 420px at 82% 12%, rgba(34, 211, 238, .20), transparent 62%),
    radial-gradient(560px 400px at 8% 88%, rgba(37, 99, 235, .28), transparent 60%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}
/* Abstract network artwork — original vector, ~1.4 KB, no licensing, no photo weight */
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../img/hero-network.svg') no-repeat center center / 118% auto;
  opacity: .5;
  mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, #000 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 50% 45%, #000 25%, transparent 85%);
}
@media (max-width: 1024px) {
  .hero::after { background-size: 150% auto; opacity: .32; }
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--cyan-400), #7dd3fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); color: rgba(255,255,255,.8); max-width: 56ch; margin-bottom: 2.2rem; }
.hero__pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem 1rem .45rem .5rem; margin-bottom: 1.6rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px; font-size: .85rem; color: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
}
.hero__pill b {
  padding: .18rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  background: var(--cyan-400); color: var(--navy-900);
}
.hero__trust { margin-top: 2.6rem; padding-top: 1.9rem; border-top: 1px solid rgba(255,255,255,.13); }
.hero__trust p { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .9rem; }
.hero__trust ul { display: flex; flex-wrap: wrap; gap: .55rem; }
.hero__trust li {
  padding: .4rem .9rem; border-radius: 8px; font-size: .84rem; font-weight: 500;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.82);
}

/* Hero visual card */
.hero__panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,.55);
}
.hero__panel h2 { color: #fff; font-size: 1.06rem; margin-bottom: 1.2rem; display: flex; align-items: center; gap: .55rem; }
.hero__panel h2 svg { width: 18px; height: 18px; color: var(--cyan-400); }
.hero__stack { display: grid; gap: .6rem; }
.hero__row {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem; border-radius: 11px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.hero__row:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.hero__row .ico {
  width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px;
  background: linear-gradient(135deg, rgba(34,211,238,.22), rgba(37,99,235,.22));
  color: var(--cyan-400);
}
.hero__row .ico svg { width: 17px; height: 17px; }
.hero__row div { min-width: 0; }
.hero__row strong { display: block; font-size: .93rem; font-weight: 600; color: #fff; }
.hero__row small { display: block; font-size: .79rem; color: rgba(255,255,255,.6); }

/* ---------- Optional hero photograph ----------
   The hero works with no image at all. To add one, drop a file at
   assets/img/hero.jpg (see IMAGES.md for size/optimisation) and add the
   class "hero--photo" to the <section class="hero"> element. The gradient
   stays on top as a scrim so white text keeps its contrast either way.
   Remove the class and the site is exactly as it is now — no other change. */
.hero--photo::before {
  background-image:
    linear-gradient(150deg, rgba(10,26,60,.94) 0%, rgba(15,36,80,.88) 45%, rgba(18,53,110,.86) 100%),
    image-set(url('../img/hero.avif') type('image/avif'),
              url('../img/hero.webp') type('image/webp'),
              url('../img/hero.jpg')  type('image/jpeg'));
  background-size: cover;
  background-position: center;
}
.hero--photo::after { opacity: .14; }

/* Optional section photograph — same idea, for any .section */
.section--photo { position: relative; isolation: isolate; }
.section--photo > .wrap { position: relative; z-index: 1; }
.section--photo::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .07;
}

/* Content image: rounded, shadowed, never overflows its column */
.figure {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
  background: var(--surface-3);
}
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure--4x3 { aspect-ratio: 4 / 3; }
.figure--16x9 { aspect-ratio: 16 / 9; }
.figure--square { aspect-ratio: 1 / 1; }
.figure figcaption {
  padding: .75rem 1rem; font-size: .86rem; color: var(--muted); background: #fff;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: #fff; padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 320px at 78% 18%, rgba(34,211,238,.18), transparent 62%),
    radial-gradient(500px 320px at 14% 84%, rgba(37,99,235,.26), transparent 60%);
}
/* Same network motif as the home hero, so inner pages feel part of one system */
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../img/hero-network.svg') no-repeat center center / 130% auto;
  opacity: .38;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 80%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; color: rgba(255,255,255,.76); max-width: 68ch; margin-inline: auto; }
.crumbs {
  display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .85rem; color: rgba(255,255,255,.55); margin-top: 1.6rem;
}
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .45; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  margin-top: -4.5rem; position: relative; z-index: 5;
}
.stats > div { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--line-soft); }
.stats > div:last-child { border-right: 0; }
.stats b {
  display: block; font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* label — must be the DIRECT child span, not the counter span inside <b> */
.stats > div > span { display: block; margin-top: .55rem; font-size: .88rem; color: var(--muted); font-weight: 500; }
.stats b > span { font: inherit; color: inherit; display: inline; margin: 0; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 1.6rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform .32s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #cbd5e1; }
.card:hover::before { transform: scaleX(1); }
.card__ico {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(135deg, #eff6ff, #e0f2fe);
  color: var(--blue-500); margin-bottom: 1.3rem;
  transition: background .28s var(--ease), color .28s var(--ease), transform .28s var(--ease);
}
.card__ico svg { width: 24px; height: 24px; }
.card:hover .card__ico {
  background: linear-gradient(135deg, var(--blue-500), var(--navy-600));
  color: #fff; transform: scale(1.06) rotate(-4deg);
}
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .96rem; color: var(--body); }
.card .link-arrow { margin-top: 1.2rem; }

/* Feature list */
.feature {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__ico {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center;
  border-radius: 11px; background: linear-gradient(135deg, #eff6ff, #e0f2fe); color: var(--blue-500);
}
.feature__ico svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.feature p { font-size: .93rem; color: var(--muted); }

/* Checklist */
.checks { display: grid; gap: .9rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; font-size: .97rem; }
.checks svg { width: 21px; height: 21px; flex-shrink: 0; color: var(--cyan-500); margin-top: 2px; }
.checks strong { color: var(--ink); font-weight: 600; }

/* Split (text + panel) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: var(--shadow-md);
}
.panel--ink {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.78);
}
.panel--ink h3, .panel--ink h2 { color: #fff; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 1.4rem; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative; counter-increment: step;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 1.6rem 1.7rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before {
  content: '0' counter(step);
  position: absolute; top: -18px; left: 1.6rem;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 12px; font-size: .95rem; font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); color: #fff;
  box-shadow: 0 8px 18px -8px rgba(37,99,235,.7);
}
.step h3 { font-size: 1.08rem; margin: .6rem 0 .5rem; }
.step p { font-size: .93rem; color: var(--muted); }

/* Industries */
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.chip {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: .96rem; color: var(--navy-900);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.chip svg { width: 21px; height: 21px; color: var(--blue-500); flex-shrink: 0; }

/* Quote */
.quote {
  position: relative; max-width: 820px; margin-inline: auto; text-align: center;
  padding: 2.5rem 1rem 0;
}
.quote__mark {
  font-size: 5rem; line-height: .6; font-weight: 800; color: var(--cyan-400); opacity: .55;
  font-family: Georgia, serif;
}
.quote blockquote {
  font-size: clamp(1.35rem, 1.05rem + 1.2vw, 1.95rem); font-weight: 600;
  line-height: 1.42; letter-spacing: -.02em; color: #fff; margin: 1.2rem 0 1.6rem;
}
.quote cite { display: block; font-style: normal; font-size: .92rem; color: rgba(255,255,255,.6); }

/* Tech tags */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tags li {
  padding: .45rem 1rem; border-radius: 999px; font-size: .87rem; font-weight: 500;
  background: var(--surface-3); border: 1px solid var(--line); color: var(--navy-800);
}

/* Accordion (FAQ) */
.faq { display: grid; gap: .85rem; max-width: 860px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: #cbd5e1; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.02rem; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 11px; height: 11px; flex-shrink: 0;
  border-right: 2px solid var(--blue-500); border-bottom: 2px solid var(--blue-500);
  transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq .faq__body { padding: 0 1.5rem 1.4rem; font-size: .97rem; color: var(--body); }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(130deg, var(--navy-900), var(--navy-600));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.6rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 300px at 88% 10%, rgba(34,211,238,.24), transparent 60%),
    radial-gradient(420px 280px at 6% 92%, rgba(37,99,235,.3), transparent 60%);
}
.cta::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: url('../img/hero-network.svg') no-repeat right -10% center / 55% auto;
  opacity: .3;
  mask-image: linear-gradient(90deg, transparent 25%, #000 70%);
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 70%);
}
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: center; }
.cta h2 { color: #fff; margin-bottom: .75rem; }
.cta p { color: rgba(255,255,255,.78); max-width: 60ch; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.info-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.4rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); margin-bottom: 1rem;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.info-card__ico {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); color: #fff;
}
.info-card__ico svg { width: 20px; height: 20px; }
.info-card h3 { font-size: .8rem; letter-spacing: .11em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: .35rem; }
.info-card p, .info-card address { font-size: .97rem; font-style: normal; color: var(--ink); line-height: 1.6; }
.info-card a { font-weight: 600; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy-900); }
.field label .req { color: #dc2626; }
.field input, .field select, .field textarea {
  width: 100%; padding: .78rem .95rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px;
  font-size: .96rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center; padding-right: 2.5rem;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .84rem; color: var(--muted); margin-top: 1rem; }

.alert { padding: 1rem 1.2rem; border-radius: 11px; font-size: .95rem; margin-bottom: 1.5rem; border: 1px solid; }
.alert--ok  { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.alert--err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert strong { display: block; margin-bottom: .2rem; }

.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); line-height: 0;
}
.map-embed iframe { width: 100%; height: 380px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.62); font-size: .94rem; }
.site-footer__top { padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer h4 {
  color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 1.15rem;
}
.site-footer a { color: rgba(255,255,255,.62); }
.site-footer a:hover { color: var(--cyan-400); }
.site-footer ul { display: grid; gap: .65rem; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: rgba(255,255,255,.45); }
.site-footer .brand { margin-bottom: 1.2rem; }
.foot-contact { display: grid; gap: .9rem; }
.foot-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.foot-contact svg { width: 16px; height: 16px; color: var(--cyan-400); flex-shrink: 0; margin-top: 4px; }
.foot-contact address { font-style: normal; line-height: 1.6; }
.site-footer__bar {
  border-top: 1px solid rgba(255,255,255,.09); padding: 1.4rem 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .87rem; color: rgba(255,255,255,.45);
}
.site-footer__bar ul { display: flex; gap: 1.4rem; }

/* Back to top */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue-500); }
.to-top svg { width: 19px; height: 19px; }

/* ==========================================================================
   Article body (service detail pages)
   ========================================================================== */
.prose h2 { margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.9rem 0 .7rem; }
.prose p { font-size: 1.02rem; }
.prose > ul { display: grid; gap: .75rem; margin: 0 0 1.4rem; }
.prose > ul li { position: relative; padding-left: 1.7rem; font-size: 1rem; }
.prose > ul li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
}
.prose strong { color: var(--ink); font-weight: 600; }

.side-nav { position: sticky; top: 100px; display: grid; gap: .3rem; }
.side-nav h4 { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.side-nav a {
  display: block; padding: .68rem .9rem; border-radius: 9px;
  font-size: .94rem; font-weight: 500; color: var(--navy-800);
  border-left: 3px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.side-nav a:hover { background: var(--surface-3); }
.side-nav a.is-active {
  background: #eff6ff; border-left-color: var(--blue-500); color: var(--blue-500); font-weight: 600;
}
.detail-grid { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 560px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .chips { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(2) { border-right: 0; }
  .stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .detail-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; flex-wrap: wrap; }
  .side-nav h4 { width: 100%; }
  .side-nav a { border-left: 0; border-bottom: 3px solid transparent; }
  .side-nav a.is-active { border-left: 0; border-bottom-color: var(--blue-500); }
}

@media (max-width: 900px) {
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: .15rem;
    padding: 1rem 1.25rem 1.75rem;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 76dvh; overflow-y: auto;
    transform: translateY(-14px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav__link { padding: .8rem .9rem; font-size: 1rem; }
  .nav__toggle { display: block; }
  .nav__actions .btn { display: none; }
  .drop {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; box-shadow: none; border: 0; border-left: 2px solid var(--line);
    border-radius: 0; margin: .2rem 0 .5rem .9rem; padding: 0 0 0 .4rem;
    display: none;
  }
  /* Beat the desktop :hover / :focus-within rules, which would otherwise
     re-apply translate(-50%, 0) and push the panel off-screen on touch. */
  .has-drop:hover .drop,
  .has-drop:focus-within .drop { transform: none; position: static; }
  .has-drop.is-open .drop { display: block; }
  .has-drop > .nav__link { justify-content: space-between; }
  .drop a { padding: .7rem .6rem; }
  .drop__ico { display: none; }
  .drop strong { font-size: .95rem; }
  .drop small { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__list li.hide-sm { display: none; }
  .split, .split--wide-left, .contact-grid, .cta__inner { grid-template-columns: 1fr; }
  .cta__inner { text-align: center; }
  .cta .btn-row { justify-content: center; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps--4 { grid-template-columns: 1fr; }
  .chips { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bar { flex-direction: column; text-align: center; align-items: center; }
  .site-footer__bar ul { justify-content: center; flex-wrap: wrap; }
  .stats { grid-template-columns: 1fr; margin-top: -3rem; }
  .stats > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .stats > div:last-child { border-bottom: 0; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero__panel { padding: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .topbar, .to-top, .site-footer, .cta, .nav__toggle { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .hero, .page-hero { background: none !important; color: #000; padding: 1rem 0; }
  .hero h1, .page-hero h1 { color: #000; }
}
