*{box-sizing:border-box}body{margin:0;background:#0b111a;color:#edf3fa;font:16px/1.65 system-ui,sans-serif}a{color:inherit}header,main,footer{max-width:1180px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}nav{display:flex;gap:20px;flex-wrap:wrap}nav a{text-decoration:none;color:#b9c9db}.brand{font-weight:850;letter-spacing:.08em;text-decoration:none;font-size:24px}.brand small{display:block;font-size:10px;letter-spacing:.22em;color:#83b8ff}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:36px;align-items:center;padding:40px 0 64px}h1{font-size:clamp(38px,6vw,76px);line-height:1.05;letter-spacing:-.05em;margin:16px 0}h2{font-size:32px;line-height:1.2}p{color:#bac9d9}.eyebrow{color:#83b8ff;font-size:12px;letter-spacing:.18em;font-weight:700}.btn{display:inline-block;background:#83b8ff;color:#081322;padding:13px 22px;border-radius:8px;text-decoration:none;font-weight:750;border:0;cursor:pointer}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.card{background:#131e2c;border:1px solid #29394c;border-radius:16px;overflow:hidden;padding:22px}.card img,.hero img{width:100%;object-fit:cover;border-radius:12px}.card img{height:240px;object-position:center 55%}.hero img{max-height:490px;object-fit:contain;background:#e8e8e8}.placeholder{height:240px;display:grid;place-items:center;background:#203044;border-radius:12px;color:#b9c9db}section{margin:50px 0}footer{border-top:1px solid #29394c;color:#aab9ca;font-size:14px}label{display:block;margin:12px 0}input,select,textarea{display:block;width:100%;padding:12px;background:#0b111a;color:white;border:1px solid #52647a;border-radius:6px;font:inherit}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid white;outline-offset:4px}@media(max-width:700px){.hero{grid-template-columns:1fr;padding-top:12px}header,main,footer{padding:18px}nav{gap:12px;font-size:14px}}@media(max-width:700px){.hero{gap:20px;padding-bottom:24px}.hero img{max-height:360px}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))}nav a{min-height:44px;display:inline-flex;align-items:center}header{gap:8px}section{margin:36px 0}}input,textarea,select{min-width:0}pre{overflow-wrap:anywhere}
.service-lead{border-left:4px solid #83b8ff;background:#131e2c;padding:clamp(20px,4vw,36px);border-radius:8px}.service-lead h2{margin:.35em 0}.service-lead p{max-width:65ch}.service-lead a:not(.btn){color:#a7cdff;text-underline-offset:.2em}
/* Each catalog row always fills the available width. */
.catalog-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
.catalog-grid>.card{min-width:0;padding:16px;display:flex;flex-direction:column}
.catalog-grid>.card img{height:auto;aspect-ratio:4/5;object-fit:cover}
.catalog-grid>.card h3{margin:.8em 0 .2em;line-height:1.2}
.catalog-grid>.card p{margin:0 0 .75em}
.catalog-grid>.card a{margin-top:auto;display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.2em}
@media (min-width:621px) and (max-width:1099px){
  .catalog-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
  .catalog-grid>.card{grid-column:span 2}
  .catalog-grid>.card:nth-last-child(-n+2){grid-column:span 3}
  .catalog-grid>.card img{aspect-ratio:4/3}
}
@media (max-width:620px){
  .catalog-grid{grid-template-columns:minmax(0,1fr)}
  .catalog-grid>.card img{aspect-ratio:4/3}
}

@media (max-width:620px){
 .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .catalog-grid>.card{padding:10px}
 .catalog-grid>.card img{aspect-ratio:16/9}
 .catalog-grid>.card:last-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px}
 .catalog-grid>.card:last-child img{grid-row:1/4;align-self:center}
 .catalog-grid>.card h3{margin:.5em 0 .2em;font-size:1rem}
 .catalog-grid>.card p{font-size:.875rem;line-height:1.35;margin:0}
 .catalog-grid>.card a{font-size:.875rem}
}
.services-intro{margin:clamp(20px,4vw,48px) 0}
.services-intro p{max-width:65ch}
.service-steps{list-style:none;padding:0}
.service-steps h3{margin-top:0}
.legal-page{max-width:760px;margin:32px 0 64px}.legal-page h1{font-size:clamp(34px,6vw,58px)}.legal-page h2{font-size:clamp(22px,3vw,30px);margin-top:30px}
.sector-grid{margin-top:24px}.sector-grid h2{font-size:clamp(21px,2.4vw,27px);margin-top:0}.sector-grid .card>a{display:table;min-height:44px;padding:8px 0;color:#a7cdff;text-underline-offset:.2em}.sector-cta{margin:28px 0 42px}
.seo-page{max-width:980px}.seo-page h1{font-size:clamp(34px,6vw,64px)}.seo-page .seo-intro,.seo-page section>p{max-width:66ch}.seo-page .crumb{margin:0 0 22px}.seo-page h2,.seo-directory .card h2{font-size:clamp(22px,3vw,30px)}.seo-page section{margin:34px 0}.seo-cta{margin:28px 0 42px}.seo-model-image{display:block;width:min(100%,520px);height:auto;max-height:400px;object-fit:contain;background:#e8e8e8;border-radius:12px}.resource-links{padding-left:22px}.resource-links li{margin:6px 0}.resource-links a,.seo-directory a{color:#a7cdff;text-underline-offset:.2em}.seo-cluster{margin-bottom:26px}.seo-directory .card h2{margin-top:0}


/* Homepage: product discovery first; support stays available without competing. */
.home-hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(20px,4vw,48px);padding:clamp(24px,4vw,48px) 0}
.home-hero h1{font-size:clamp(2.5rem,5.75vw,4.75rem);max-width:13ch}
.home-hero-copy>p{max-width:43ch;margin:0 0 1.2rem}
.home-hero-copy>.home-hero-support{font-size:.875rem;margin:.75rem 0 0}
.home-hero-support a{text-underline-offset:.2em}
.home-hero-media{position:relative;min-width:0;margin:0;overflow:hidden;border-radius:16px;background:#141f2e}
.home-hero-media img{display:block;width:100%;height:clamp(280px,38vw,460px);max-height:none;object-fit:contain;background:#e8e8e8;border-radius:0}
.home-hero-media figcaption{position:absolute;inset:auto auto 10px 10px;max-width:calc(100% - 20px);padding:3px 9px;border-radius:5px;background:#0b111a;color:#edf3fa;font-size:.875rem}
.home-hero+#soluzioni{margin-top:0;scroll-margin-top:16px}
@media(max-width:700px){
 .home-hero{grid-template-columns:minmax(0,1fr);gap:14px;padding:12px 0 22px}
 .home-hero h1{font-size:clamp(2.25rem,8vw,3rem);margin:10px 0}
 .home-hero-copy>p{margin-bottom:12px}
 .home-hero-media img{height:clamp(148px,42vw,232px)}
}

/* Keep the link text available to screen readers while displaying the brand artwork. */
header .brand{display:block;width:242px;max-width:100%;height:auto;aspect-ratio:650 / 152;flex:0 0 auto;background:url("alltech-robotics-logo.svg") left center / contain no-repeat;font-size:0;line-height:0}
header .brand small{font-size:0}
header .brand:focus-visible{outline:2px solid #83b8ff;outline-offset:4px;border-radius:4px}
@media(max-width:700px){header .brand{width:205px}}

.neto-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.neto-card {
  display: flex;
  flex-direction: column;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #35495f;
  border-radius: 16px;
  background: #142031;
}
.neto-card-current {
  border-color: #83b8ff;
}
.neto-card-heading {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.neto-card-heading h3 {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}
.neto-current {
  color: #b7d9ff;
  font-size: .85rem;
}
.neto-card dl {
  margin: 14px 0;
}
.neto-card dl div {
  padding: 9px 0;
  border-top: 1px solid #35495f;
}
.neto-card dt {
  color: #bed0e4;
  font-size: .875rem;
}
.neto-card dd {
  margin: 2px 0 0;
  color: #edf3fa;
}
.neto-model-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding: 0 12px;
  border: 1px solid #83b8ff;
  border-radius: 8px;
  color: #b7d9ff;
  text-underline-offset: .2em;
}
.neto-model-link:hover,
.neto-model-link:focus-visible {
  background: #263d58;
}
@media (max-width: 600px) {
  .neto-grid { grid-template-columns: minmax(0, 1fr); }
}

.model-hero {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 5vw, 48px);
  margin: 20px 0 34px;
}
.model-hero-action {
  min-width: 0;
}
.model-hero-action .btn {
  max-width: 100%;
  white-space: normal;
}
@media (min-width: 701px) {
  .nova-page .nova-hero > .nova-demo {
    grid-area: 1 / 1;
  }
  .nova-page .nova-hero > .nova-intro {
    grid-area: 1 / 2;
  }
}
@media (max-width: 700px) {
  .model-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.model-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
}
.model-hero-action {
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid #35495f;
  border-radius: 16px;
  background: #142031;
}
.model-hero-action h2 {
  margin: 0;
  line-height: 1.18;
}
.model-hero-action p {
  margin: 12px 0 20px;
}
@media (max-width: 700px) {
  .model-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}
.model-hero {
  padding: clamp(12px, 2.5vw, 24px);
  border: 1px solid #35495f;
  border-radius: 20px;
  background: linear-gradient(130deg, #162435, #101a28);
}
.model-hero-action {
  padding: clamp(4px, 1.8vw, 22px);
  border: 0;
  background: transparent;
}
.model-hero figure figcaption {
  margin-top: 6px;
  color: #b7c8db;
  font-size: .82rem;
}
@media (max-width: 700px) {
  .model-hero-action {
    padding: 3px 4px 8px;
  }
}

.neto-card-heading {
  min-height: 3.2rem;
  align-content: start;
}
.neto-cutout {
  display: block;
  object-fit: contain;
}
@media (max-width: 600px) {
  .neto-card-heading { min-height: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .seo-page:has(.neto-compare) .model-hero {
    animation: neto-entrance 360ms ease-out both;
  }
  .neto-card {
    transition: border-color 180ms ease, transform 180ms ease;
  }
  .neto-card:hover,
  .neto-card:focus-within {
    border-color: #83b8ff;
    transform: translateY(-2px);
  }
  @keyframes neto-entrance {
    from { opacity: .7; transform: translateY(8px); }
  }
}

.neto-art {
  display: grid;
  place-items: center;
  height: clamp(110px, 16vw, 154px);
  margin: 4px 0;
  background: radial-gradient(ellipse at center, #28415c 0, transparent 70%);
}
.neto-art .neto-cutout {
  width: auto;
  max-width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  background: none;
}
.neto-cutout-small {
  transform: translateY(2.2%) scale(.63);
  transform-origin: center 91%;
}

.neto-compare > .neto-other {
  margin: 30px 0 0;
}
.neto-other h3 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}
.neto-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.neto-category-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  border: 1px solid #35495f;
  border-radius: 14px;
  background: #152131;
  color: #eef6ff;
  text-decoration: none;
}
.neto-category-image {
  display: grid;
  min-height: 100px;
  place-items: center;
  background: radial-gradient(ellipse at center, #294562, transparent 72%);
}
.neto-category-image img {
  display: block;
  width: 112px;
  max-width: 100%;
  height: 112px;
  object-fit: contain;
}
.neto-category-button,
.neto-model-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-radius: 9px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
}
.neto-category-button {
  flex: 1;
  min-height: 48px;
  padding: 9px 10px;
  background: #243b55;
}
.neto-category-tile:focus-visible,
.neto-model-link:focus-visible {
  outline: 2px solid #9ed7ff;
  outline-offset: 3px;
}
.neto-category-tile:hover .neto-category-button,
.neto-category-tile:focus-visible .neto-category-button {
  background: #325472;
}
.neto-model-link {
  align-self: stretch;
  min-height: 48px;
  padding: 8px 11px 8px 14px;
  border: 0;
  background: #a7ceff;
  color: #0c1930;
}
.neto-model-link:hover,
.neto-model-link:focus-visible {
  background: #c4deff;
}
.neto-button-arrow {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: #83b8ff32;
  line-height: 1;
}
.neto-model-link .neto-button-arrow {
  background: #244b7524;
}
@media (max-width: 800px) {
  .neto-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .neto-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 350px) {
  .neto-category-grid { grid-template-columns: minmax(0, 1fr); }
}

a.service-action,
.card > a.service-action,
.service-lead > a.service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #507aa7;
  border-radius: 9px;
  background: #243b55;
  color: #e6f2ff;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
a.service-action:hover,
a.service-action:focus-visible {
  border-color: #9ed7ff;
  background: #325472;
}
a.service-action:focus-visible {
  outline: 2px solid #9ed7ff;
  outline-offset: 3px;
}
.service-action-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Pulsante sopralluogo nella testata */
header nav {
  align-items: center;
}
header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
header nav a[href="sopralluogo.html"] {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  box-sizing: border-box;
  border: 1px solid #8cc9ff;
  border-radius: 999px;
  background: #b6dcff;
  color: #0a2542;
  font-weight: 700;
  white-space: nowrap;
}
header nav a[href="sopralluogo.html"]:hover {
  background: #d3eaff;
}
header nav a[href="sopralluogo.html"]:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (min-width: 700px) {
  header nav a[href="sopralluogo.html"] { margin-inline-start: 8px; }
}
@media (prefers-reduced-motion: no-preference) {
  header nav a[href="sopralluogo.html"] {
    animation: header-cta-highlight 900ms ease-out 180ms both;
    transition: background-color 180ms ease, transform 180ms ease;
  }
  header nav a[href="sopralluogo.html"]:hover { transform: translateY(-2px); }
  @keyframes header-cta-highlight {
    from { box-shadow: 0 0 0 0 #83b8ff70; }
    to { box-shadow: 0 0 0 7px #83b8ff00; }
  }
}
