/* =========================================================
   Protom Robotics — sito web 2027
   Palette e forme da protom_presentation_style_guide.md
   ========================================================= */

:root {
  --graphite: #4B4F52;
  --graphite-dark: #2F3234;
  --graphite-soft: #7E8285;
  --yellow: #FFD129;
  --yellow-deep: #F5C400;
  --cyan: #65DFF4;
  --cyan-soft: #DDF6FB;
  --white: #FFFFFF;
  --ice: #F4F8FA;
  --line: #E3EAEE;

  --radius-lg: 28px;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(47, 50, 52, .08), 0 2px 6px rgba(47, 50, 52, .04);
  --shadow-hover: 0 18px 44px rgba(47, 50, 52, .12), 0 4px 10px rgba(47, 50, 52, .05);

  --font-title: "Montserrat", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); color: var(--graphite-dark); line-height: 1.12; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Bottoni e tag ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--graphite-dark);
  color: var(--white);
  font-family: var(--font-title); font-weight: 700; font-size: .95rem;
  text-decoration: none; border: 2px solid var(--graphite-dark);
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
  position: relative;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(47,50,52,.18); }
.btn::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: 8px; height: 2px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.btn:hover::after { transform: scaleX(1); }
.btn-ghost { background: transparent; color: var(--graphite-dark); }
.btn-ghost::after { display: none; }
.btn-ghost:hover { background: var(--white); }
.btn-small { padding: 9px 18px; font-size: .85rem; }
.btn-small::after { bottom: 5px; left: 16px; right: 16px; }

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cyan-soft);
  color: var(--graphite-dark);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(47,50,52,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px;
  background: var(--cyan); transform: scaleX(0); transition: transform .2s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--graphite-dark); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, var(--ice) 55%, #EAF6FA 100%);
  padding: 72px 0 96px;
}
.hero-lines {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    linear-gradient(115deg, transparent 49.85%, var(--cyan) 50%, transparent 50.15%) 0 0 / 100% 100% no-repeat,
    linear-gradient(115deg, transparent 49.9%, var(--cyan) 50%, transparent 50.1%) 220px 0 / 100% 100% no-repeat;
  mask-image: linear-gradient(90deg, transparent 30%, #000 60%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero-text .tag { margin-bottom: 22px; }
.hl {
  background: linear-gradient(transparent 64%, var(--yellow) 64%, var(--yellow) 92%, transparent 92%);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 4px; margin: 0 -4px;
}
.hero h1 { position: relative; z-index: 0; }
.led-rule { display: flex; gap: 10px; margin: 28px 0 22px; }
.led-rule span { height: 3px; border-radius: 3px; background: var(--cyan); }
.led-rule span:first-child { width: 56px; }
.led-rule span:last-child { width: 220px; opacity: .55; }
.lead { font-size: 1.2rem; max-width: 33ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- Sezioni ---------- */
.section { padding: 104px 0; position: relative; }
.section-ice { background: var(--ice); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { margin-top: 14px; font-size: 1.1rem; }
.section-num {
  display: inline-block; margin-bottom: 12px;
  font-family: var(--font-title); font-weight: 800; font-size: .95rem; color: var(--graphite-dark);
  padding: 2px 16px 2px 10px; background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}

/* Cards */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card h3 { margin: 20px 0 8px; }
.card p { font-size: .95rem; }
.icon {
  width: 58px; height: 58px; border-radius: 16px;
  display: grid; place-items: center; background: var(--ice);
  border-left: 3px solid var(--cyan);
}
.icon svg { width: 32px; height: 32px; fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Contatti */
.contact { background: linear-gradient(160deg, var(--white), var(--ice)); overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 520px; height: 90px; left: -120px; bottom: 60px;
  background: var(--yellow); transform: rotate(-18deg); border-radius: 12px; opacity: .9;
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-grid > div p { margin-top: 14px; font-size: 1.1rem; max-width: 40ch; }
.mascot-note {
  display: flex; align-items: center; gap: 16px; margin-top: 36px; max-width: 420px;
  padding: 14px 18px 14px 14px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 3px solid var(--cyan);
}
.mascot-note img { width: 64px; height: auto; border-radius: 14px; flex-shrink: 0; }
.mascot-note p { margin: 0 !important; font-size: .92rem !important; }
.contact-form {
  background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-hover);
  display: grid; gap: 18px;
}
.contact-form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--graphite-dark); }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; color: var(--graphite-dark);
  padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--ice); transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); background: var(--white); }
.contact-form .btn { justify-self: start; margin-top: 4px; }

/* Footer */
.site-footer { background: var(--graphite-dark); color: #C9CDCF; padding: 44px 0; font-size: .9rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner img { height: 46px; width: auto; }
.site-footer a { color: var(--cyan); text-decoration: none; }
.legal { color: #9AA0A3; }

/* Animazione all'ingresso */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero: Probot ---------- */
.hero { padding-bottom: 56px; }
.hero-visual { position: relative; min-height: 560px; display: flex; align-items: flex-end; justify-content: center; }
.diag {
  position: absolute; width: 150%; height: 130px; right: -50%; top: 46%;
  background: linear-gradient(90deg, rgba(255,209,41,.2), var(--yellow));
  transform: rotate(-24deg); border-radius: 14px;
}
.halo {
  position: absolute; width: 360px; height: 360px; top: 4%; left: 50%; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101,223,244,.35), rgba(101,223,244,0) 68%);
}
.hero-robot {
  position: relative; height: 560px; width: auto;
  filter: drop-shadow(0 30px 40px rgba(47,50,52,.22));
}
/* ---------- Metodo ---------- */
.step-n {
  position: relative; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 16px;
  background: var(--white); border: 2px solid var(--cyan);
  font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; color: var(--graphite-dark);
  box-shadow: 0 0 0 6px var(--white);
}
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; position: relative; }
.journey::before {
  content: ""; position: absolute; top: 25px; left: 26px; right: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 10px, transparent 10px 18px);
}
.journey li:last-child .step-n { background: var(--yellow); border-color: var(--yellow); }
.journey h3 { margin: 20px 0 6px; font-size: 1.05rem; }
.journey p { font-size: .92rem; }

/* ---------- Altri device ---------- */
.devices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.device {
  background: var(--white); border-radius: var(--radius); padding: 0 22px 26px;
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.device:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.device-img {
  margin: 0 -22px 20px; height: 190px; padding: 18px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--ice), #E6F3F7);
  border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--yellow) 0 35%, var(--cyan) 35% 100%) 1;
}
.device-img img { width: 100%; max-width: 210px; height: 150px; object-fit: contain; }
.device-cta {
  display: flex; flex-direction: column; justify-content: center; padding: 30px 24px;
  text-decoration: none; color: inherit; background: var(--graphite-dark); border-color: var(--graphite-dark);
}
.device-cta h3 { color: var(--white); }
.device-cta p { color: #C9CDCF; }
.device-cta .plus {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--yellow); color: var(--graphite-dark); font-family: var(--font-title); font-weight: 800; font-size: 1.8rem;
}

.device h3 { margin: 4px 0 8px; }
.device p { font-size: .93rem; }
/* ---------- Settori ---------- */

/* ---------- Social ---------- */
.social { display: inline-flex; gap: 10px; align-items: center; }
.social a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.social svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social svg .dot { fill: currentColor; stroke: none; }
.social-nav a { width: 36px; height: 36px; justify-content: center; border-radius: 10px; color: var(--graphite); transition: background .2s, color .2s; }
.social-nav a:hover { background: var(--cyan-soft); color: var(--graphite-dark); }
.social-nav a::after { display: none; }
.social-big { margin-top: 24px; gap: 12px; flex-wrap: wrap; }
.social-big a {
  padding: 10px 18px; border-radius: 999px; background: var(--white); box-shadow: var(--shadow);
  font-weight: 600; font-size: .92rem; color: var(--graphite-dark); transition: transform .2s;
}
.social-big a:hover { transform: translateY(-2px); }
.site-footer .social a { width: 38px; height: 38px; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--white); }
.site-footer .social a:hover { background: var(--cyan); color: var(--graphite-dark); }

/* ---------- Due strade ---------- */
.paths { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; }
.path {
  display: grid; grid-template-columns: 200px 1fr; align-items: stretch;
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s;
}
.path:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.path-img {
  display: grid; place-items: center; padding: 20px;
  background: linear-gradient(160deg, var(--ice), #E3F4F8);
  border-right: 3px solid; border-image: linear-gradient(180deg, var(--yellow) 0 35%, var(--cyan) 35% 100%) 1;
}
.path-probot .path-img img { max-height: 280px; width: auto; filter: drop-shadow(0 14px 18px rgba(47,50,52,.18)); }
.path-multi { grid-template-rows: repeat(3, 1fr); gap: 10px; }
.path-multi img { width: 100%; height: 72px; object-fit: contain; }
.path-body { padding: 30px 28px; }
.path-body h3 { font-size: 1.5rem; margin: 6px 0 10px; }
.path-probot { border-color: rgba(255,209,41,.7); }
.kicker { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #B8920A; }
.ticks { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.ticks svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--cyan); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.path-link { font-family: var(--font-title); font-weight: 700; font-size: .92rem; color: var(--graphite-dark); border-bottom: 2px solid var(--yellow); }

/* ---------- Probot ---------- */
.probot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.probot-media { position: relative; }
.probot-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-hover); aspect-ratio: 625 / 480; background: #22262A; }
.probot-photo img { width: 100%; height: 100%; object-fit: cover; }
.award {
  margin-top: 22px; display: flex; align-items: center; gap: 18px;
  padding: 14px 18px 14px 14px; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow); border-left: 3px solid var(--yellow);
}
.award img { width: 150px; height: auto; border-radius: 10px; flex-shrink: 0; }
.award strong { display: block; font-family: var(--font-title); color: var(--graphite-dark); }
.award span:not(.award-k) { font-size: .88rem; }
.award-k { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #B8920A; }
.traits { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.traits li { display: flex; align-items: flex-start; gap: 16px; }
.traits svg {
  width: 44px; height: 44px; padding: 10px; flex-shrink: 0; border-radius: 14px;
  background: var(--white); box-shadow: var(--shadow);
  fill: none; stroke: var(--graphite); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.traits li:nth-child(1) svg { stroke: #2BB5CF; }
.traits p { font-size: 1.02rem; padding-top: 9px; }
.traits strong { color: var(--graphite-dark); font-family: var(--font-title); }
.badges { grid-column: 1 / -1; margin-top: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.badge {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); min-height: 72px;
}
.badge-ico { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--cyan-soft); }
.badge-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--graphite-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.badge-t { font-size: .8rem; line-height: 1.35; color: var(--graphite-soft); }
.badge-t strong { display: block; font-family: var(--font-title); font-size: .86rem; color: var(--graphite-dark); }
.probot-lead { margin-top: 14px; font-size: 1.12rem; }
.features { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.features li {
  background: var(--white); border-radius: var(--radius); padding: 16px 18px;
  box-shadow: var(--shadow); border-left: 3px solid var(--cyan);
}
.features strong { display: block; font-family: var(--font-title); color: var(--graphite-dark); }
.features span { font-size: .88rem; }

.status {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .02em;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-market { background: var(--yellow); color: var(--graphite-dark); }
.st-market::before { background: var(--graphite-dark); }
.st-research { background: var(--cyan-soft); color: #13778A; }
.st-progress { background: var(--ice); color: var(--graphite-soft); }

.use { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.use-body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 4px; }
.use-body .status { margin-bottom: 10px; }
.use-k { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite-soft); }
.use h4 { font-family: var(--font-title); font-size: 1.25rem; color: var(--graphite-dark); margin: 2px 0 6px; }
.use p { font-size: .95rem; }
.use-list { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.use-list li { padding-left: 16px; position: relative; }
.use-list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.use-list strong { color: var(--graphite-dark); }
.use-body .path-link { align-self: flex-start; text-decoration: none; }

.uses-market { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 40%, #3A4044, #1E2124 70%); overflow: hidden;
}
.video-poster { position: absolute; left: 50%; top: 10%; height: 120%; width: auto; transform: translateX(-50%); opacity: .55; transition: opacity .3s, transform .3s; }
.video-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .3s; }
.video:hover .video-thumb { opacity: 1; transform: scale(1.03); }
.video:hover .video-poster { opacity: .7; transform: translateX(-50%) scale(1.03); }
.play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 10px rgba(255,209,41,.25); transition: transform .2s;
}
.play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 20px solid var(--graphite-dark); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.video:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.video-label {
  position: absolute; left: 16px; bottom: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); font-size: .8rem; font-weight: 600; color: var(--graphite-dark);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.uses-sub {
  display: flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite-soft);
}
.uses-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.uses-market + .uses-sub { margin-top: 56px; }
.use-visual { display: grid; place-items: center; padding: 20px; background: linear-gradient(160deg, var(--ice), #E3F4F8); }
.uses-lab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.use-lab { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--line); display: flex; flex-direction: column; }
.use-lab .use-visual { height: 150px; overflow: hidden; }
.use-lab .use-visual img { height: 110px; width: auto; max-width: 100%; }
.use-lab .use-visual img[src$=".jpg"] { width: 100%; height: 150px; object-fit: cover; }
.use-lab .use-visual:has(img[src$=".jpg"]) { padding: 0; }
.use-lab .use-body { padding: 18px 22px 22px; flex: 1; }
.use-lab h4 { font-size: 1.08rem; }
.use-lab p { font-size: .9rem; }
.use-lab .path-link { margin-top: 10px; font-size: .85rem; }

.journey-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Selettore lingua ---------- */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--ice); border: 1px solid var(--line); }
.nav .lang a { padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--graphite-soft); text-decoration: none; }
.nav .lang a::after { display: none; }
.nav .lang a.on { background: var(--graphite-dark); color: var(--white); }
.nav .lang a:not(.on):hover { color: var(--graphite-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .journey::before { display: none; }
  .devices { grid-template-columns: repeat(2, 1fr); }
  .uses-lab { grid-template-columns: 1fr 1fr; }
  .paths { grid-template-columns: 1fr; }
  .journey-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .social-nav { padding: 12px 0 0; }
  .nav .lang { align-self: flex-start; margin-top: 14px; }
  .nav .lang a { border-bottom: 0; padding: 6px 14px; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 40px 0 48px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { min-height: 0; }
  .hero-robot { height: 400px; }
  .halo { width: 280px; height: 280px; }
  .probot-grid { grid-template-columns: 1fr; gap: 48px; }

  .section { padding: 76px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .badges { grid-template-columns: 1fr; }
    .cards-3, .devices, .journey, .journey-4, .features, .uses-market { grid-template-columns: 1fr; }
  .uses-lab { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .path-img { border-right: 0; border-bottom: 3px solid; border-image: linear-gradient(90deg, var(--yellow) 0 35%, var(--cyan) 35% 100%) 1; }
  .path-probot .path-img img { max-height: 200px; }
  .path-multi { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .path-body { padding: 24px 22px; }
  .brand img { height: 38px; }
  .hero-robot { height: 340px; }
  .contact-form { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 561px) and (max-width: 1100px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
}
