:root {
  --blue: #2e60b9;
  --blue-dark: #17396f;
  --blue-deep: #102849;
  --blue-soft: #eef4fc;
  --blue-line: #d9e5f6;
  --white: #ffffff;
  --ink: #172033;
  --muted: #5d6879;
  --surface: #f7f9fc;
  --line: #e5e9f0;
  --shadow: 0 18px 50px rgba(27, 54, 94, 0.10);
  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-deep);
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }
.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;
}

.service-notice {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 24px;
  color: var(--white);
  background: var(--blue-deep);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
  text-align: center;
}
.notice-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #80aaf2;
  box-shadow: 0 0 0 5px rgba(128, 170, 242, .16);
}

.site-header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 0 max(28px, calc((100vw - var(--container)) / 2));
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 154px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative;
  padding: 30px 0 27px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 20px;
  height: 2px;
  background: var(--blue);
  transition: right .2s ease;
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - 122px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--white);
}
.hero-copy {
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 68px max(48px, calc((0vw - var(--container)) / 2)) 68px max(28px, calc((100vw - var(--container)) / 2));
}
.hero-inner { max-width: 570px; }
.eyebrow,
.section-kicker,
.document-type,
.contact-label {
  display: inline-block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 600px;
  margin: 18px 0 22px;
  color: var(--blue-deep);
  font-size: clamp(52px, 5.1vw, 84px);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 25px rgba(46, 96, 185, .23);
}
.button-primary:hover { background: #254f99; box-shadow: 0 15px 30px rgba(46, 96, 185, .30); }
.button-secondary { color: var(--blue); border-color: var(--blue-line); background: var(--white); }
.button-secondary:hover { border-color: var(--blue); }
.button-light { color: var(--blue-deep); background: var(--white); }
.button-outline { color: var(--blue); border-color: var(--blue); background: var(--white); }

.hero-image {
  min-height: 650px;
  background-image: linear-gradient(90deg, rgba(16,40,73,.08), rgba(16,40,73,0) 28%), url("assets/stabilimento-elachem.jpg");
  background-position: 45% center;
  background-size: cover;
}

.container { width: min(calc(100% - 48px), var(--container)); margin: 0 auto; }
.section { padding: 110px 0; }
.section-about { background: var(--white); }
.about-grid 
{ display: grid; 

	gap: clamp(50px, 8vw, 30px); 
	align-items: start; }
.section-heading {  top: 125px; }
.section-heading h2,
.products-intro h2,
.documents-intro h2,
.contact-heading h2 {
  margin: 14px 0 0;
  color: var(--blue-deep);
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.05;
  letter-spacing: -.045em;
}


.about-copy p {
  margin: 0 0 24px;
  color: #465164;
  font-size: 17px;
  line-height: 1.8;
  text-align: justify;
}
.about-copy strong { color: var(--ink); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(46,96,185,.35);
  padding-bottom: 4px;
}
.text-link:hover { border-color: var(--blue); }

.section-products { background: var(--blue-soft); }
.products-intro { max-width: 720px; margin-bottom: 42px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-card {
  min-height: 340px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(27,54,94,.07);
  text-align: justify;
}
.product-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
}
.product-card h3 { margin: 2px 0 16px; color: var(--blue-deep); font-size: 30px; line-height: 1.1; letter-spacing: -.03em; }
.product-card p { margin: 0 0 26px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.product-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.product-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-documents { background: var(--surface); }
.documents-intro {
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 42px;
}
.documents-intro p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.brochure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}
.brochure-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 30px;
  color: var(--white);
  background: var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.brochure-card .button { grid-column: 2; justify-self: start; }
.brochure-card-light {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--blue-line);
}
.brochure-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: currentColor;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
}
.brochure-card-light .brochure-mark { color: var(--blue); background: var(--blue-soft); border-color: var(--blue-line); }
.brochure-mark svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.brochure-content .document-type { color: #cfe0ff; }
.brochure-card-light .brochure-content .document-type { color: var(--blue); }
.brochure-content h3 { margin: 8px 0 6px; font-size: clamp(24px, 2vw, 32px); letter-spacing: -.025em; }
.brochure-content p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.55; }
.brochure-card-light .brochure-content p { color: var(--muted); }

.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.document-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.document-card:hover { transform: translateY(-4px); border-color: var(--blue-line); box-shadow: var(--shadow); }
.document-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid var(--blue-line);
  border-radius: 12px;
}
.document-icon span { font-size: 11px; font-weight: 900; letter-spacing: -.02em; }
.document-card-silver .document-icon { color: #4e5968; background: #eceff3; border-color: #d9dde4; }
.document-card h3 { margin: 9px 0 12px; color: var(--blue-deep); font-size: 20px; line-height: 1.25; letter-spacing: -.018em; }
.document-card p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.document-card a {
  margin-top: auto;
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}
.document-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.document-note { margin: 24px 0 0; color: #768194; font-size: 12px; line-height: 1.55; }

.contact-section {
  padding: 100px 0;
  color: var(--white);
  background: var(--blue-deep);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 8vw, 110px); }
.section-kicker-light { color: #8fb3f4; }
.contact-heading h2 { color: var(--white); }
.contact-heading p { max-width: 540px; margin: 24px 0 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.7; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.contact-item { min-height: 135px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 24px; background: var(--blue-deep); }
.contact-item-wide { grid-column: span 1; }
.contact-label { color: #8fb3f4; margin-bottom: 10px; }
.contact-item > a { color: var(--white); text-decoration: none; font-size: 18px; font-weight: 800; }
.contact-item a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-item small,
.contact-item address { color: rgba(255,255,255,.70); font-style: normal; line-height: 1.55; }
.contact-item small { margin-top: 7px; }
.contact-item small a { color: inherit; text-decoration: none; }

.site-footer { padding: 30px 0; background: #0b1d35; color: rgba(255,255,255,.64); }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer-grid img { width: 112px; filter: brightness(0) invert(1); opacity: .9; }
.footer-grid p { margin: 0; font-size: 12px; line-height: 1.5; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--white); }

:focus-visible { outline: 3px solid #84acf2; outline-offset: 3px; }

@media (max-width: 980px) {
  .site-header { padding-inline: 24px; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; padding: 80px 32px 74px; }
  .hero-image { min-height: 52vw; max-height: 520px; background-position: center; }
  .about-grid,
  .documents-intro,
  .contact-grid { grid-template-columns: 1fr; }
  .section-heading { position: static; }
  .about-grid { gap: 42px; }
  .documents-intro { gap: 20px; }
  .product-grid,
  .brochure-grid { grid-template-columns: 1fr; }
  .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .service-notice { font-size: 12px; }
  .site-header { height: 72px; padding-inline: 18px; }
  .brand img { width: 130px; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 0;
    border-radius: 8px;
    background: var(--blue-soft);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 21px; height: 2px; display: block; background: var(--blue-deep); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 35px rgba(16,40,73,.09);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }

  .hero-copy { padding: 68px 24px 58px; }
  .hero h1 { font-size: clamp(48px, 14vw, 66px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-image { min-height: 55vh; background-position: 56% center; }

  .container { width: min(calc(100% - 36px), var(--container)); }
  .section { padding: 78px 0; }
  .section-heading h2,
  .products-intro h2,
  .documents-intro h2,
  .contact-heading h2 { font-size: 39px; }
  .about-copy p { font-size: 16px; line-height: 1.72; }

  .product-card { min-height: 0; grid-template-columns: 1fr; padding: 26px; }
  .product-card h3 { font-size: 27px; }
  .brochure-card { grid-template-columns: 1fr; gap: 18px; padding: 26px; }
  .brochure-card .button { grid-column: 1; justify-self: stretch; }
  .brochure-mark { width: 56px; height: 56px; }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 270px; }
  .contact-section { padding: 78px 0; }
  .contact-details { grid-template-columns: 1fr; }
  .contact-item-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Legal pages */
.legal-page { background: var(--surface); }
.legal-page .site-header { position: sticky; }
.legal-hero {
  padding: 86px 0 74px;
  color: var(--white);
  background: var(--blue-deep);
}
.legal-hero-inner { max-width: var(--container); }
.legal-hero .section-kicker { color: #91b5f5; }
.legal-hero h1 {
  max-width: 850px;
  margin: 15px 0 22px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -.055em;
}
.legal-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.6;
}
.legal-section { padding: 82px 0 110px; }
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 780px);
  justify-content: space-between;
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: 118px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(27,54,94,.06);
}
.legal-toc strong {
  margin-bottom: 13px;
  color: var(--blue-deep);
  font-size: 14px;
}
.legal-toc a {
  padding: 9px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}
.legal-toc a:hover { color: var(--blue); }
.legal-content {
  padding: clamp(28px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(27,54,94,.07);
}
.legal-intro {
  margin-bottom: 44px;
  padding: 24px 26px;
  color: var(--blue-deep);
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
}
.legal-content section {
  padding-top: 8px;
  margin-top: 44px;
  scroll-margin-top: 120px;
}
.legal-content section:first-of-type { margin-top: 0; }
.legal-content h2 {
  margin: 0 0 18px;
  color: var(--blue-deep);
  font-size: clamp(27px, 3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.legal-content h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}
.legal-content p,
.legal-content li {
  color: #465164;
  font-size: 16px;
  line-height: 1.78;
}
.legal-content p { margin: 0 0 17px; }
.legal-content ul { margin: 0 0 18px; padding-left: 22px; }
.legal-content li { margin-bottom: 9px; }
.legal-content a { color: var(--blue); text-underline-offset: 3px; }
.cookie-status {
  margin: 4px 0 22px;
  padding: 22px 24px;
  color: var(--blue-deep);
  background: #f3f7fd;
  border: 1px solid var(--blue-line);
  border-radius: 12px;
}
.cookie-status strong { display: block; margin-bottom: 8px; }
.cookie-status p { margin: 0; color: var(--muted); }
.legal-meta {
  margin-top: 26px !important;
  padding-top: 18px;
  color: #7a8494 !important;
  border-top: 1px solid var(--line);
  font-size: 13px !important;
}
.footer-links a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
}

@media (max-width: 720px) {
  .legal-hero { padding: 62px 0 56px; }
  .legal-hero h1 { font-size: clamp(43px, 13vw, 58px); }
  .legal-section { padding: 52px 0 76px; }
  .legal-content { padding: 26px 22px; }
  .legal-intro { padding: 20px; }
  .legal-content p,
  .legal-content li { font-size: 15px; line-height: 1.7; }
}

