/* ============================================================
   NOESIS CONSULTING — design system
   People • Technology • Transformation
   ============================================================ */

:root {
  /* color */
  --navy-950: #071A33;
  --navy-900: #0B2545;
  --navy-800: #123059;
  --navy-700: #1A3E6E;
  --teal-700: #0F6B7E;
  --teal-600: #15808F;
  --teal-500: #1E9AA8;
  --cyan-400: #3FB9CC;
  --aqua-200: #BFE5EA;
  --aqua-100: #E9F5F7;
  --paper:    #FFFFFF;
  --stone:    #F6F7F5;
  --ink:      #0E2440;
  --slate:    #46566C;
  --muted:    #6B7A8F;
  --line:     #E3E8EE;
  --line-soft:#ECF0F4;

  /* type */
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* rhythm */
  --container: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.05), 0 4px 16px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 2px 4px rgba(11, 37, 69, 0.06), 0 14px 36px rgba(11, 37, 69, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--teal-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

/* ---------- typography ---------- */
h1, h2, h3 { color: var(--ink); }

h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.08;
  text-wrap: balance;
}

h2 { font-size: clamp(2.1rem, 1.35rem + 2.5vw, 3.15rem); }

h1 em, h2 em {
  font-style: normal;
  color: var(--teal-600);
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-600);
  display: flex;
  align-items: center;
  gap: 0.65em;
  margin-bottom: 1.1rem;
}

.dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan-400);
  display: inline-block;
  flex: none;
}

.section__lede {
  max-width: 34em;
  font-size: 1.0625rem;
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
              transform 0.25s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--teal-700);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  border: 1px solid rgba(11, 37, 69, 0.25);
  color: var(--navy-900);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
  background: var(--aqua-100);
}

.btn--sm { padding: 0.7em 1.3em; font-size: 0.875rem; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; }
.brand__logo {
  height: 40px;
  width: auto;
  display: block;
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 1px 24px rgba(11, 37, 69, 0.05);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav__links > a:not(.btn):not(.lang-switch) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
  position: relative;
  padding-block: 0.35em;
  transition: color 0.2s var(--ease);
}
.nav__links > a:not(.btn):not(.lang-switch)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--navy-900), var(--cyan-400));
  transition: right 0.3s var(--ease);
}
.nav__links > a:not(.btn):not(.lang-switch):hover { color: var(--navy-900); }
.nav__links > a:not(.btn):not(.lang-switch):hover::after { right: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  padding: 10px;
  margin-right: -10px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  border-radius: 2px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90rem 46rem at 110% -10%, var(--aqua-100) 0%, transparent 55%),
    linear-gradient(180deg, #FDFDFC 0%, var(--stone) 100%);
}
.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__lines svg {
  position: absolute;
  right: -4%;
  top: 0;
  height: 100%;
  width: min(72vw, 1100px);
  -webkit-mask-image: linear-gradient(100deg, transparent 8%, #000 42%);
  mask-image: linear-gradient(100deg, transparent 8%, #000 42%);
}
.hline {
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: draw 3.8s var(--ease) forwards;
}
.hline:nth-child(2) { animation-delay: 0.15s; }
.hline:nth-child(3) { animation-delay: 0.3s; }
.hline:nth-child(4) { animation-delay: 0.5s; }
.hline:nth-child(5) { animation-delay: 0.7s; }
.hline:nth-child(6) { animation-delay: 0.9s; }
.hline:nth-child(7) { animation-delay: 1.1s; }
.hline:nth-child(8) { animation-delay: 1.3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__inner {
  position: relative;
  padding-block: clamp(5.5rem, 12vh, 9.5rem) clamp(3rem, 7vh, 5rem);
}
.hero__copy { max-width: 620px; }
.hero__title {
  font-size: clamp(2.9rem, 2rem + 4.4vw, 5rem);
  margin-bottom: 1.4rem;
}
.hero__lede {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  max-width: 30em;
  margin-bottom: 2.3rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 2.2rem;
}
.hero__foot p {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__scroll {
  width: 52px; height: 1px;
  background: linear-gradient(90deg, var(--navy-900), var(--cyan-400));
  position: relative;
  overflow: visible;
}
.hero__scroll::after {
  content: "";
  position: absolute;
  right: -2px; top: -2.5px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-400);
}

/* ---------- sections ---------- */
.section { padding-block: clamp(4.5rem, 10vh, 7.5rem); }
.section--tint { background: var(--stone); }

.section__head { max-width: 640px; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section__head h2 { margin-bottom: 1.1rem; }
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .section__lede { margin-inline: auto; }
.section__head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}
.section__head--split h2 { margin-bottom: 0; }
.section__head--split .section__lede { max-width: 24em; padding-bottom: 0.4em; }

/* ---------- service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem 2.1rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--navy-900), var(--teal-600), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-soft);
}
.card:hover::before { transform: scaleX(1); }

.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--teal-600);
  background: var(--aqua-100);
  margin-bottom: 1.4rem;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon {
  background: var(--navy-900);
  color: var(--cyan-400);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.9688rem; color: var(--muted); }

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--teal-700);
}
.card__more svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.card__more::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__more svg { transform: translateX(3px); }
.card:focus-within { box-shadow: var(--shadow-md); }

/* ---------- approach / journey ---------- */
.journey { position: relative; }
.journey__thread {
  position: absolute;
  left: 0; right: 0;
  top: -14px;
  width: 100%;
  height: 120px;
  pointer-events: none;
}
.jline {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  transition: stroke-dashoffset 2.2s var(--ease);
}
.journey--five .journey__thread { top: -18px; }
.journey.in .jline { stroke-dashoffset: 0; }
.journey.in .jline:nth-child(2) { transition-delay: 0.15s; }
.journey.in .jline:nth-child(3) { transition-delay: 0.3s; }

.journey__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.journey__steps--five {
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.journey__steps--five .step__badge { width: 84px; height: 84px; }
.journey__steps--five .step h3 { font-size: 1.375rem; }
.journey__steps--five .step p { font-size: 0.9063rem; }
.step { text-align: center; }
.step__badge {
  width: 92px; height: 92px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--aqua-200);
  outline: 8px solid var(--stone);
  display: grid;
  place-items: center;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step__badge svg { width: 32px; height: 32px; }
.step:hover .step__badge {
  transform: translateY(-4px);
  border-color: var(--teal-500);
  color: var(--teal-600);
  box-shadow: var(--shadow-md);
}
.step__num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--teal-600);
  margin-bottom: 0.35rem;
}
.step h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}
.step p {
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 24em;
  margin-inline: auto;
}

/* ---------- why noesis ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.why__intro { position: sticky; top: 7rem; }
.why__intro h2 { margin-bottom: 1.1rem; }
.why__cta { margin-top: 2rem; }

.why__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  counter-increment: why;
  transition: border-color 0.3s var(--ease);
}
.why__list { counter-reset: why; }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item::before {
  content: "0" counter(why);
  font-family: var(--serif);
  font-size: 1.55rem;
  color: var(--aqua-200);
  line-height: 1;
  transition: color 0.3s var(--ease);
  font-feature-settings: "tnum";
}
.why__item:hover::before { color: var(--cyan-400); }
.why__item h3 { grid-column: 2; margin-bottom: 0.4rem; font-size: 1.1875rem; }
.why__item p { grid-column: 2; font-size: 0.9688rem; color: var(--muted); max-width: 36em; }

/* ---------- contact cta ---------- */
.cta { padding-top: 0; }
.cta__panel {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(2.75rem, 7vw, 5rem) clamp(1.75rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-sm);
}
.cta__lines {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
}
.cta__lines svg { width: 100%; height: 100%; }

/* keep the flowing lines clear of the logo mark in the home CTA;
   custom properties are measured and kept in sync with the logo's
   actual rendered position/size by js/main.js (works at any breakpoint) */
.cta__panel--home {
  --logo-mask-cx: 16%;
  --logo-mask-cy: 59%;
  --logo-mask-rx: 25.5%;
  --logo-mask-ry: 31%;
}
.cta__panel--home .cta__lines {
  -webkit-mask-image: radial-gradient(ellipse var(--logo-mask-rx) var(--logo-mask-ry) at var(--logo-mask-cx) var(--logo-mask-cy), transparent 60%, #000 100%);
  mask-image: radial-gradient(ellipse var(--logo-mask-rx) var(--logo-mask-ry) at var(--logo-mask-cx) var(--logo-mask-cy), transparent 60%, #000 100%);
}
.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.cta__content { position: relative; }
.cta__content h2 {
  font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.2rem);
  margin-bottom: 1.2rem;
}
.cta__lede {
  max-width: 32em;
  margin-bottom: 2rem;
  color: var(--muted);
}
.cta__logo {
  width: min(240px, 60%);
  height: auto;
  margin-bottom: 2rem;
}
.cta__direct { font-size: 0.9375rem; color: var(--muted); }
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.cta__panel--center { text-align: center; }
.cta__panel--center .cta__content { position: relative; }
.cta__panel--center .eyebrow { justify-content: center; }
.cta__panel--center .cta__lede { margin-inline: auto; margin-bottom: 2.4rem; }

/* ---------- contact form ---------- */
.form {
  position: relative;
  display: grid;
  gap: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem 1.9rem;
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form__field { display: grid; gap: 0.45rem; min-width: 0; }
.form__field label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.form__optional { font-weight: 500; color: var(--muted); }
.form__field input,
.form__field textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 0.9688rem;
  color: var(--ink);
  background: var(--stone);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75em 0.95em;
  min-height: 44px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form__field textarea { resize: vertical; min-height: 108px; }
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px var(--aqua-100);
}
.form__field.is-invalid input,
.form__field.is-invalid textarea { border-color: #B4232A; }
.form__error {
  display: none;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #A11E25;
}
.form__field.is-invalid .form__error { display: block; }
.cf-turnstile { margin-top: 0.2rem; }
.form__submit { justify-self: start; }
.form__submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form__note { font-size: 0.8125rem; color: var(--muted); }
.form__note.is-error { color: #A11E25; }
.cta__mail {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--teal-700);
  border-bottom: 1px solid var(--aqua-200);
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.cta__mail:hover { color: var(--navy-900); border-color: var(--teal-600); }

/* ---------- service details ---------- */
.svc-list { padding-top: clamp(3rem, 7vh, 5rem); }
.svc {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2.75rem, 6vh, 4rem);
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__head {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}
.svc__head .card__icon { margin-bottom: 0; flex: none; }
.svc__title {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.15rem);
  line-height: 1.15;
  padding-top: 0.2em;
}
.svc__lede {
  font-size: 1.0625rem;
  color: var(--slate);
  max-width: 44em;
  margin-bottom: 1.8rem;
}
.svc__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.svc__cols h4 {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.9rem;
}
.svc__cols p { font-size: 0.9688rem; color: var(--muted); max-width: 30em; }
.svc__points { display: grid; gap: 0.65rem; }
.svc__points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9688rem;
  color: var(--slate);
}
.svc__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal-600), var(--cyan-400));
}

/* ---------- language switch ---------- */
.lang-switch {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--slate);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4em 0.9em;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.lang-switch:hover { border-color: var(--teal-600); color: var(--teal-700); background: var(--aqua-100); }
.brand--light + .nav__links .lang-switch,
.footer .lang-switch { border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }
.footer .lang-switch:hover { border-color: var(--cyan-400); color: #fff; background: rgba(255,255,255,0.06); }

/* ---------- industries ---------- */
.industries__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.industries__item {
  display: flex;
  align-items: center;
  gap: 0.6em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.75em 1.3em;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--slate);
}
.industries__item .dot { background: var(--teal-600); }

/* ---------- entry packages ---------- */
.packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.package {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.9rem 2rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.package:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-soft); }
.package h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1875rem;
  color: var(--ink);
  margin-bottom: 1rem;
}
.package dl { display: grid; gap: 0.7rem; }
.package dt {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 0.2rem;
}
.package dd { font-size: 0.9375rem; color: var(--muted); margin: 0; }

/* ---------- footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr));
  gap: 2.5rem;
  padding-block: 4.5rem 3rem;
}
.footer__tagline {
  display: flex;
  align-items: center;
  gap: 0.65em;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.footer__head {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 1.2rem;
}
.footer__col { display: grid; align-content: start; gap: 0.7rem; justify-items: start; }
.footer__col a {
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: #fff; }
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  padding-block: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer__legal {
  padding-bottom: 1.8rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.32);
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .journey__steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .journey__thread { display: none; }
  .step__badge { outline: none; }
  .posts { grid-template-columns: repeat(2, 1fr); }
  .posts .post:last-child { display: none; }
  .why { grid-template-columns: 1fr; }
  .why__intro { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .cta__grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 1.6rem; }
  .work-steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav__toggle { display: flex; }
  .brand__logo { height: 33px; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(11, 37, 69, 0.12);
    padding: 0.6rem 1.5rem 1.4rem;
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__links > a:not(.btn):not(.lang-switch) {
    padding-block: 0.9em;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__links > a:not(.btn):not(.lang-switch)::after { content: none; }
  .nav__cta { margin-top: 1rem; justify-content: center; }

  .hero__lines svg {
    width: 130vw;
    right: -46vw;
    opacity: 0.36;
  }
  .hero__copy { max-width: none; }

  .cards { grid-template-columns: 1fr; }
  .journey__steps { grid-template-columns: 1fr; }
  .posts { grid-template-columns: 1fr; }
  .posts .post:last-child { display: block; }
  .section__head--split { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .why__item { grid-template-columns: 44px 1fr; gap: 1rem; }
  .footer__inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__base { flex-direction: column; }
  .form__row { grid-template-columns: 1fr; }
  .svc__cols { grid-template-columns: 1fr; }
  .cta__logo { width: min(220px, 70%); }
  .work-steps { grid-template-columns: 1fr; gap: 2rem; }
  .packages { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hline { animation: none; stroke-dashoffset: 0; }
  .jline { transition: none; stroke-dashoffset: 0; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
