/* ==========================================================================
   NameeTech Consultancy — main stylesheet
   Brand colours, fonts and spacing live in the :root variables below.
   ========================================================================== */

:root {
  --navy-950: #060f24;
  --navy-900: #0a1a3a;
  --navy-800: #10244d;
  --blue-600: #1f5bff;
  --blue-500: #3b74ff;
  --blue-700: #1238c4;
  --blue-100: #e7eeff;
  --orange-500: #ff6b35;
  --orange-600: #f2551c;
  --orange-400: #ff8a5c;
  --orange-100: #fff0ea;
  --teal-500: #14b8a6;

  --ink: #0f172a;
  --body: #334155;
  --muted: #5b6b84;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --on-dark: #b6c2dc;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 2px 6px rgba(15, 23, 42, .06);
  --shadow: 0 18px 40px -18px rgba(15, 23, 42, .25);
  --shadow-lg: 0 30px 70px -25px rgba(10, 26, 58, .45);

  --container: 1200px;
  --header-h: 78px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--blue-600); color: #fff; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: #fff; color: var(--ink); padding: .7rem 1.1rem; border-radius: 10px; font-weight: 700;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 1rem; }

.icon {
  width: 24px; height: 24px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight-top { padding-top: clamp(2.5rem, 5vw, 4rem); }
.section--dark { background: var(--navy-950); color: var(--on-dark); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 90% 0%, rgba(31, 91, 255, .28), transparent 70%),
              radial-gradient(40% 50% at 0% 100%, rgba(255, 107, 53, .14), transparent 70%);
}
.section--dark > .container { position: relative; }

.section-head { max-width: 740px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.section--dark .section-head p { color: var(--on-dark); }
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head:not(.section-head--left) .eyebrow::after { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--orange-400); }

.text-gradient {
  background: linear-gradient(90deg, #7ea4ff 0%, #b49bff 45%, #ff8a5c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-size: .97rem; font-weight: 700; line-height: 1; white-space: nowrap;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--orange-500); color: #fff; box-shadow: 0 12px 26px -12px rgba(255, 107, 53, .9); }
.btn--accent:hover { background: var(--orange-600); color: #fff; box-shadow: 0 16px 30px -12px rgba(255, 107, 53, .95); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 12px 26px -12px rgba(31, 91, 255, .9); }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { color: #fff; border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .1); }
.btn--outline { color: var(--ink); border-color: var(--line); background: #fff; }
.btn--outline:hover { color: var(--blue-600); border-color: var(--blue-600); }
.btn--white { background: #fff; color: var(--blue-700); }
.btn--white:hover { color: var(--blue-700); background: #f1f5ff; }
.btn--sm { padding: .75rem 1.25rem; font-size: .92rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .93rem; }
.link-arrow .icon { width: 17px; height: 17px; stroke-width: 2.2; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.site-header > .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, .97);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
  border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .35);
}

.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.32rem; font-weight: 800; letter-spacing: -.02em; }
.brand-name span { color: var(--orange-500); }
.brand-tag { font-size: .66rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; opacity: .72; margin-top: .32rem; }
.site-header .brand { color: #fff; }
.is-scrolled .brand, .is-open .brand { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: .2rem; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .95rem; border-radius: 999px;
  color: rgba(255, 255, 255, .86); font-weight: 600; font-size: .96rem;
  transition: color .2s, background-color .2s;
}
.nav-link .icon { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.is-scrolled .nav-link, .is-open .nav-link { color: var(--ink); }
.is-scrolled .nav-link:hover, .is-scrolled .nav-link[aria-current="page"],
.is-open .nav-link:hover, .is-open .nav-link[aria-current="page"] { color: var(--blue-600); background: var(--blue-100); }

.submenu-toggle { display: none; }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: 580px; padding: .8rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .2rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dropdown a {
  display: flex; align-items: center; gap: .8rem;
  padding: .65rem .75rem; border-radius: 12px;
  color: var(--ink); font-weight: 600; font-size: .93rem;
}
.dropdown a:hover { background: var(--bg-soft); color: var(--blue-600); }
.dd-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600);
  transition: background-color .2s, color .2s;
}
.dd-icon .icon { width: 20px; height: 20px; }
.dropdown a:hover .dd-icon { background: var(--blue-600); color: #fff; }
.dropdown .dd-all { grid-column: 1 / -1; justify-content: center; margin-top: .3rem; background: var(--bg-soft); color: var(--blue-600); }
.dropdown .dd-all .icon { width: 17px; height: 17px; }

@media (min-width: 992px) {
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .has-dropdown:hover > .nav-link .icon,
  .has-dropdown:focus-within > .nav-link .icon { transform: rotate(180deg); }
}

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 12px;
  background: rgba(255, 255, 255, .1); cursor: pointer; padding: 0;
}
.nav-toggle .bar {
  position: absolute; left: 13px; width: 20px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .25s, opacity .2s, top .25s;
}
.nav-toggle .bar:nth-child(2) { top: 16px; }
.nav-toggle .bar:nth-child(3) { top: 22px; }
.nav-toggle .bar:nth-child(4) { top: 28px; }
.is-scrolled .nav-toggle, .is-open .nav-toggle { background: var(--bg-soft); }
.is-scrolled .nav-toggle .bar, .is-open .nav-toggle .bar { background: var(--ink); }
.is-open .nav-toggle .bar:nth-child(2) { top: 22px; transform: rotate(45deg); }
.is-open .nav-toggle .bar:nth-child(3) { opacity: 0; }
.is-open .nav-toggle .bar:nth-child(4) { top: 22px; transform: rotate(-45deg); }

/* ---------- Shared dark hero background ---------- */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--navy-950); color: var(--on-dark); }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 65% at 82% 18%, rgba(31, 91, 255, .5), transparent 65%),
    radial-gradient(40% 55% at 8% 95%, rgba(255, 107, 53, .22), transparent 65%),
    radial-gradient(35% 40% at 40% 0%, rgba(124, 92, 255, .22), transparent 70%);
}
.hero::after, .page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 25%, transparent 80%);
}
.hero > .container, .page-hero > .container { position: relative; z-index: 1; }

/* ---------- Home hero ---------- */
.hero { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(8rem, 12vw, 10rem); }
.hero > .container { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 580px; color: var(--on-dark); }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .42rem 1rem .42rem .5rem; margin-bottom: 1.6rem;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .06);
  color: #dbe4ff; font-size: .86rem; font-weight: 600;
}
.hero-badge .pulse {
  position: relative; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(20, 184, 166, .18);
}
.hero-badge .pulse::after {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal-500);
  box-shadow: 0 0 0 0 rgba(20, 184, 166, .7); animation: pulse 2.2s infinite;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: .5rem; font-size: .93rem; font-weight: 600; color: #dbe4ff; }
.hero-points .icon { width: 18px; height: 18px; color: var(--teal-500); stroke-width: 2.4; }

.hero-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin-inline: auto; }
.orbit { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(148, 175, 255, .3); }
.orbit--1 { width: 100%; height: 100%; animation: spin 70s linear infinite; }
.orbit--2 { width: 72%; height: 72%; border-style: solid; border-color: rgba(148, 175, 255, .16); animation: spin 45s linear infinite reverse; }
.orbit--3 { width: 46%; height: 46%; border-color: rgba(255, 138, 92, .35); animation: spin 30s linear infinite; }
.orbit i { position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 16px 3px rgba(59, 116, 255, .8); }
.orbit--2 i { top: auto; bottom: -5px; background: var(--orange-500); box-shadow: 0 0 16px 3px rgba(255, 107, 53, .8); }
.orbit--3 i { top: calc(50% - 4px); left: -4px; width: 8px; height: 8px; background: var(--teal-500); box-shadow: 0 0 14px 3px rgba(20, 184, 166, .8); }
.core {
  position: absolute; inset: 0; margin: auto; width: 25%; height: 25%;
  border-radius: 26%; box-shadow: 0 0 0 14px rgba(59, 116, 255, .1), 0 0 0 28px rgba(59, 116, 255, .05), 0 0 90px 10px rgba(59, 116, 255, .55);
  animation: breathe 5s ease-in-out infinite;
}
.core img { width: 100%; height: 100%; }
.chip {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  padding: .55rem 1rem .55rem .55rem; border-radius: 14px;
  background: rgba(16, 36, 77, .72); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: #fff; font-weight: 700; font-size: .88rem; white-space: nowrap;
  box-shadow: 0 16px 36px -16px rgba(0, 0, 0, .6);
  animation: float 6s ease-in-out infinite;
}
.chip-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(59, 116, 255, .22); color: #a9c1ff; }
.chip-icon .icon { width: 19px; height: 19px; }
.chip--orange .chip-icon { background: rgba(255, 107, 53, .2); color: #ffb08f; }
.chip--teal .chip-icon { background: rgba(20, 184, 166, .2); color: #7fe3d6; }
.chip--1 { top: 4%; left: 6%; }
.chip--2 { top: 16%; right: -2%; animation-delay: -1.5s; }
.chip--3 { top: 47%; left: -7%; animation-delay: -3s; }
.chip--4 { top: 56%; right: -6%; animation-delay: -4.5s; }
.chip--5 { bottom: 3%; left: 14%; animation-delay: -2.2s; }
.chip--6 { bottom: 10%; right: 12%; animation-delay: -5.2s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, .7); } 70% { box-shadow: 0 0 0 10px rgba(20, 184, 166, 0); } 100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); } }

/* ---------- Highlights (stats) ---------- */
.highlights { position: relative; z-index: 2; margin-top: clamp(-6.5rem, -9vw, -5rem); }
.highlights-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  padding: clamp(1.5rem, 3vw, 2.2rem) .5rem;
}
.stat { text-align: center; padding: .4rem 1rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value {
  display: block; font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  background: linear-gradient(135deg, var(--blue-600), #7c5cff 60%, var(--orange-500));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-label { display: block; margin-top: .35rem; font-size: .92rem; font-weight: 600; color: var(--muted); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.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: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }

.icon-box {
  width: 56px; height: 56px; border-radius: 15px; margin-bottom: 1.35rem;
  display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600);
  transition: background-color .3s, color .3s, transform .3s;
}
.icon-box .icon { width: 27px; height: 27px; }
.icon-box--orange { background: var(--orange-100); color: var(--orange-500); }
.icon-box--teal { background: #e6f8f6; color: #0d9488; }

.service-card { display: flex; flex-direction: column; }
.service-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card:hover .icon-box { background: var(--blue-600); color: #fff; transform: rotate(-6deg); }
.service-card .link-arrow { margin-top: auto; padding-top: .4rem; }
.service-card .link-arrow::before { content: ""; position: absolute; inset: 0; }

/* ---------- Split / why us ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split--top { align-items: start; }
.check-list { list-style: none; display: grid; gap: .9rem; margin: 1.6rem 0 2.2rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--ink); font-weight: 600; }
.check-list .icon {
  width: 24px; height: 24px; padding: 5px; margin-top: 1px; border-radius: 50%;
  background: var(--teal-500); color: #fff; stroke-width: 3;
}
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.feature h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .94rem; margin: 0; }
.feature .icon-box { width: 50px; height: 50px; margin-bottom: 1.1rem; border-radius: 13px; }
.feature .icon-box .icon { width: 24px; height: 24px; }
@media (min-width: 641px) {
  .feature-grid--stagger .feature:nth-child(even) { position: relative; top: 2.2rem; }
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; list-style: none; }
.step {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  transition: background-color .3s, border-color .3s, transform .3s;
}
.step:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); transform: translateY(-4px); }
.step-num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.3rem;
  border-radius: 14px; font-size: 1.05rem; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), #7c5cff);
  box-shadow: 0 12px 26px -12px rgba(31, 91, 255, .9);
}
.step:nth-child(even) .step-num { background: linear-gradient(135deg, var(--orange-500), #ff4f7b); box-shadow: 0 12px 26px -12px rgba(255, 107, 53, .9); }
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; font-size: .95rem; color: var(--on-dark); }
.steps--light .step { background: #fff; border-color: var(--line); }
.steps--light .step:hover { background: #fff; border-color: transparent; box-shadow: var(--shadow); }
.steps--light .step p { color: var(--muted); }

/* ---------- Engagement models ---------- */
.model {
  display: flex; flex-direction: column; padding: clamp(1.8rem, 3vw, 2.4rem);
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  transition: transform .3s, box-shadow .3s;
}
.model:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.model-tag {
  align-self: flex-start; margin-bottom: 1.2rem; padding: .35rem .8rem; border-radius: 999px;
  font-size: .76rem; font-weight: 700; letter-spacing: .04em; background: var(--blue-100); color: var(--blue-700);
}
.model h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.model > p { color: var(--muted); }
.model .check-list { margin: .6rem 0 1.8rem; gap: .7rem; }
.model .check-list li { font-weight: 500; font-size: .95rem; }
.model .check-list .icon { width: 22px; height: 22px; padding: 4px; background: var(--blue-100); color: var(--blue-600); }
.model .btn { margin-top: auto; }
.model--featured {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); border-color: transparent;
  color: var(--on-dark); box-shadow: var(--shadow-lg);
}
.model--featured h3, .model--featured .check-list li { color: #fff; }
.model--featured > p { color: var(--on-dark); }
.model--featured .model-tag { background: rgba(255, 107, 53, .18); color: #ffb08f; }
.model--featured .check-list .icon { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; }
.industry {
  display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); font-weight: 700; font-size: .96rem; line-height: 1.3;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.industry:hover { transform: translateY(-4px); border-color: var(--blue-600); box-shadow: var(--shadow-sm); }
.industry .icon-box { width: 46px; height: 46px; margin: 0; border-radius: 12px; flex-shrink: 0; }
.industry .icon-box .icon { width: 23px; height: 23px; }
.industry:hover .icon-box { background: var(--blue-600); color: #fff; }

/* ---------- CTA band ---------- */
.cta-wrap { padding: 0 0 clamp(4.5rem, 9vw, 7rem); }
.section--soft + .cta-wrap, .cta-wrap--soft { background: var(--bg-soft); }
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.5fr auto; gap: 2rem; align-items: center;
  padding: clamp(2.4rem, 6vw, 4.2rem); border-radius: 28px;
  background: linear-gradient(120deg, var(--blue-600) 0%, var(--blue-700) 55%, #0c237a 100%);
  color: #dbe4ff; box-shadow: var(--shadow-lg);
}
.cta::before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, .55), transparent 65%);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .5rem; }
.cta p { margin: 0; font-size: 1.06rem; max-width: 640px; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; align-items: stretch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93a3c3; padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand p { max-width: 340px; margin: 1.2rem 0 1.4rem; }
.site-footer h2 { color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links { list-style: none; display: grid; gap: .65rem; }
.footer-links a { color: #93a3c3; }
.footer-links a:hover { color: #fff; }
.footer-email { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; }
.footer-email .icon { width: 20px; height: 20px; color: var(--orange-400); }
.footer-email:hover { color: var(--orange-400); }
.footer-cta p { margin-bottom: 1.2rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem;
  padding: 1.5rem 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .88rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #93a3c3; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(3.5rem, 7vw, 5rem)) 0 clamp(4rem, 8vw, 5.5rem); text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 860px; margin: 0 auto .45em; }
.page-hero p { max-width: 660px; margin: 0 auto; font-size: clamp(1.02rem, 1.5vw, 1.15rem); }
.page-hero p a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.page-hero p a:hover { color: var(--orange-400); }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; list-style: none; margin-bottom: 1.4rem; font-size: .88rem; color: #8ea0c4; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { color: #c7d2fe; }
.breadcrumb a:hover { color: #fff; }
.page-hero .hero-actions { justify-content: center; }

/* ---------- Services page ---------- */
.service-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; list-style: none; margin-top: 2.2rem; }
.service-pills a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
  color: #dbe4ff; font-size: .88rem; font-weight: 600;
}
.service-pills a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.service-pills .icon { width: 16px; height: 16px; }

.service-detail {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: start;
  padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.service-detail:first-child { padding-top: 0; }
.service-detail:last-child { border-bottom: 0; padding-bottom: 0; }
.service-detail h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.service-detail .lead { margin-bottom: 1.6rem; }
.service-detail .btn { margin-top: .5rem; }
.service-num { font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--orange-500); margin-left: .2rem; }
.service-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.service-title .icon-box { margin: 0; }
.deliver-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.6rem, 3vw, 2.2rem); }
.deliver-box h3 { font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.deliver-box .check-list { margin: 0 0 1.6rem; gap: .75rem; }
.deliver-box .check-list li { font-weight: 500; font-size: .97rem; }
.deliver-box .check-list .icon { width: 22px; height: 22px; padding: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.tag { padding: .38rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 600; color: var(--ink); }

/* ---------- About page ---------- */
.promise-card {
  position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 2.8rem); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: var(--on-dark); box-shadow: var(--shadow-lg);
}
.promise-card::before {
  content: ""; position: absolute; width: 300px; height: 300px; right: -100px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 91, 255, .55), transparent 65%);
}
.promise-card > * { position: relative; }
.promise-card blockquote { margin: 0 0 1.8rem; font-size: clamp(1.25rem, 2.3vw, 1.6rem); font-weight: 700; line-height: 1.4; color: #fff; letter-spacing: -.01em; }
.promise-card blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .8; color: var(--orange-500); margin-bottom: .2rem; }
.promise-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.promise-list li { display: flex; align-items: center; gap: .55rem; font-size: .93rem; font-weight: 600; color: #dbe4ff; }
.promise-list .icon { width: 18px; height: 18px; color: var(--teal-500); stroke-width: 2.4; }
.mv-card { padding: clamp(2rem, 4vw, 2.6rem); border-radius: 22px; border: 1px solid var(--line); background: #fff; }
.mv-card .icon-box { margin-bottom: 1.2rem; }
.mv-card h3 { font-size: 1.45rem; }
.mv-card p { margin: 0; font-size: 1.04rem; color: var(--muted); }

/* ---------- Careers page ---------- */
.role-card { display: flex; flex-direction: column; }
.role-card h3 { font-size: 1.15rem; }
.role-card .tags { margin: .4rem 0 1.4rem; }
.role-card .tag { background: var(--bg-soft); }
.role-card .link-arrow { margin-top: auto; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(1.75rem, 4vw, 2.75rem); align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.6rem, 4vw, 2.8rem); }
.form-card h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-bottom: .35rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.15rem; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field label .req { color: var(--orange-500); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcfe;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.6rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b84' stroke-width='2' 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 1rem center; background-size: 18px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #cbd5e1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px rgba(31, 91, 255, .12);
}
.consent { display: flex; gap: .7rem; align-items: flex-start; margin: .4rem 0 1.6rem; font-size: .9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: .2rem; flex-shrink: 0; accent-color: var(--blue-600); }
.form-note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.hidden { display: none !important; }

.info-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(1.8rem, 3.5vw, 2.4rem); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: var(--on-dark); }
.info-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 53, .4), transparent 65%); }
.info-card > * { position: relative; }
.info-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: 1.4rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.info-item:first-of-type { border-top: 0; padding-top: 0; }
.info-item .icon-box { width: 46px; height: 46px; margin: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--orange-400); }
.info-item .icon-box .icon { width: 22px; height: 22px; }
.info-item h3 { color: #fff; font-size: 1rem; margin-bottom: .2rem; }
.info-item p { margin: 0; font-size: .94rem; }
.info-item a { color: #fff; font-weight: 700; word-break: break-word; }
.info-item a:hover { color: var(--orange-400); }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: .9rem; margin-top: .6rem; }
.next-steps li { counter-increment: ns; display: flex; gap: .8rem; align-items: flex-start; font-size: .94rem; }
.next-steps li::before {
  content: counter(ns); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 107, 53, .18); color: #ffb08f; font-weight: 800; font-size: .8rem;
}
.side-note { margin-top: 1.25rem; padding: 1.25rem 1.4rem; border-radius: 18px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .94rem; }
.side-note p { margin: 0; }

/* ---------- Simple pages (thank you / 404) ---------- */
.status-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-bottom: clamp(3rem, 8vw, 5rem); }
.status-hero > .container { width: min(100% - 2.5rem, 720px); }
.status-icon {
  width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 1.8rem; display: grid; place-items: center;
  background: rgba(20, 184, 166, .16); color: var(--teal-500); box-shadow: 0 0 0 12px rgba(20, 184, 166, .06);
}
.status-icon .icon { width: 42px; height: 42px; stroke-width: 2.2; }
.status-code { font-size: clamp(5rem, 16vw, 8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; margin-bottom: .5rem; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose .updated { color: var(--muted); font-size: .95rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1140px) {
  .nav { gap: 1rem; }
  .nav-link { padding: .55rem .7rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-cta { grid-column: 1 / -1; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .chip { font-size: .82rem; }
}

@media (max-width: 991px) {
  :root { --header-h: 70px; }

  .nav-toggle { display: block; }
  /* backdrop-filter would trap the fixed menu panel inside the header, so drop it while open */
  .site-header.is-open { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.2rem 1.25rem 2rem; background: #fff; overflow-y: auto;
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .is-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-list > li { flex-wrap: wrap; }
  .nav-link { flex: 1; color: var(--ink); padding: .9rem 1rem; border-radius: 12px; font-size: 1.05rem; }
  .has-dropdown > .nav-link .icon { display: none; }
  .submenu-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 12px;
    background: var(--bg-soft); color: var(--ink); cursor: pointer;
  }
  .submenu-toggle .icon { width: 20px; height: 20px; transition: transform .2s; }
  .has-dropdown.is-open .submenu-toggle .icon { transform: rotate(180deg); }
  .dropdown {
    position: static; width: 100%; flex-basis: 100%; grid-template-columns: 1fr;
    padding: .3rem 0 .5rem .6rem; border: 0; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open .dropdown { display: grid; }
  .nav-cta { width: 100%; padding: 1rem; }

  .hero > .container { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { max-width: 440px; margin-top: 1rem; }

  .highlights-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.4rem; }
  .stat:nth-child(3) { border-left: 0; }

  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .service-detail, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta p { margin-inline: auto; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .brand-name { font-size: 1.18rem; }
  .brand img { width: 38px; height: 38px; }
  .grid-2, .grid-3, .grid-4, .feature-grid, .steps, .form-row, .promise-list { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .industry { flex-direction: column; align-items: flex-start; padding: 1rem; font-size: .9rem; }
  .hero-visual { max-width: 340px; }
  .chip { font-size: .74rem; padding: .4rem .7rem .4rem .4rem; gap: .45rem; border-radius: 12px; }
  .chip-icon { width: 26px; height: 26px; border-radius: 8px; }
  .chip-icon .icon { width: 15px; height: 15px; }
  .chip--3 { left: -2%; }
  .chip--4 { right: -2%; }
  .highlights-grid { padding: 1.4rem .25rem; }
  .stat { padding: .3rem .5rem; }
  .stat-label { font-size: .82rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; }
  .btn { white-space: normal; text-align: center; }
  .hero-actions .btn, .page-hero .hero-actions .btn { width: 100%; }
}

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