:root {
  --bg: #080d1b;
  --bg-soft: #0d1427;
  --surface: rgba(255,255,255,.065);
  --surface-strong: rgba(255,255,255,.1);
  --surface-solid: #111a31;
  --text: #f7faff;
  --muted: #aebbd0;
  --muted-strong: #d9e3f3;
  --line: rgba(255,255,255,.12);
  --line-strong: rgba(255,255,255,.2);
  --primary: #8b5cf6;
  --primary-2: #22d3ee;
  --accent: #43e6a3;
  --danger: #fb7185;
  --shadow: 0 28px 80px rgba(0,0,0,.36);
  --shadow-soft: 0 18px 50px rgba(0,0,0,.2);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --page: min(1180px, calc(100% - 32px));
  --header-height: 72px;
}

:root[data-theme="light"] {
  --bg: #f3f6fb;
  --bg-soft: #e9eef8;
  --surface: rgba(255,255,255,.72);
  --surface-strong: rgba(255,255,255,.94);
  --surface-solid: #ffffff;
  --text: #10182b;
  --muted: #5e6c83;
  --muted-strong: #29364d;
  --line: rgba(16,24,43,.11);
  --line-strong: rgba(16,24,43,.2);
  --shadow: 0 28px 80px rgba(47,60,90,.16);
  --shadow-soft: 0 18px 50px rgba(47,60,90,.11);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100svh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(139,92,246,.24), transparent 34rem),
    radial-gradient(circle at 95% 8%, rgba(34,211,238,.17), transparent 31rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 10% 0%, rgba(139,92,246,.16), transparent 35rem),
    radial-gradient(circle at 96% 6%, rgba(34,211,238,.13), transparent 31rem),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

:root[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(16,24,43,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16,24,43,.035) 1px, transparent 1px);
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
p, h1, h2, h3 { margin-top: 0; }
::selection { background: rgba(34,211,238,.28); color: var(--text); }

.page {
  width: var(--page);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 16px;
  color: #07111f;
  background: #fff;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 10px;
  z-index: 100;
  width: var(--page);
  margin: 10px auto 0;
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 74%, transparent);
  box-shadow: 0 16px 42px rgba(0,0,0,.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.site-header.is-scrolled .nav-shell {
  background: color-mix(in srgb, var(--surface-solid) 90%, transparent);
  box-shadow: var(--shadow-soft);
  border-color: var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  padding-right: 8px;
}

.brand img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 12px 22px rgba(34,211,238,.18));
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: -.025em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  margin-left: auto;
}

.main-menu a {
  padding: 11px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: var(--text);
  background: var(--surface);
  outline: none;
}

.main-menu .nav-cta {
  margin-left: 4px;
  color: #07111f;
  background: linear-gradient(135deg, #fff, #dff9ff 44%, #d9ffe9);
  box-shadow: 0 12px 28px rgba(34,211,238,.14);
}

.main-menu .nav-cta:hover,
.main-menu .nav-cta:focus-visible {
  color: #07111f;
  background: linear-gradient(135deg, #fff, #dff9ff 44%, #d9ffe9);
  transform: translateY(-1px);
}

.theme-button,
.menu-button {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: var(--surface);
}

.theme-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:root[data-theme="dark"] .theme-moon,
:root[data-theme="light"] .theme-sun { display: none; }

.menu-button {
  display: none;
  padding: 0;
}

.menu-button > span:not(.sr-only) {
  width: 20px;
  height: 2px;
  margin: 2px auto;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.hero {
  min-height: calc(100svh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  gap: clamp(38px, 6vw, 78px);
  align-items: center;
  padding-block: clamp(62px, 8vw, 112px);
}

.eyebrow,
.section-kicker,
.project-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: var(--surface);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .025em;
}

.eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(67,230,163,.8);
}

.hero h1 {
  margin: 22px 0 22px;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .95;
  letter-spacing: -.076em;
}

.hero h1 span {
  background: linear-gradient(130deg, #fff 0%, #ccecff 36%, #decfff 66%, #baffdc 100%);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

:root[data-theme="light"] .hero h1 span {
  background: linear-gradient(130deg, #131d35 0%, #216a95 36%, #6841ba 66%, #16885a 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.7;
}

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

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
  border-color: var(--line-strong);
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  border-color: transparent;
  color: #07111f;
  background: linear-gradient(135deg, #fff, #dff9ff 43%, #d9ffe9);
  box-shadow: 0 16px 38px rgba(34,211,238,.16);
}

.button-secondary {
  color: var(--muted-strong);
  background: var(--surface);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 27px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  font-size: 12px;
  font-weight: 700;
}

.hero-trust b {
  color: var(--accent);
  font-size: 10px;
}

.hero-visual {
  position: relative;
  isolation: isolate;
  min-width: 0;
}

.visual-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(34,211,238,.17);
  border-radius: 50%;
}

.orbit-one {
  width: 92%;
  aspect-ratio: 1;
  top: -14%;
  right: -18%;
}

.orbit-two {
  width: 72%;
  aspect-ratio: 1;
  left: -11%;
  bottom: -10%;
  border-color: rgba(139,92,246,.2);
}

.dashboard-card {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 86% 4%, rgba(34,211,238,.17), transparent 28%),
    radial-gradient(circle at 12% 2%, rgba(139,92,246,.19), transparent 30%),
    linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.dashboard-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 36%, rgba(255,255,255,.08) 44%, transparent 54%);
}

.dashboard-top,
.dashboard-brand,
.activity-head,
.activity-row {
  display: flex;
  align-items: center;
}

.dashboard-top {
  position: relative;
  z-index: 1;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-brand { gap: 11px; }

.dashboard-brand span {
  display: grid;
  line-height: 1.16;
}

.dashboard-brand strong { font-size: 15px; }
.dashboard-brand small { color: var(--muted); font-size: 11px; margin-top: 4px; }

.online-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #baffdc;
  background: rgba(67,230,163,.11);
  border: 1px solid rgba(67,230,163,.2);
  font-size: 10px;
  font-weight: 850;
}

.online-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 11px rgba(67,230,163,.8);
}

.metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  margin-top: 22px;
}

.metric {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg) 38%, transparent);
}

.metric-wide { grid-row: span 2; min-height: 272px; }

.metric small { color: var(--muted); font-weight: 700; }
.metric strong { margin-top: auto; font-size: clamp(28px, 5vw, 58px); letter-spacing: -.06em; }
.metric:not(.metric-wide) strong { font-size: clamp(22px, 3vw, 34px); }
.metric > span:not(.metric-line) { color: var(--muted); font-size: 11px; }

.metric-line {
  position: relative;
  height: 72px;
  margin-top: 14px;
  overflow: hidden;
}

.metric-line::before,
.metric-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--line);
}

.metric-line::before { top: 20px; }
.metric-line::after { bottom: 12px; }

.metric-line i {
  position: absolute;
  left: 0;
  right: -10px;
  bottom: 11px;
  height: 55px;
  border-radius: 50% 55% 12% 10%;
  border-top: 3px solid var(--primary-2);
  transform: skewY(-8deg);
  box-shadow: 0 -10px 32px rgba(34,211,238,.16);
}

.activity-card {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg) 38%, transparent);
}

.activity-head { justify-content: space-between; margin-bottom: 11px; }
.activity-head strong { font-size: 13px; }
.activity-head span { color: var(--muted); font-size: 10px; }

.activity-row {
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.activity-row > i {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.activity-row > i.violet { background: var(--primary); box-shadow: 0 0 14px rgba(139,92,246,.6); }
.activity-row > i.cyan { background: var(--primary-2); box-shadow: 0 0 14px rgba(34,211,238,.6); }
.activity-row > i.green { background: var(--accent); box-shadow: 0 0 14px rgba(67,230,163,.6); }

.activity-row span {
  min-width: 0;
  display: grid;
  margin-right: auto;
}
.activity-row b { font-size: 11px; }
.activity-row small {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-row em {
  color: var(--muted-strong);
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 250px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface-solid) 88%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.floating-note > span {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #07111f;
  background: linear-gradient(135deg, #d9ffe9, #dff9ff);
  font-weight: 900;
}

.floating-note div { display: grid; }
.floating-note strong { font-size: 11px; }
.floating-note small { color: var(--muted); font-size: 9px; line-height: 1.35; }
.note-left { left: -9%; bottom: 12%; }
.note-right { right: -7%; top: 21%; }

.section {
  padding-block: clamp(76px, 9vw, 122px);
}

.section-dark {
  position: relative;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 12% 10%, rgba(139,92,246,.14), transparent 29rem),
    radial-gradient(circle at 91% 90%, rgba(34,211,238,.1), transparent 27rem),
    color-mix(in srgb, var(--bg-soft) 84%, var(--bg));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .56fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 36px;
}

.section-kicker {
  margin-bottom: 17px;
  color: color-mix(in srgb, var(--primary-2) 72%, var(--text));
}

.section-heading h2,
.value-copy h2,
.contact-copy h2,
.legal-hero h1,
.error-card h1 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(36px, 5.3vw, 66px);
  line-height: 1;
  letter-spacing: -.065em;
}

.section-heading > p,
.value-copy > p,
.contact-copy > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.72;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 15px;
}

.service-card {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, border-color .2s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -74px;
  bottom: -88px;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.16), transparent 67%);
  pointer-events: none;
}

.service-card.featured {
  background:
    radial-gradient(circle at 90% 4%, rgba(34,211,238,.17), transparent 32%),
    radial-gradient(circle at 10% 12%, rgba(139,92,246,.17), transparent 35%),
    linear-gradient(145deg, var(--surface-strong), var(--surface));
}

.service-number {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 52px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  font-size: 25px;
}

.service-card h3 {
  margin-bottom: 11px;
  font-size: 22px;
  letter-spacing: -.04em;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
}

.service-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 15px;
}

.project-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow-soft);
}

.project-large {
  grid-row: span 2;
  min-height: 795px;
}

.project-copy {
  position: relative;
  z-index: 2;
}

.project-tag {
  margin-bottom: 18px;
  padding-block: 7px;
  color: var(--muted);
  font-size: 10px;
}

.project-card h3 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 42px);
  letter-spacing: -.055em;
}

.project-card p {
  max-width: 610px;
  color: var(--muted);
  line-height: 1.65;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip-row span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-strong);
  background: var(--surface);
  font-size: 10px;
  font-weight: 750;
}

.project-preview {
  flex: 1;
  min-height: 450px;
  display: grid;
  place-items: end center;
  margin: 26px -2px -42px;
  padding: 36px 20px 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at 75% 10%, rgba(34,211,238,.22), transparent 35%),
    radial-gradient(circle at 15% 15%, rgba(139,92,246,.24), transparent 35%),
    color-mix(in srgb, var(--bg) 54%, transparent);
}

.mock-window {
  position: relative;
  width: min(640px, 100%);
  height: 425px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 23px 23px 0 0;
  background: var(--surface-solid);
  box-shadow: 0 30px 80px rgba(0,0,0,.34);
}

.mock-toolbar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.mock-toolbar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mock-toolbar span {
  width: 36%;
  height: 9px;
  margin-left: auto;
  border-radius: 99px;
  background: var(--line);
}

.mock-sidebar {
  position: absolute;
  left: 0;
  top: 36px;
  bottom: 0;
  width: 24%;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 17px 12px;
  border-right: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 70%, var(--surface-solid));
}

.mock-sidebar b {
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,92,246,.54), rgba(34,211,238,.42));
}

.mock-sidebar span {
  width: 76%;
  height: 9px;
  border-radius: 99px;
  background: var(--line);
}

.mock-content {
  position: absolute;
  left: 24%;
  right: 0;
  top: 36px;
  bottom: 0;
  padding: 15px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
}

.mock-stats i {
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.mock-chart {
  height: 170px;
  margin-top: 9px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--surface);
  background-size: 36px 36px;
}

.mock-chart svg { width: 100%; height: 100%; }
.mock-chart path {
  fill: none;
  stroke: var(--primary-2);
  stroke-width: 4;
  stroke-linecap: round;
  filter: drop-shadow(0 8px 12px rgba(34,211,238,.3));
}

.mock-table {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.mock-table i {
  height: 13px;
  border-radius: 99px;
  background: var(--line);
}

.mini-preview {
  min-height: 145px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: color-mix(in srgb, var(--bg) 43%, transparent);
}

.bars-preview {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
}

.bars-preview span {
  width: 12%;
  height: var(--h);
  min-height: 28px;
  border-radius: 12px 12px 5px 5px;
  background: linear-gradient(to top, var(--primary), var(--primary-2));
  box-shadow: 0 10px 30px rgba(34,211,238,.16);
}

.route-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.route-preview::before {
  content: "";
  position: absolute;
  left: 19%;
  right: 19%;
  top: 50%;
  border-top: 2px dashed var(--line-strong);
}

.route-preview i,
.route-preview b,
.route-preview span {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--bg) 72%, transparent);
}

.route-preview i {
  width: 26px;
  height: 26px;
  background: var(--accent);
}
.route-preview b {
  width: 20px;
  height: 20px;
  background: var(--primary-2);
}
.route-preview span {
  width: 17px;
  height: 17px;
  background: var(--primary);
}

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

.process-card {
  min-height: 300px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
}

.process-card > strong {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 60px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--primary), #4f7bea);
  box-shadow: 0 14px 30px rgba(139,92,246,.2);
  font-size: 12px;
}

.process-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: -.035em;
}

.process-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.value-section { padding-top: 0; }

.value-panel {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(340px,1fr);
  gap: clamp(28px,6vw,74px);
  align-items: center;
  padding: clamp(26px,5vw,54px);
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 90% 10%, rgba(34,211,238,.13), transparent 32%),
    radial-gradient(circle at 4% 96%, rgba(139,92,246,.16), transparent 37%),
    linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.value-copy h2 { margin-bottom: 20px; }
.value-copy > p { margin-bottom: 24px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-weight: 850;
}

.text-link span { color: var(--primary-2); font-size: 22px; }

.value-list {
  display: grid;
  gap: 11px;
}

.value-list > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 35%, transparent);
}

.value-list > div > span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #07111f;
  background: #baffdc;
  font-size: 12px;
  font-weight: 900;
}

.value-list p { display: grid; margin: 0; }
.value-list strong { font-size: 13px; }
.value-list small { margin-top: 3px; color: var(--muted); line-height: 1.45; }

.faq-list {
  max-width: 900px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px 2px;
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  font-weight: 800;
}

.faq-item button span { margin-right: auto; }

.faq-item button i {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.faq-item button i::before,
.faq-item button i::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 14px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition: transform .2s ease;
}

.faq-item button i::after { transform: rotate(90deg); }
.faq-item.is-open button i::after { transform: rotate(0); }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .25s ease;
}

.faq-answer > p {
  min-height: 0;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer > p { padding-bottom: 22px; }

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0,.82fr) minmax(420px,1fr);
  gap: clamp(26px,5vw,58px);
  padding: clamp(24px,5vw,50px);
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 95% 4%, rgba(34,211,238,.15), transparent 35%),
    radial-gradient(circle at 0% 100%, rgba(139,92,246,.17), transparent 40%),
    linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.contact-copy h2 { margin-bottom: 20px; }
.contact-copy > p { margin-bottom: 26px; }

.contact-direct {
  display: grid;
  gap: 10px;
}

.contact-direct a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 34%, transparent);
}

.contact-direct > a > span {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #07111f;
  background: linear-gradient(135deg, #d9ffe9, #dff9ff);
  font-weight: 900;
}

.contact-direct div { min-width: 0; display: grid; }
.contact-direct small { color: var(--muted); font-size: 10px; }
.contact-direct strong { overflow-wrap: anywhere; font-size: 13px; }

.privacy-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.privacy-note a,
.consent a,
.legal-document a:not(.button) {
  color: color-mix(in srgb, var(--primary-2) 76%, var(--text));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 13px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: color-mix(in srgb, var(--bg) 44%, transparent);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field > span {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 800;
}

.field > span b { color: var(--primary-2); }

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  color: var(--text);
  background: var(--surface);
  padding: 13px 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.field input::placeholder,
.field textarea::placeholder { color: color-mix(in srgb, var(--muted) 66%, transparent); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(34,211,238,.58);
  background: var(--surface-strong);
  box-shadow: 0 0 0 4px rgba(34,211,238,.09);
}

.field-help {
  display: flex;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 9px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: var(--primary);
}

.submit-button { width: 100%; border: 0; }
.submit-button:disabled { cursor: wait; opacity: .68; transform: none; }

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  display: none;
  padding: 12px 13px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
}

.form-message.is-visible { display: block; }
.form-message.success {
  color: color-mix(in srgb, var(--accent) 74%, var(--text));
  border: 1px solid rgba(67,230,163,.22);
  background: rgba(67,230,163,.1);
}
.form-message.error {
  color: color-mix(in srgb, var(--danger) 76%, var(--text));
  border: 1px solid rgba(251,113,133,.22);
  background: rgba(251,113,133,.1);
}

.noscript-note {
  color: var(--muted);
  font-size: 11px;
}

.site-footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 76%, var(--bg));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr .7fr .8fr;
  gap: 38px;
}

.footer-grid > div { display: grid; align-content: start; gap: 10px; }
.footer-grid p { max-width: 560px; margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.footer-grid a { width: fit-content; color: var(--muted); font-size: 12px; }
.footer-grid a:hover { color: var(--text); }

.footer-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: var(--text) !important;
}

.footer-brand span { display: grid; }
.footer-brand strong { font-size: 14px; }
.footer-brand small { margin-top: 2px; color: var(--muted); font-size: 9px; }

.footer-title {
  margin-bottom: 5px;
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.legal-main { padding-block: clamp(52px,7vw,92px); }

.legal-document {
  max-width: 880px;
  padding: clamp(24px,5vw,50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.legal-hero {
  padding-bottom: 27px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 { margin-bottom: 14px; }
.legal-hero p { margin: 0; color: var(--muted); }

.legal-document section { margin-bottom: 26px; }
.legal-document h2 { margin-bottom: 9px; font-size: 20px; letter-spacing: -.025em; }
.legal-document section p { margin-bottom: 0; color: var(--muted); line-height: 1.75; }
.legal-back { margin-top: 10px; }

.error-main {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding: 56px 0 90px;
}

.error-card {
  max-width: 780px;
  padding: clamp(30px,7vw,72px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 42px;
  background: linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
}

.error-card img { margin: 0 auto 20px; }
.error-card > span { color: var(--primary-2); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.error-card h1 { margin: 14px auto 18px; }
.error-card p { max-width: 560px; margin: 0 auto 24px; color: var(--muted); line-height: 1.7; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .56s ease, transform .56s ease;
  transition-delay: var(--delay,0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (hover:hover) and (pointer:fine) {
  .service-card:hover,
  .project-card:hover,
  .process-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy { max-width: 880px; }
  .hero-visual { max-width: 760px; width: 100%; margin-inline: auto; }
  .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-large { grid-column: 1 / -1; grid-row: auto; min-height: 760px; }
  .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .value-panel,
  .contact-panel { grid-template-columns: 1fr; }
  .contact-copy { max-width: 760px; }
}

@media (max-width: 860px) {
  :root { --page: min(100% - 24px, 1180px); --header-height: 64px; }

  .site-header { top: 7px; margin-top: 7px; }
  .nav-shell { border-radius: 23px; padding: 8px; }
  .brand img { width: 44px; height: 44px; }
  .brand-copy small { display: none; }

  .menu-button {
    display: block;
    order: 2;
    margin-left: auto;
  }

  .theme-button { order: 3; }

  .menu-button.is-open > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-button.is-open > span:nth-of-type(3) { opacity: 0; }
  .menu-button.is-open > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }

  .main-menu {
    position: absolute;
    top: calc(100% + 9px);
    left: 0;
    right: 0;
    display: grid;
    gap: 5px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: color-mix(in srgb, var(--surface-solid) 96%, transparent);
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(.985);
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  }

  .main-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .main-menu a {
    width: 100%;
    padding: 13px;
    text-align: center;
  }

  .main-menu .nav-cta { margin: 2px 0 0; }

  .section-heading { grid-template-columns: 1fr; align-items: start; }
  .section-heading > p { max-width: 760px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-large { grid-column: auto; min-height: 680px; }
  .footer-grid { grid-template-columns: 1.4fr .8fr .8fr; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }

  .hero { padding-block: 48px 70px; }
  .hero h1 { font-size: clamp(43px,14vw,64px); }
  .hero-actions .button { width: 100%; }
  .hero-trust { display: grid; grid-template-columns: 1fr; }

  .dashboard-card { border-radius: 28px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-wide { grid-row: auto; min-height: 210px; }
  .floating-note { display: none; }

  .section { padding-block: 74px; }
  .services-grid,
  .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 350px; }
  .project-card { min-height: auto; border-radius: 28px; }
  .project-large { min-height: auto; }
  .project-preview { min-height: 340px; padding-inline: 10px; }
  .mock-window { height: 330px; }
  .mock-content { padding: 9px; }
  .mock-chart { height: 125px; }

  .process-card { min-height: 260px; }
  .process-card > strong { margin-bottom: 44px; }

  .value-panel,
  .contact-panel,
  .legal-document,
  .error-card { border-radius: 29px; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }

  .activity-row em { display: none; }
}

@media (max-width: 410px) {
  :root { --page: min(100% - 18px, 1180px); }
  .brand-copy strong { font-size: 14px; }
  .theme-button,
  .menu-button { width: 42px; height: 42px; border-radius: 14px; }
  .hero h1 { font-size: 41px; }
  .dashboard-brand small { display: none; }
  .contact-form { padding: 14px; }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Language selector */
.language-control {
  position: relative;
  flex: 0 0 auto;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 11px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--text);
  background: var(--surface);
}

.language-control svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.language-control select {
  width: 88px;
  height: 100%;
  padding: 0 20px 0 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.language-control select option {
  color: #111827;
  background: #fff;
}

.language-control:focus-within {
  border-color: rgba(34,211,238,.58);
  box-shadow: 0 0 0 4px rgba(34,211,238,.09);
}

.footer-cookie-button {
  width: fit-content;
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  text-align: left;
}

.footer-cookie-button:hover,
.footer-cookie-button:focus-visible {
  color: var(--text);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Privacy and cookie preferences */
body.cookie-open { overflow: hidden; }

.cookie-layer[hidden],
[data-cookie-settings-view][hidden],
[data-cookie-main][hidden] {
  display: none !important;
}

.cookie-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: end center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}

.cookie-layer.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,7,18,.68);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.cookie-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(760px, calc(100svh - 36px));
  overflow: auto;
  padding: clamp(20px,3.2vw,32px);
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  outline: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 94% 0%, rgba(34,211,238,.13), transparent 31%),
    radial-gradient(circle at 2% 100%, rgba(139,92,246,.15), transparent 34%),
    color-mix(in srgb, var(--surface-solid) 97%, var(--bg));
  box-shadow: 0 32px 100px rgba(0,0,0,.52);
  transform: translateY(24px) scale(.985);
  transition: transform .2s ease;
}

.cookie-layer.is-open .cookie-dialog { transform: none; }

.cookie-view {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 18px 20px;
  align-items: start;
}

.cookie-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: #07111f;
  background: linear-gradient(135deg,#d9ffe9,#dff9ff);
  font-size: 25px;
  font-weight: 900;
}

.cookie-kicker {
  display: block;
  margin-bottom: 6px;
  color: color-mix(in srgb, var(--primary-2) 76%, var(--text));
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cookie-dialog h2 {
  margin-bottom: 10px;
  font-size: clamp(25px,4vw,38px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.cookie-dialog p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
}

.cookie-policy-link {
  display: inline-block;
  margin-top: 12px;
  color: color-mix(in srgb, var(--primary-2) 78%, var(--text));
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 4px;
}

.cookie-actions .button {
  min-height: 47px;
  padding-inline: 17px;
  font-size: 12px;
}

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

.cookie-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.cookie-close {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: var(--surface);
  font-size: 24px;
  line-height: 1;
}

.cookie-option,
.cookie-no-tracking {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: color-mix(in srgb, var(--bg) 35%, transparent);
}

.cookie-option > div,
.cookie-no-tracking { min-width: 0; }
.cookie-option > div { margin-right: auto; }
.cookie-option strong,
.cookie-no-tracking strong { display: block; margin-bottom: 3px; font-size: 13px; }
.cookie-option p,
.cookie-no-tracking p { font-size: 11px; }

.cookie-status {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(67,230,163,.2);
  border-radius: 999px;
  color: color-mix(in srgb, var(--accent) 72%, var(--text));
  background: rgba(67,230,163,.09);
  font-size: 9px;
  font-weight: 900;
}

.cookie-option-switch {
  position: relative;
  cursor: pointer;
}

.cookie-option-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch {
  position: relative;
  flex: 0 0 auto;
  width: 48px;
  height: 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-strong);
  transition: background .18s ease, border-color .18s ease;
}

.switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 5px 13px rgba(0,0,0,.22);
  transition: transform .18s ease, background .18s ease;
}

.cookie-option-switch input:checked + .switch {
  border-color: rgba(67,230,163,.42);
  background: rgba(67,230,163,.2);
}

.cookie-option-switch input:checked + .switch::after {
  transform: translateX(20px);
  background: var(--accent);
}

.cookie-option-switch input:focus-visible + .switch {
  box-shadow: 0 0 0 4px rgba(34,211,238,.12);
}

.cookie-no-tracking {
  display: block;
  border-style: dashed;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .main-menu a { padding-inline: 9px; font-size: 12px; }
  .language-control select { width: 72px; }
}

@media (max-width: 860px) {
  .language-control {
    order: 2;
    margin-left: auto;
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  .language-control select {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
  }

  .menu-button { order: 3; margin-left: 0; }
  .theme-button { order: 4; }
}

@media (max-width: 640px) {
  .cookie-layer { padding: 9px; }
  .cookie-dialog {
    max-height: calc(100svh - 18px);
    padding: 19px;
    border-radius: 24px;
  }

  .cookie-view { grid-template-columns: 1fr; }
  .cookie-icon { width: 47px; height: 47px; border-radius: 16px; }
  .cookie-actions { grid-column: 1; display: grid; grid-template-columns: 1fr; }
  .cookie-actions .button { width: 100%; }
  .cookie-option { align-items: flex-start; }
  .cookie-option:not(.cookie-option-switch) { flex-direction: column; }
  .cookie-status { align-self: flex-start; }
}

@media (max-width: 430px) {
  .brand-copy { display: none; }
  .language-control,
  .theme-button,
  .menu-button { width: 41px; height: 41px; }
}

/* =========================================================
   Rendimiento máximo y contraste consistente
   ========================================================= */
:root {
  --control-bg: #111a31;
  --control-bg-focus: #16213b;
  --control-text: #f7faff;
  --control-placeholder: #8391a9;
  --control-border: #34405a;
  --option-bg: #111a31;
  --option-text: #f7faff;
  --shadow: 0 14px 38px rgba(0,0,0,.25);
  --shadow-soft: 0 7px 22px rgba(0,0,0,.16);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --control-bg: #ffffff;
  --control-bg-focus: #ffffff;
  --control-text: #10182b;
  --control-placeholder: #6f7b90;
  --control-border: #c8d0df;
  --option-bg: #ffffff;
  --option-text: #10182b;
  --shadow: 0 14px 38px rgba(47,60,90,.12);
  --shadow-soft: 0 7px 22px rgba(47,60,90,.09);
  color-scheme: light;
}

html { scroll-behavior: auto; }
body::before { display: none; }

/* Controles: evita fondos blancos ilegibles y estilos inconsistentes del navegador. */
.field input,
.field textarea,
.field select,
.language-control,
.language-control select,
.cookie-close {
  color: var(--control-text);
  border-color: var(--control-border);
  background-color: var(--control-bg);
}

.field input,
.field textarea,
.field select {
  -webkit-text-fill-color: var(--control-text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--control-placeholder);
  opacity: 1;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted-strong) 50%),
    linear-gradient(135deg, var(--muted-strong) 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field select option,
.language-control select option,
select option,
select optgroup {
  color: var(--option-text) !important;
  background: var(--option-bg) !important;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.language-control:focus-within {
  color: var(--control-text);
  border-color: #22b8cf;
  background-color: var(--control-bg-focus);
  box-shadow: 0 0 0 3px rgba(34,184,207,.13);
}

.field select:disabled,
.language-control select[aria-busy="true"] {
  color: var(--control-text);
  opacity: .78;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: var(--control-text) !important;
  caret-color: var(--control-text);
  box-shadow: 0 0 0 1000px var(--control-bg) inset !important;
  transition: background-color 99999s ease-out 0s;
}

/* Se eliminan desenfoques de fondo: son especialmente lentos en móviles. */
.nav-shell,
.floating-note,
.main-menu,
.cookie-backdrop {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.nav-shell {
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.site-header.is-scrolled .nav-shell,
.main-menu {
  background: var(--surface-solid);
}

.floating-note { background: var(--surface-solid); }
.brand img,
.mock-chart path { filter: none; }

/* Sin animaciones de entrada ni transformaciones costosas. */
.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

.service-card,
.project-card,
.process-card,
.button,
.main-menu a,
.theme-button,
.menu-button,
.faq-answer,
.faq-item button i::before,
.faq-item button i::after,
.switch,
.switch::after {
  transition-duration: .08s;
}

@media (hover:hover) and (pointer:fine) {
  .service-card:hover,
  .project-card:hover,
  .process-card:hover { transform: none; }
}

/* El popup abre y cierra de inmediato, sin blur ni escalado. */
.cookie-layer {
  transition: none;
  contain: layout paint style;
}

.cookie-backdrop {
  background: rgba(3,7,18,.58);
}

.cookie-dialog {
  background: var(--surface-solid);
  box-shadow: 0 14px 44px rgba(0,0,0,.34);
  transform: none;
  transition: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.cookie-option,
.cookie-no-tracking {
  background: var(--bg-soft);
}

/* Reduce el trabajo inicial del navegador en secciones fuera de pantalla. */
@supports (content-visibility: auto) {
  .section,
  .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
  }
}

.service-card,
.project-card,
.process-card,
.dashboard-card,
.contact-panel,
.value-panel {
  contain: layout paint;
}

@media (max-width: 860px) {
  body {
    background: var(--bg);
  }

  .section-dark,
  .dashboard-card,
  .service-card,
  .project-card,
  .value-panel,
  .contact-panel,
  .legal-document,
  .error-card {
    background-image: none;
  }

  .cookie-dialog {
    box-shadow: 0 8px 28px rgba(0,0,0,.3);
  }
}

.about-section { padding-top: 34px; }

.about-shell {
  display: grid;
  grid-template-columns: minmax(300px,.78fr) minmax(0,1.22fr);
  gap: clamp(34px,6vw,78px);
  align-items: center;
  padding: clamp(24px,4.5vw,52px);
  border: 1px solid var(--line);
  border-radius: 42px;
  background:
    radial-gradient(circle at 8% 12%, rgba(139,92,246,.2), transparent 34%),
    radial-gradient(circle at 92% 88%, rgba(34,211,238,.13), transparent 32%),
    linear-gradient(145deg, var(--surface-strong), var(--surface));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-portrait-wrap {
  position: relative;
  width: min(100%, 470px);
  margin-inline: auto;
}

.about-photo-frame {
  position: relative;
  aspect-ratio: 1;
  padding: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(139,92,246,.28), rgba(34,211,238,.2));
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 25px;
  background: var(--surface-solid);
}

.about-photo-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: #fff;
  background: rgba(8,13,27,.78);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.about-signature-card {
  position: relative;
  z-index: 2;
  width: calc(100% - 34px);
  display: grid;
  gap: 3px;
  margin: -38px auto 0;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
}

.about-signature-card strong { font-size: 15px; }
.about-signature-card span { color: var(--muted); font-size: 12px; font-weight: 700; }

.about-content h2 {
  max-width: 760px;
  margin: 20px 0 18px;
  font-size: clamp(34px,4.6vw,58px);
  line-height: 1;
  letter-spacing: -.058em;
}

.about-content > p {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.72;
}

.about-content .about-lead {
  color: var(--muted-strong);
  font-size: 17px;
  font-weight: 650;
}

.about-strengths {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.about-strengths article {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 34%, transparent);
}

.about-strengths article > span {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #07111f;
  background: linear-gradient(135deg, #d8ccff, #bff7ff);
  font-size: 10px;
  font-weight: 950;
}

.about-strengths article > div { display: grid; gap: 3px; }
.about-strengths strong { font-size: 14px; }
.about-strengths small { color: var(--muted); line-height: 1.45; }

.about-content blockquote {
  margin: 22px 0;
  padding: 17px 18px;
  border-left: 3px solid var(--primary-2);
  border-radius: 0 16px 16px 0;
  color: var(--muted-strong);
  background: rgba(34,211,238,.07);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.6;
}

.about-cta { margin-top: 2px; }

@media (max-width: 1080px) {
  .about-shell { grid-template-columns: minmax(260px,.7fr) minmax(0,1.3fr); }
}

@media (max-width: 860px) {
  .about-shell { grid-template-columns: 1fr; }
  .about-portrait-wrap { width: min(100%, 520px); }
}

@media (max-width: 640px) {
  .about-section { padding-top: 12px; }
  .about-shell { padding: 18px; border-radius: 29px; }
  .about-photo-frame { border-radius: 25px; }
  .about-photo { border-radius: 18px; }
  .about-photo-badge { top: 18px; left: 18px; }
  .about-content h2 { font-size: clamp(34px,11vw,48px); }
  .about-content .about-lead { font-size: 15px; }
  .about-cta { width: 100%; }
}

.template-showcase{position:relative;overflow:hidden;background:radial-gradient(circle at 82% 35%,rgba(124,92,255,.2),transparent 32%),var(--surface)}
.template-showcase-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);align-items:center;gap:clamp(3rem,8vw,8rem)}
.template-showcase-copy h2{max-width:760px;margin:.7rem 0 1rem;font-size:clamp(2.4rem,5vw,4.8rem);line-height:1;letter-spacing:-.06em}
.template-showcase-copy>p{max-width:650px;color:var(--muted);font-size:1.02rem;line-height:1.72}
.template-showcase-actions{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;margin-top:1.8rem}.template-showcase-actions>span{color:var(--muted);font-size:.75rem;font-weight:750}
.template-showcase-visual{position:relative;min-height:480px;perspective:1200px}
.showcase-sheet{position:absolute;overflow:hidden;width:72%;height:330px;padding:28px;border:1px solid rgba(255,255,255,.16);border-radius:25px;box-shadow:0 35px 80px rgba(0,0,0,.28)}
.showcase-sheet small{font-size:.62rem;letter-spacing:.15em}.showcase-sheet strong{display:block;margin:.7rem 0;font-size:2.2rem;letter-spacing:-.055em}.showcase-sheet>span{display:block;width:55%;height:8px;border-radius:10px;background:currentColor;opacity:.22}.showcase-sheet>div{display:grid;gap:10px;margin-top:55px}.showcase-sheet>div i{display:block;border-radius:14px;background:rgba(255,255,255,.22)}
.sheet-one{z-index:3;left:2%;top:95px;background:linear-gradient(145deg,#151126,#392b90);color:#fff;transform:rotate(-7deg)}.sheet-one>div{grid-template-columns:repeat(3,1fr)}.sheet-one>div i{height:105px;background:linear-gradient(145deg,#7c5cff,#17d8c9)}
.sheet-two{z-index:2;right:0;top:15px;background:linear-gradient(145deg,#eaf5f5,#fff);color:#17323b;transform:rotate(6deg)}.sheet-two>div{grid-template-columns:1.2fr .8fr}.sheet-two>div i{height:105px;background:linear-gradient(145deg,#247b93,#e5b870)}
.sheet-three{z-index:1;right:8%;bottom:0;background:linear-gradient(145deg,#ece7de,#f8f5ef);color:#111;transform:rotate(11deg)}.sheet-three>div{grid-template-columns:1.5fr .7fr .7fr}.sheet-three>div i{height:100px;border-radius:0;background:linear-gradient(145deg,#ff4c27,#111)}
@media(max-width:900px){.template-showcase-grid{grid-template-columns:1fr}.template-showcase-visual{max-width:680px;width:100%;margin:auto}}
@media(max-width:620px){.template-showcase-visual{min-height:350px}.showcase-sheet{height:245px;padding:20px}.showcase-sheet strong{font-size:1.45rem}.showcase-sheet>div{margin-top:36px}.showcase-sheet>div i{height:70px}.sheet-one{top:70px}.template-showcase-actions{align-items:flex-start;flex-direction:column}}
@media (max-width: 1050px) and (min-width: 861px) {
  .brand-copy small { display: none; }
  .main-menu a { padding-inline: 7px; font-size: 11px; }
  .main-menu .nav-cta { padding-inline: 10px; }
  .language-control { min-width: 78px; }
}

/* Afinado global de espacios y header */
.section{padding-block:clamp(62px,7vw,96px)}
.section-heading{margin-bottom:28px}
.site-header{background:transparent}
.nav-shell{box-shadow:0 12px 30px rgba(0,0,0,.10)}
.site-header.is-scrolled .nav-shell{box-shadow:0 12px 28px rgba(0,0,0,.12)}
@media (max-width:860px){.section{padding-block:64px}}

/* Fotografía del fundador optimizada para todos los tamaños */
.about-photo-frame picture{display:block;width:100%;height:100%}.about-photo-frame picture .about-photo{width:100%;height:100%;object-fit:cover;object-position:center 38%}

/* Ritmo vertical final */
.section{padding-block:clamp(58px,6.6vw,88px)}.section-heading{margin-bottom:26px}.about-section{padding-top:24px}.site-footer{padding-top:clamp(48px,6vw,78px)}
@media(max-width:860px){.section{padding-block:58px}.about-section{padding-top:10px}}
