:root {
  color-scheme: dark;
  --bg: #090b0f;
  --panel: #10151b;
  --panel-2: #161c23;
  --text: #f4f7f7;
  --muted: #a7b3b2;
  --line: rgba(255, 255, 255, 0.13);
  --teal: #31d5c8;
  --amber: #e8b15f;
  --steel: #86a6bc;
  --danger: #ff9b8f;
  --success: #8ff0bf;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 64px 64px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px max(22px, calc((100vw - var(--max)) / 2));
  background: rgba(9, 11, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 760;
  text-decoration: none;
}

.brand:hover .brand-mark {
  transform: translateY(-1px) scale(1.04);
}

.brand-mark {
  width: 27px;
  height: 27px;
  display: inline-block;
  background:
    linear-gradient(90deg, transparent 0 35%, var(--teal) 35% 46%, transparent 46%),
    linear-gradient(135deg, var(--amber), var(--teal));
  border-radius: 6px;
  clip-path: polygon(8% 58%, 25% 28%, 44% 70%, 63% 31%, 82% 63%, 92% 63%, 92% 82%, 8% 82%);
  transition: transform 180ms ease, filter 180ms ease;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.language-switch a {
  min-width: 34px;
  padding: 5px 8px;
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.language-switch a.is-active {
  background: var(--teal);
  color: #031211;
}

.language-switch a:hover {
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 150px max(22px, calc((100vw - var(--max)) / 2)) 36px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 1;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(49, 213, 200, 0.11) 44%, transparent 50%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 110px);
  mix-blend-mode: screen;
  opacity: 0.28;
  transform: translateX(-4%);
  animation: hero-scan 11s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 11, 15, 0.96), rgba(9, 11, 15, 0.78) 42%, rgba(9, 11, 15, 0.25)),
    linear-gradient(0deg, #090b0f 0%, rgba(9, 11, 15, 0) 38%);
  z-index: 1;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/hero-tech-platform.png");
  background-size: cover;
  background-position: center right;
  filter: saturate(0.92) contrast(1.08);
  transform: scale(1.025);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-content,
.hero-metrics {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 720px;
  padding-bottom: 76px;
  animation: content-rise 700ms ease both;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: 8rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: #d8e1e0;
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.btn.primary {
  border-color: rgba(49, 213, 200, 0.6);
  background: var(--teal);
  color: #031211;
  box-shadow: 0 0 0 rgba(49, 213, 200, 0);
}

.btn.secondary,
.btn.ghost {
  background: rgba(255, 255, 255, 0.06);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(49, 213, 200, 0.55);
}

.btn.primary:hover {
  box-shadow: 0 10px 34px rgba(49, 213, 200, 0.18);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
  animation: content-rise 820ms ease 120ms both;
}

.hero-metrics div {
  min-height: 96px;
  padding: 18px;
  background: rgba(12, 17, 22, 0.82);
  transition: background 180ms ease, transform 180ms ease;
}

.hero-metrics div:hover {
  background: rgba(18, 27, 34, 0.92);
  transform: translateY(-2px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--amber);
  font-size: 1.2rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  position: relative;
  padding: 96px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
}

.section::before {
  content: "";
  position: absolute;
  left: max(22px, calc((100vw - var(--max)) / 2));
  top: -1px;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent);
}

.scroll-reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    filter 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.72, 0.18, 1);
  will-change: opacity, filter, transform;
}

.scroll-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.scroll-reveal-group > * {
  opacity: 0;
  transition: opacity 520ms ease;
}

.scroll-reveal-group.is-visible > * {
  opacity: 1;
}

.scroll-reveal-group.is-visible > *:nth-child(2) {
  transition-delay: 70ms;
}

.scroll-reveal-group.is-visible > *:nth-child(3) {
  transition-delay: 140ms;
}

.scroll-reveal-group.is-visible > *:nth-child(4) {
  transition-delay: 210ms;
}

.scroll-reveal-group.is-visible > *:nth-child(5) {
  transition-delay: 280ms;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section h2 {
  margin: 0;
  font-size: 3.3rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  position: relative;
  min-height: 282px;
  padding: 26px;
  background: var(--panel);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.service-grid article::before,
.showcase-list article::before,
.contact-form::before,
.contact-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(49, 213, 200, 0.1), transparent 42%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.service-grid article:hover {
  z-index: 1;
  transform: translateY(-6px);
  background: #121a21;
  box-shadow: var(--shadow);
}

.service-grid article:focus-within {
  z-index: 2;
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}

.service-grid article:hover::before,
.showcase-list article:hover::before,
.contact-form:focus-within::before,
.contact-aside:hover::before {
  opacity: 1;
}

.icon {
  position: relative;
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border: 1px solid rgba(49, 213, 200, 0.45);
  border-radius: 6px;
  background: rgba(49, 213, 200, 0.06);
  box-shadow: inset 0 0 24px rgba(49, 213, 200, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-grid article:hover .icon {
  border-color: rgba(49, 213, 200, 0.9);
  transform: rotate(3deg) scale(1.06);
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.icon.ai::before {
  inset: 9px;
  background:
    radial-gradient(circle at 50% 50%, var(--teal) 0 3px, transparent 3.5px),
    radial-gradient(circle at 18% 22%, var(--amber) 0 3px, transparent 3.5px),
    radial-gradient(circle at 82% 24%, var(--steel) 0 3px, transparent 3.5px),
    radial-gradient(circle at 24% 82%, var(--steel) 0 3px, transparent 3.5px),
    radial-gradient(circle at 80% 78%, var(--teal) 0 3px, transparent 3.5px);
}

.icon.ai::after {
  inset: 14px 12px 13px;
  background:
    linear-gradient(32deg, transparent 0 45%, rgba(49, 213, 200, 0.75) 46% 54%, transparent 55%),
    linear-gradient(145deg, transparent 0 45%, rgba(232, 177, 95, 0.78) 46% 54%, transparent 55%),
    linear-gradient(90deg, transparent 0 45%, rgba(134, 166, 188, 0.7) 46% 54%, transparent 55%);
}

.icon.erp {
  border-color: rgba(232, 177, 95, 0.52);
  background: rgba(232, 177, 95, 0.06);
}

.icon.erp::before {
  left: 9px;
  top: 9px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(232, 177, 95, 0.86);
  border-radius: 4px;
  background:
    linear-gradient(var(--amber), var(--amber)) 50% 50% / 5px 1px no-repeat,
    rgba(232, 177, 95, 0.1);
  box-shadow:
    18px 0 0 rgba(49, 213, 200, 0.1),
    18px 0 0 1px rgba(49, 213, 200, 0.72),
    9px 18px 0 rgba(134, 166, 188, 0.1),
    9px 18px 0 1px rgba(134, 166, 188, 0.72);
}

.icon.erp::after {
  inset: 13px 13px 17px;
  border-right: 2px solid rgba(232, 177, 95, 0.72);
  border-bottom: 2px solid rgba(49, 213, 200, 0.72);
  transform: rotate(45deg);
}

.icon.web {
  background:
    linear-gradient(0deg, transparent 30%, rgba(255, 255, 255, 0.12) 30% 32%, transparent 32%),
    rgba(49, 213, 200, 0.06);
}

.icon.web::before {
  inset: 9px;
  border: 1px solid rgba(49, 213, 200, 0.78);
  border-radius: 5px;
  background:
    radial-gradient(circle at 5px 5px, var(--amber) 0 1.5px, transparent 2px),
    radial-gradient(circle at 10px 5px, var(--steel) 0 1.5px, transparent 2px),
    linear-gradient(var(--teal), var(--teal)) 6px 15px / 9px 2px no-repeat,
    linear-gradient(var(--steel), var(--steel)) 6px 21px / 21px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) 20px 15px / 7px 2px no-repeat;
}

.icon.web::after {
  left: 15px;
  right: 15px;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

.icon.delivery {
  background:
    radial-gradient(circle at 50% 50%, var(--amber) 0 18%, transparent 19%),
    linear-gradient(90deg, transparent 20%, var(--teal) 20% 30%, transparent 30% 70%, var(--steel) 70% 80%, transparent 80%);
}

.service-grid h3,
.showcase h3,
.contact-aside h3 {
  margin: 0 0 13px;
  font-size: 1.25rem;
}

.service-grid p,
.showcase p,
.contact-aside p,
.site-footer p {
  color: var(--muted);
  margin: 0;
}

.text-link {
  position: relative;
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--teal);
  font-weight: 760;
  text-decoration: none;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: scaleX(1);
}

.service-grid .text-link {
  position: static;
}

.service-grid .text-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-grid .text-link::after {
  display: none;
}

.service-grid .text-link {
  width: fit-content;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  transition: color 180ms ease, border-color 180ms ease;
}

.service-grid article:hover .text-link {
  color: #72fff5;
}

.showcase {
  background: #0c1015;
}

.showcase-list {
  display: grid;
  gap: 12px;
}

.showcase-list article {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr minmax(190px, 270px);
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.showcase-list article:hover {
  transform: translateX(6px);
  border-color: rgba(49, 213, 200, 0.32);
  background: #111820;
}

.project-index {
  color: var(--amber);
  font-weight: 820;
  transition: color 180ms ease;
}

.showcase-list article:hover .project-index {
  color: var(--teal);
}

.showcase-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: #d9e1e0;
  list-style: none;
  font-size: 0.93rem;
}

.showcase-list li::before {
  content: "+ ";
  color: var(--teal);
}

.contact-section {
  background: #0b0e12;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.contact-form,
.contact-aside {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: #dce5e4;
  font-weight: 690;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #0b0f14;
  color: var(--text);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(49, 213, 200, 0.58);
  background: #0d1319;
  box-shadow: 0 0 0 4px rgba(49, 213, 200, 0.08);
}

textarea {
  resize: vertical;
}

label span,
.field-error {
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 520;
}

.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.consent span {
  color: var(--muted);
}

.notice {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.notice.success {
  color: #092017;
  background: var(--success);
}

.notice.error {
  color: #260703;
  background: var(--danger);
}

.trap {
  position: absolute;
  left: -10000px;
}

.contact-aside {
  padding: 24px;
}

.contact-aside a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 720;
}

.legal-hero {
  position: relative;
  padding: 150px max(22px, calc((100vw - 900px) / 2)) 54px;
  background:
    linear-gradient(120deg, rgba(49, 213, 200, 0.1), transparent 42%),
    #0c1015;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  opacity: 0.6;
}

.legal-hero h1 {
  font-size: 5rem;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 58px 22px 96px;
}

.legal-content h2 {
  margin: 34px 0 10px;
  font-size: 1.45rem;
}

.legal-content p,
.legal-content dd {
  color: var(--muted);
}

.legal-content dl {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 10px 18px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.22);
}

.legal-content dt {
  font-weight: 760;
}

.legal-content dd {
  margin: 0;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
}

.legal-content th,
.legal-content td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.service-hero {
  position: relative;
  padding: 150px max(22px, calc((100vw - var(--max)) / 2)) 72px;
  background: #0c1015;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
}

.service-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 11, 15, 0.96), rgba(9, 11, 15, 0.78) 46%, rgba(9, 11, 15, 0.18)),
    linear-gradient(0deg, #0c1015 0%, rgba(12, 16, 21, 0) 34%);
  pointer-events: none;
}

.service-hero-media {
  position: absolute;
  inset: 0;
  background-position: center right;
  background-size: cover;
  filter: saturate(0.96) contrast(1.08);
  transform: scale(1.025);
}

.service-hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  animation: content-rise 700ms ease both;
}

.service-hero h1 {
  margin: 0;
  font-size: 5rem;
  line-height: 0.98;
}

.service-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 1.16rem;
}

.service-detail {
  background: #0b0f14;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-detail-grid article {
  position: relative;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(49, 213, 200, 0.055), transparent 42%),
    var(--panel);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-detail-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(49, 213, 200, 0.34);
  background: #121a21;
}

.service-detail-grid h2 {
  margin: 0 0 18px;
  font-size: 1.45rem;
  line-height: 1.15;
}

.service-detail-grid ul,
.deliverable-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-detail-grid ul {
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.service-detail-grid li {
  position: relative;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.service-detail-grid li::before {
  content: "+";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(49, 213, 200, 0.42);
  border-radius: 5px;
  background: rgba(49, 213, 200, 0.12);
  color: var(--teal);
  font-weight: 840;
  line-height: 1;
  transform: translateY(-50%);
}

.service-detail-grid li:hover {
  border-color: rgba(49, 213, 200, 0.24);
  background: rgba(49, 213, 200, 0.06);
}

.service-deliverables {
  background: #0c1015;
}

.deliverable-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.deliverable-list span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: #dce5e4;
  font-weight: 690;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 38px max(22px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  background: #07090c;
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer a:hover {
  color: var(--text);
}

.cookie-panel {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 18, 23, 0.96);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
  animation: cookie-in 280ms ease both;
}

.cookie-panel[hidden],
.cookie-config[hidden] {
  display: none;
}

.cookie-panel p {
  margin: 4px 0 0;
  color: var(--muted);
}

.cookie-actions,
.cookie-config {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-config {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@keyframes hero-drift {
  from {
    transform: scale(1.025) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.065) translate3d(-18px, -8px, 0);
  }
}

@keyframes hero-scan {
  from {
    transform: translateX(-12%);
  }
  to {
    transform: translateX(12%);
  }
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    background: #0b0f14;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .language-switch {
    align-self: flex-start;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-content {
    padding-bottom: 54px;
  }

  h1 {
    font-size: 5.2rem;
  }

  .section h2 {
    font-size: 2.45rem;
  }

  .legal-hero h1 {
    font-size: 3.4rem;
  }

  .service-hero h1 {
    font-size: 3.5rem;
  }

  .showcase-list article:hover {
    transform: translateY(-3px);
  }

  .hero-metrics,
  .service-grid,
  .service-detail-grid,
  .showcase-list article,
  .contact-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-grid {
    display: grid;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 620px) {
  .section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .hero-actions,
  .cookie-actions,
  .cookie-config {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-panel {
    grid-template-columns: 1fr;
  }

  .legal-content dl {
    grid-template-columns: 1fr;
  }

  .legal-content table {
    display: block;
    overflow-x: auto;
  }

  h1 {
    font-size: 3.35rem;
  }

  .section h2 {
    font-size: 2.05rem;
  }

  .legal-hero h1 {
    font-size: 2.75rem;
  }

  .service-hero h1 {
    font-size: 2.7rem;
  }
}

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

  .scroll-reveal,
  .scroll-reveal-group > * {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
