:root {
  --ink: #182531;
  --muted: #5d6b77;
  --navy: #15324a;
  --teal: #1f7f8f;
  --green: #5f7f3f;
  --amber: #c08a2c;
  --red: #b34a3d;
  --paper: #fff;
  --soft: #f4f7f8;
  --line: #dce5e9;
  --shadow: 0 14px 34px rgba(15, 35, 50, .11);
  --header: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.52;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

body {
  padding-top: var(--header);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 154px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(9px, 1.2vw, 18px);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.main-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--teal);
}

.nav-cta {
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff !important;
  background: var(--red);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  flex: 0 0 auto;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
}

.section {
  padding: clamp(38px, 5vw, 72px) clamp(16px, 4vw, 48px);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, .68fr);
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  overflow: hidden;
  background: #10283c;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  opacity: .25;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,40,60,.96), rgba(16,40,60,.74) 48%, rgba(16,40,60,.35));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content,
.quick-form {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow img,
h2 img,
.quick-form h2 img {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.hero .eyebrow,
.split .eyebrow,
.final-cta .eyebrow {
  color: #9fe5ef;
}

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

h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.08;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.22;
}

.hero p:not(.eyebrow):not(.lead) {
  max-width: 760px;
  color: rgba(255,255,255,.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 22px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
button {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.52);
}

.trust-list,
.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

.trust-list li,
.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.trust-list img,
.check-list img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.quick-form,
.full-form,
.inline-form {
  padding: 22px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quick-form h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
}

form {
  display: grid;
  gap: 13px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 900;
  color: var(--navy);
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd8de;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.section-heading {
  max-width: 980px;
  margin-bottom: clamp(20px, 3vw, 32px);
}

.intro,
.gallery,
.zone-section {
  background: var(--soft);
}

.two-col,
.province-layout,
.final-layout,
.company-layout {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(0,1fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: start;
}

.company-layout {
  align-items: stretch;
}

.product-list,
.application-grid,
.benefit-list,
.work-grid,
.case-list,
.sector-grid {
  display: grid;
  gap: 14px;
}

.application-grid,
.case-list,
.sector-grid {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.product-list,
.benefit-list,
.work-grid {
  grid-template-columns: repeat(4, minmax(0,1fr));
}

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

article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

article {
  padding: 20px;
}

article p {
  margin: 0 0 10px;
  color: var(--muted);
}

article p:last-child {
  margin-bottom: 0;
}


/* Case History */
.case-list article {
  padding: 0;
  overflow: hidden;
}

.case-list article h3 {
  position: relative;
  margin: 0;
  padding: 16px 18px 16px 48px;
  background: #eef6fb;
  border-bottom: 1px solid #d6e6ef;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.25;
}

.case-list article h3::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.case-list .case-company {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--navy);
}

.case-list .case-location {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: #5d6b77;
}

.case-list article p {
  margin: 0;
  padding: 9px 18px 0;
  color: var(--muted);
}

.case-list article p:first-of-type {
  padding-top: 16px;
}

.case-list article p:last-child {
  padding-bottom: 18px;
}

.case-list article p strong {
  color: var(--navy);
}

article ul {
  margin: 12px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

article li {
  margin: 4px 0;
}

.card-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(90deg, var(--navy), var(--teal));
}

.cta-strip strong,
.cta-strip span {
  display: block;
}

.split {
  color: #fff;
  background: var(--navy);
}

.split article {
  color: var(--ink);
}

.company figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.company-figure {
  display: flex;
  flex-direction: column;
}

.company-photo-top {
  flex: 0 0 auto;
}

.company figure img.company-photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.audience {
  background: #fff;
}

.method {
  background: #f7f2ea;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline > li {
  position: relative;
  min-height: 220px;
  padding: 58px 20px 20px;
  border: 1px solid #e3d6c2;
  border-radius: 8px;
  background: #fff;
  counter-increment: step;
}

.timeline > li::before {
  content: counter(step);
  position: absolute;
  top: 18px;
  left: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--amber);
  font-weight: 900;
}

.province-preview {
  padding: 16px;
  border-left: 4px solid var(--teal);
  background: #fff;
  font-weight: 900;
}

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

.inline-form button {
  grid-column: 1 / -1;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 980px;
}

.faq summary {
  padding: 16px 18px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

/* Guida tecnica */
.technical-guide {
  background: var(--soft);
}

.technical-guide .section-heading {
  max-width: 980px;
}

.technical-guide-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.technical-guide-list summary {
  position: relative;
  list-style: none;
  padding: 16px 52px 16px 18px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.technical-guide-list summary::-webkit-details-marker {
  display: none;
}

.technical-guide-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--teal);
  font-size: 18px;
  line-height: 1;
}

.technical-guide-list details[open] summary::after {
  content: "−";
  background: var(--navy);
}

.technical-guide-list details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.technical-guide-list details p + p {
  padding-top: 0;
}

@media (max-width: 760px) {
  .technical-guide-list summary {
    padding-right: 48px;
  }
}

.final-cta {
  color: #fff;
  background: #172f28;
}

.final-layout p {
  color: rgba(255,255,255,.86);
}

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

.full-form label:last-of-type,
.full-form button {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(16px,4vw,48px);
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer img {
  width: 138px;
  flex: 0 0 auto;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer a {
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: repeat(2,minmax(0,1fr));
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .hero,
  .two-col,
  .company-layout,
  .province-layout,
  .final-layout {
    grid-template-columns: 1fr;
  }

  .quick-form {
    max-width: 620px;
  }

  .product-list,
  .product-list.expanded,
  .benefit-list,
  .work-grid,
  .timeline {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .application-grid,
  .case-list,
  .sector-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  :root {
    --header: 68px;
  }

  .site-header {
    padding: 9px 16px;
  }

  .brand img {
    width: 132px;
  }

  .main-nav {
    grid-template-columns: 1fr;
    gap: 0;
    max-height: calc(100vh - var(--header) - 20px);
    overflow-y: auto;
  }

  .main-nav a {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .section {
    padding: 34px 16px;
  }

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

  .hero-media::after {
    background: rgba(16,40,60,.86);
  }

  .hero-actions,
  .cta-strip,
  .company-callout,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .cta-strip .button,
  .company-phone,
  .site-footer a {
    width: 100%;
  }

  .trust-list,
  .product-list,
  .product-list.expanded,
  .application-grid,
  .benefit-list,
  .work-grid,
  .case-list,
  .sector-grid,
  .timeline,
  .inline-form,
  .full-form {
    grid-template-columns: 1fr !important;
  }

  .quick-form,
  .full-form,
  .inline-form {
    padding: 18px;
  }

  .quick-form h2 {
    font-size: 24px;
  }

  .company figure img.company-photo {
    min-height: 260px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 31px;
  }

  h2 {
    font-size: 25px;
  }

  article {
    padding: 16px;
  }

  .section {
    padding-left: 14px;
    padding-right: 14px;
  }
}