:root {
  --bg: #eef1f6;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --text: #0b1220;
  --muted: #445066;
  --line: #cfd6e3;
  --line-soft: #e3e8f1;

  --violet: #7a3cf0;
  --violet-deep: #5b22c4;
  --blue: #1189ff;
  --blue-deep: #0f2f9f;
  --mint: #2bd49c;

  --accent: #1d3fe0;
  --accent-dark: #0f2f9f;
  --soft: #eef2ff;

  --max: 1120px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 22px 60px -20px rgba(15, 23, 42, 0.18);

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --transition: 220ms var(--ease-out);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: rgba(122, 60, 240, 0.18);
  color: var(--text);
}

/* ─── Skip link ────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text);
  color: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: top var(--transition);
}

.skip-link:focus-visible {
  top: 16px;
}

/* ─── Background canvas ────────────────────────────────────────── */

.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.bg-canvas.is-ready {
  opacity: 1;
}

/* ─── Header ───────────────────────────────────────────────────── */

#site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 251, 0.72);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

#site-header.is-scrolled {
  background: rgba(247, 248, 251, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 22px -16px rgba(15, 23, 42, 0.18);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand-mark {
  display: block;
  width: 34px;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(122, 60, 240, 0.22));
  transition: transform var(--transition);
}

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

.nav-links a {
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border-radius: 2px;
  content: "";
  transition: width var(--transition);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: white !important;
  font-weight: 650;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(11, 18, 32, 0.55);
}

/* ─── Language switcher ────────────────────────────────────────── */

.lang-switcher {
  position: relative;
  display: inline-flex;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.lang-toggle:hover {
  border-color: rgba(122, 60, 240, 0.45);
  transform: translateY(-1px);
}

.lang-toggle[aria-expanded="true"] {
  border-color: rgba(122, 60, 240, 0.55);
  background: white;
}

.lang-flag {
  font-size: 15px;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.08em;
}

.lang-caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform var(--transition);
}

.lang-toggle[aria-expanded="true"] .lang-caret {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  min-width: 180px;
  margin: 0;
  padding: 6px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  list-style: none;
  box-shadow: var(--shadow-lg);
  transform-origin: top right;
  transform: scale(0.96) translateY(-6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 180ms;
}

.lang-menu[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.lang-menu li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition);
}

.lang-menu li:hover,
.lang-menu li:focus-visible {
  background: var(--soft);
  outline: none;
}

.lang-menu li[aria-selected="true"] {
  background: rgba(122, 60, 240, 0.08);
  color: var(--violet-deep);
  font-weight: 700;
}

.lang-menu .lang-name {
  flex: 1;
}

.lang-menu .lang-check {
  width: 14px;
  height: 14px;
  color: var(--violet);
  opacity: 0;
}

.lang-menu li[aria-selected="true"] .lang-check {
  opacity: 1;
}

/* ─── Layout ───────────────────────────────────────────────────── */

main {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
  border-top: 1px solid var(--line-soft);
}

.proof {
  padding: 0 0 72px;
  border-top: 0;
}

/* ─── Hero ─────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 96px 0 88px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -60px -160px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 30%, rgba(122, 60, 240, 0.10), transparent 60%),
    radial-gradient(ellipse at 12% 78%, rgba(17, 137, 255, 0.08), transparent 60%),
    url("../images/fondo.png") right center / cover no-repeat;
  opacity: 0.34;
  filter: blur(28px) saturate(1.05);
  mask-image: radial-gradient(ellipse at 68% 45%, black 0%, rgba(0, 0, 0, 0.7) 38%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 68% 45%, black 0%, rgba(0, 0, 0, 0.7) 38%, transparent 78%);
  animation: heroBgDrift 18s ease-in-out infinite;
}

@keyframes heroBgDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(-12px, -8px, 0); }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 12px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 0 0 4px rgba(122, 60, 240, 0.12);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122, 60, 240, 0.30); }
  60%      { box-shadow: 0 0 0 8px rgba(122, 60, 240, 0); }
}

h1,
.hero-title {
  max-width: 880px;
  margin: 0;
  font-size: clamp(40px, 6.4vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero-title-text {
  background: linear-gradient(
    100deg,
    #0b1220 0%,
    #0b1220 28%,
    var(--violet) 42%,
    var(--blue) 56%,
    var(--mint) 66%,
    #0b1220 80%,
    #0b1220 100%
  );
  background-size: 240% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: aiShine 9s ease-in-out infinite;
}

@keyframes aiShine {
  0%   { background-position: 100% 50%; }
  50%  { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-text {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  position: relative;
  background: linear-gradient(120deg, var(--violet), var(--blue));
  border-color: transparent;
  color: white;
  box-shadow: 0 14px 30px -14px rgba(91, 34, 196, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px -16px rgba(91, 34, 196, 0.70);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--text);
  background: var(--surface-soft);
}

.btn-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ─── Hero visual ──────────────────────────────────────────────── */

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.hero-visual::before {
  position: absolute;
  z-index: 0;
  width: min(92%, 480px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(122, 60, 240, 0.24), rgba(17, 137, 255, 0.16) 45%, transparent 70%);
  filter: blur(34px);
  content: "";
  animation: heroHalo 8s ease-in-out infinite;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  height: auto;
  filter:
    drop-shadow(0 20px 40px rgba(122, 60, 240, 0.22))
    drop-shadow(0 8px 24px rgba(17, 137, 255, 0.18));
}

@keyframes heroHalo {
  0%, 100% { opacity: 0.55; transform: scale(0.95); }
  50%      { opacity: 0.95; transform: scale(1.06); }
}

/* ─── Proof / quick facts ──────────────────────────────────────── */

.proof-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding: 30px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.proof-panel h2 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.proof-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.fact {
  position: relative;
  padding: 18px;
  background: #eef3ff;
  border: 1px solid #d7def0;
  border-radius: 14px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.fact::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  content: "";
  opacity: 0.5;
}

.fact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.fact strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.fact span {
  color: var(--muted);
  font-size: 14px;
}

/* ─── Sections ─────────────────────────────────────────────────── */

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

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  background: rgba(122, 60, 240, 0.08);
  border-radius: 999px;
  color: var(--violet-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.05em;
  font-weight: 800;
}

.section-head p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

/* ─── Services ─────────────────────────────────────────────────── */

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

.service-card {
  position: relative;
  padding: 32px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.service-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  content: "";
  transform-origin: left;
  transform: scaleX(0.25);
  transition: transform 480ms var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(122, 60, 240, 0.32);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.number {
  margin-bottom: 18px;
  color: var(--violet-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 15px;
}

.list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list li::before {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  content: "";
}

/* ─── Approach ─────────────────────────────────────────────────── */

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

.step {
  position: relative;
  padding: 22px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step span {
  display: inline-block;
  padding: 3px 9px;
  background: rgba(122, 60, 240, 0.10);
  border-radius: 999px;
  color: var(--violet-deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.step h3 {
  margin: 14px 0 8px;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── Contact section ──────────────────────────────────────────── */

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
  padding: 44px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(122, 60, 240, 0.15), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(17, 137, 255, 0.12), transparent 60%),
    var(--text);
  border-radius: var(--radius-lg);
  color: white;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 60, 240, 0.7), rgba(17, 137, 255, 0.7), transparent);
  content: "";
}

.contact-copy .kicker {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.95);
}

.contact-copy h2 {
  max-width: 560px;
  color: white;
}

.contact-copy p {
  margin: 16px 0 0;
  max-width: 540px;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
}

.contact-points {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: #d8dee9;
  font-size: 14.5px;
}

.contact-points li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.contact-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  box-shadow: 0 0 0 4px rgba(122, 60, 240, 0.15);
}

/* ─── Contact form ─────────────────────────────────────────────── */

.contact-form {
  display: grid;
  gap: 14px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

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

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

.field-label {
  color: #d8dee9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.field-label em {
  margin-left: 2px;
  color: var(--mint);
  font-style: normal;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: white;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(122, 60, 240, 0.7);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(122, 60, 240, 0.18);
}

.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 91, 110, 0.55);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--violet);
  cursor: pointer;
}

.consent a {
  color: white;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.form-actions .btn {
  padding: 13px 22px;
}

.form-actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-note {
  margin: 0;
  color: #d8dee9;
  font-size: 13.5px;
  min-height: 18px;
}

.form-note.is-error {
  color: #ff9aa5;
}

.form-note.is-success {
  color: var(--mint);
}

/* ─── Footer ───────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5));
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr);
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 30px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin: 6px 0 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

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

.footer-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col-title {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  color: var(--muted);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--violet-deep);
}

/* Corporate / legal identification — static HTML, always present in source */
.footer-legal {
  background: var(--surface-soft);
  border-top: 1px solid var(--line-soft);
}

.footer-legal-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
}

.footer-legal p {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

.footer-legal-line {
  color: var(--text);
  font-weight: 650;
}

.footer-legal a {
  color: var(--violet-deep);
}

.footer-legal a:hover {
  color: var(--accent-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px 32px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12.5px;
}

.footer-bottom a {
  color: inherit;
}

.footer-bottom a:hover {
  color: var(--violet-deep);
}

/* ─── Cookie banner ────────────────────────────────────────────── */

.cookie-banner {
  position: fixed;
  z-index: 50;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 540px;
  margin: 0 auto;
  padding: 16px 18px;
  background: rgba(11, 18, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  color: white;
  font-size: 13.5px;
  line-height: 1.55;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateY(20px);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-inner > div {
  flex: 1 1 220px;
}

.cookie-inner strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
}

.cookie-inner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
}

.cookie-inner a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-inner .btn {
  padding: 10px 18px;
  font-size: 14px;
}

/* ─── Legal pages ──────────────────────────────────────────────── */

body.legal {
  background:
    radial-gradient(ellipse at 50% -10%, rgba(122, 60, 240, 0.07), transparent 60%),
    var(--bg);
}

.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.legal-head {
  margin-bottom: 28px;
}

.legal-head h1 {
  margin: 4px 0 8px;
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -0.03em;
}

.legal-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 38px;
  box-shadow: var(--shadow-md);
}

.legal-content section {
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}

.legal-content section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  margin: 16px 0 8px;
  font-size: 15.5px;
  font-weight: 700;
}

.legal-content p,
.legal-content li {
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content p {
  margin: 0 0 10px;
}

.legal-content ul {
  margin: 0 0 8px;
  padding: 0 0 0 20px;
}

.legal-content li {
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--violet-deep);
  text-decoration: underline;
  text-decoration-color: rgba(122, 60, 240, 0.30);
  text-underline-offset: 3px;
}

.legal-content a:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

.legal-content code {
  padding: 1px 6px;
  background: var(--soft);
  border-radius: 6px;
  font-family: ui-monospace, "JetBrains Mono", Consolas, monospace;
  font-size: 13.5px;
}

.legal-back {
  margin-top: 28px;
}

/* ─── Company page ─────────────────────────────────────────────── */

.company-lead {
  margin: 0;
  color: var(--text);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.6;
}

.company-fiche {
  margin: 0;
}

.company-fiche > div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 6px 24px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
}

.company-fiche > div:first-child {
  padding-top: 0;
  border-top: 0;
}

.company-fiche dt {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.company-fiche dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}

.company-fiche a {
  color: var(--violet-deep);
  text-decoration: underline;
  text-decoration-color: rgba(122, 60, 240, 0.30);
  text-underline-offset: 3px;
}

.company-fiche a:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

/* ─── Reveal-on-scroll ─────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
  will-change: opacity, transform;
}

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

/* ─── Responsive ───────────────────────────────────────────────── */

@media (max-width: 960px) {
  .hero {
    padding: 64px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual {
    order: -1;
    min-height: 0;
  }

  .hero-logo {
    width: min(70%, 320px);
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px;
  }
}

@media (max-width: 860px) {
  section {
    padding: 56px 0;
  }

  .services,
  .proof-panel {
    grid-template-columns: 1fr;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

  .approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .lang-toggle .lang-code {
    display: none;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 24px 24px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (max-width: 560px) {
  main {
    padding: 0 18px;
  }

  .nav {
    padding: 14px 18px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-logo {
    width: min(64%, 250px);
  }

  .eyebrow {
    font-size: 12px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
  }

  .actions .btn {
    width: 100%;
  }

  .contact-panel {
    padding: 24px;
  }

  .contact-form {
    padding: 20px;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 12px;
  }

  .legal-content {
    padding: 24px 22px;
  }

  .company-fiche > div {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 12px 0;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px 16px;
  }

  .cookie-inner .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  h1,
  .hero-title {
    font-size: clamp(34px, 9vw, 44px);
  }

  .hero-text {
    font-size: 15.5px;
  }

  .brand {
    font-size: 16px;
    gap: 8px;
  }

  .brand-mark {
    width: 30px;
  }
}

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

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

  .bg-canvas {
    display: none;
  }
}
