/* Sito creato con ❤ custom da MarTe Graphics | autore e sito web: www.martegraphics.it | All Rights Reserved. */

@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/outfit-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('assets/fonts/outfit-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-500-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-600-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/poppins-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('assets/fonts/poppins-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-hyphens: none; hyphens: none; }
h1, h2, h3, h4, p, li, a, span, dt, dd, button, th, td { overflow-wrap: normal; word-break: normal; -webkit-hyphens: none; hyphens: none; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html { scroll-behavior: auto; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

:root {
  --paper: #ffffff;
  --paper-soft: #f6faf8;
  --grey-pale: #f4f4f5;
  --ink: #12201c;
  --ink-soft: #4c5c56;
  --green: #2e9f82;
  --green-deep: #1c6350;
  --green-pale: #e6f5ef;
  --brand: #005da4;
  --brand-deep: #003a66;
  --brand-pale: #e7eef4;
  --blue: #3565a8;
  --blue-deep: #26406e;
  --blue-pale: #eaf0f8;
  --beige: #a98a55;
  --beige-deep: #7b6336;
  --beige-pale: #f7f2e8;
  --line: #e1e8e5;
  --container: 1180px;
  --ease: cubic-bezier(.16,.84,.32,1);
  --fs-body: 17px;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

h1, h2, h3, .wordmark {
  font-family: 'Poppins', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
}

img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-deep);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 10px 0;
  z-index: 100;
  font-size: .9rem;
}
.skip-link:focus {
  left: 0;
}

.hero {
  position: relative;
}

@keyframes heroFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: no-preference) {
  .act-text {
    opacity: 0;
    animation: heroFadeIn .7s var(--ease) both;
    animation-delay: calc(.15s + (var(--wall-count, 16) * .035s) + .25s);
  }
}

.hero-pin {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 42% at 28% 18%, var(--brand-pale) 0%, rgba(231,238,244,0) 72%),
    radial-gradient(ellipse 50% 46% at 76% 78%, rgba(0,93,164,.12) 0%, rgba(0,93,164,0) 70%),
    var(--paper);
}

.hero-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: clamp(20px, 4vw, 40px) clamp(20px, 5vw, 56px) 0;
}

.wordmark {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--ink);
}

.brand-logo {
  height: clamp(48px, 7vw, 76px);
  width: auto;
  display: block;
}

.hero-tag {
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.hero-top-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}

.lang-btn:hover { border-color: var(--brand); color: var(--brand-deep); }
.lang-btn.is-active { border-color: var(--brand-deep); color: var(--brand-deep); }

.flag {
  display: block;
  width: 100%;
  height: 100%;
}

.flag-fr { background: linear-gradient(90deg, #0055a4 0 33.3%, #fff 33.3% 66.6%, #ef4135 66.6% 100%); }
.flag-it { background: linear-gradient(90deg, #009246 0 33.3%, #fff 33.3% 66.6%, #ce2b37 66.6% 100%); }

.whatsapp-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(18,32,28,.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -14px rgba(18,32,28,.55);
}

.whatsapp-float svg { width: 28px; height: 28px; }

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(24px, 4vh, 56px) clamp(20px, 6vw, 80px);
}

.hero-wall {
  --wall-cols: 6;
  display: grid;
  grid-template-columns: repeat(var(--wall-cols), 1fr);
  grid-auto-rows: clamp(64px, 7vw, 92px);
  grid-auto-flow: dense;
  gap: clamp(8px, 1vw, 14px);
  width: 100%;
  max-width: 640px;
}

@media (hover: hover) {
}

@keyframes wallHintPulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.35); }
}

@media (prefers-reduced-motion: reduce) {
}

@media (hover: hover) {
}

.act-text {
  position: relative;
  flex: 0 0 clamp(300px, 30vw, 380px);
  z-index: 6;
}

.act-title {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.16;
  color: var(--ink);
}

.act-title span { color: var(--brand); }

.act-desc {
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: justify;
}

.act-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.act-stats li {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  font-size: .8125rem;
  color: var(--ink-soft);
}

.act-stats b {
  font-family: 'Poppins', 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.concept-badge {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 20;
  font-size: .75rem;
  letter-spacing: .03em;
  color: var(--ink-soft);
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1rem;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.sidenav {
  position: fixed;
  right: clamp(12px, 2vw, 22px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: .55rem;
  pointer-events: none;
}

.sidenav-toggle {
  order: 2;
  pointer-events: auto;
  width: 46px;
  height: 46px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 30px -14px rgba(18,32,28,.45);
  cursor: pointer;
}

.sidenav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-deep);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.sidenav.open .sidenav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sidenav.open .sidenav-toggle span:nth-child(2) { opacity: 0; }
.sidenav.open .sidenav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.sidenav-panel {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: .5rem;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 22px 54px -22px rgba(18,32,28,.45);
  opacity: 0;
  visibility: hidden;
  transform: translateX(12px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}

.sidenav.open .sidenav-panel { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.sidenav-panel a {
  display: block;
  padding: .5rem .95rem;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.sidenav-panel a:hover { background: var(--brand-pale); color: var(--brand-deep); }

.site-footer {
  background: #0e1d29;
  color: rgba(255,255,255,.85);
  padding: clamp(60px, 9vw, 110px) clamp(24px, 6vw, 80px) clamp(26px, 4vw, 40px);
}

.footer-cta { max-width: 640px; margin: 0 auto; text-align: center; }

.footer-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6c9cc0;
  margin: 0 0 1rem;
}

.footer-title { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 600; line-height: 1.15; color: #fff; }
.footer-title span { color: #fff; }

.footer-sub {
  margin: 1rem auto 1.9rem;
  max-width: 460px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
}

.footer-legal {
  max-width: var(--container);
  margin: clamp(2.75rem, 5vw, 3.75rem) auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  font-size: .85rem;
}

.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-links span { margin: 0 .5rem; opacity: .4; }
.footer-copy { margin: 0; color: rgba(255,255,255,.55); }
.footer-copy a { color: rgba(255,255,255,.78); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.26); }
.footer-copy a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.7); }

@media (max-width: 600px) {
  .footer-legal { flex-direction: column; text-align: center; justify-content: center; }
}

.downloads {
  position: relative;
  background: var(--grey-pale);
  padding: clamp(76px, 11vw, 132px) clamp(24px, 6vw, 80px);
}

.dl-wrap {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.dl-eyebrow {
  font-family: inherit;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 1.25rem;
}

.dl-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

.dl-title span { color: var(--ink); }

.dl-intro {
  max-width: 560px;
  margin: 1.25rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: justify;
}

.dl-grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  text-align: left;
}

.dl-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 12px 30px -22px rgba(18,32,28,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.dl-card:hover,
.dl-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px -24px rgba(18,32,28,.5);
  border-color: var(--brand);
  outline: none;
}

.dl-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  background: linear-gradient(135deg, #eef6f2, #e2efe9);
  color: var(--brand-deep);
  border-bottom: 1px solid var(--line);
}

.dl-thumb svg { width: 38px; height: 38px; opacity: .5; }

.dl-thumb-img { padding: 0; gap: 0; overflow: hidden; background: #eef6f2; }
.dl-thumb-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.dl-thumb-flat { aspect-ratio: 16 / 9; }

.dl-thumb small {
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .85;
}

.dl-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
}

.dl-ic {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-pale);
  color: var(--brand-deep);
}

.dl-ic svg { width: 22px; height: 22px; }

.dl-ic.dl-cta {
  width: auto;
  height: auto;
  display: inline-flex;
  gap: .45rem;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  background: var(--brand-deep);
  color: #ffffff;
  font-weight: 500;
  font-size: .85rem;
  white-space: nowrap;
  transition: background .25s var(--ease);
}

.dl-ic.dl-cta svg { width: 17px; height: 17px; }

.dl-card:hover .dl-ic.dl-cta,
.dl-card:focus-visible .dl-ic.dl-cta { background: #002e51; }

.dl-body {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  flex: 1;
}

.dl-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.dl-meta {
  font-size: .85rem;
  color: var(--ink-soft);
}

.dl-foot {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.dl-foot > span {
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .95rem 2rem;
  background: var(--brand-deep);
  color: #ffffff;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 16px 32px -16px rgba(0,58,102,.55);
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.btn:hover {
  background: #002e51;
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green-deep);
  box-shadow: 0 16px 32px -16px rgba(28,99,80,.55);
}

.btn-green:hover {
  background: #164f41;
}

.btn-blue {
  background: var(--blue-deep);
  box-shadow: 0 16px 32px -16px rgba(38,64,110,.55);
}

.btn-blue:hover {
  background: #1d3357;
}

.btn-beige {
  background: var(--beige-deep);
  box-shadow: 0 16px 32px -16px rgba(123,99,54,.5);
}

.btn-beige:hover {
  background: #62502c;
}

.btn-grey {
  background: #5f6d67;
  box-shadow: 0 16px 32px -16px rgba(60,70,66,.5);
}

.btn-grey:hover {
  background: #4c5a54;
}

.btn-sm {
  padding: .72rem 1.35rem;
  font-size: .9rem;
}

.act-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

[data-reveal].in-view {
  opacity: 1;
  transform: none;
}

[data-reveal="1"] { transition-delay: 0s; }
[data-reveal="2"] { transition-delay: .12s; }
[data-reveal="3"] { transition-delay: .24s; }

.systems {
  position: relative;
  background: var(--paper);
}

.systems-head {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(56px, 9vh, 104px) clamp(24px, 6vw, 40px) clamp(2.2rem, 5vw, 3.6rem);
  text-align: center;
}
.systems-title {
  font-family: 'Poppins','Outfit',sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--ink);
  margin: 0;
}
.systems-desc {
  margin: 1.1rem auto 0;
  max-width: 62ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.systems-note {
  max-width: 60ch;
  margin: 1.1rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.systems-points {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem 1.7rem;
}
.systems-points li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink);
  font-weight: 500;
}
.systems-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.scene-name {
  font-family: 'Poppins','Outfit',sans-serif;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.scene-green .sys-c { color: var(--green); }
.scene-blue .sys-c { color: var(--blue); }
.scene-beige .sys-c { color: var(--beige-deep); }

.systems-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
}

.scene-panel {
  position: relative;
  padding: clamp(38px, 6vh, 72px) clamp(24px, 5vw, 64px) clamp(56px, 9vh, 110px);
  text-align: center;
}

.scene-green { background: var(--green-pale); }
.scene-beige { background: var(--beige-pale); }
.scene-blue { background: var(--blue-pale); }

.systems-divider {
  align-self: stretch;
  width: 1px;
  margin: clamp(3rem, 8vh, 5rem) 0;
  background: linear-gradient(var(--green), var(--blue));
}

.systems-divider + .scene-blue + .systems-divider {
  background: linear-gradient(var(--blue), var(--beige));
}

.scene-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin: 0 0 1rem;
}

.scene-blue .scene-eyebrow { color: var(--blue-deep); }
.scene-beige .scene-eyebrow { color: var(--beige-deep); }

.scene-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.16;
  color: var(--ink);
  min-height: calc(1.16em * 3);
}

.scene-title span { color: var(--green); }
.scene-blue .scene-title span { color: var(--blue); }
.scene-beige .scene-title span { color: var(--beige-deep); }

.scene-desc {
  margin: 1.1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: justify;
}

.scene-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: .65rem;
}

.scene-points li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink);
}

.scene-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .58em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.scene-blue .scene-points li::before { background: var(--blue); }

.waterband {
  position: relative;
  overflow: hidden;
  min-height: clamp(300px, 44vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #26406e;
}

.waterband-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/ripple-water.webp');
  background-size: cover;
  background-position: center;
}

.waterband::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18,32,64,.30) 0%, rgba(18,32,64,.46) 100%);
  pointer-events: none;
}

.waterband-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(52px, 8vw, 96px) clamp(24px, 6vw, 56px);
  pointer-events: none;
}

.waterband-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  margin: 0 0 1rem;
}

.waterband-title {
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 600;
  line-height: 1.14;
  margin: 0;
  text-shadow: 0 2px 24px rgba(10,20,40,.35);
}

.waterband-title span { color: #b7d8ee; }

.waterband-sub {
  margin: 1.1rem auto 0;
  max-width: 520px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  text-align: center;
}

.tricolore {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg,
    #009246 0 33.34%,
    #ffffff 33.34% 66.67%,
    #ce2b37 66.67% 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.1s var(--ease);
}

.tricolore.in-view { transform: scaleX(1); }

.section-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  margin: 0;
}

.section-title span { color: var(--ink); }

.section-intro {
  max-width: 580px;
  margin: 1.1rem auto 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  text-align: center;
}

.certs {
  padding: clamp(60px, 10vh, 120px) clamp(24px, 6vw, 80px);
  background: var(--paper);
}

.certs-wrap {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.certs-grid {
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  padding: 2rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 14px 32px -26px rgba(18,32,28,.4);
}

.cert-ic {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-pale);
  color: var(--brand-deep);
}

.cert-ic svg { width: 26px; height: 26px; }

.cert-name { font-weight: 600; font-size: 1.05rem; }
.cert-note { font-size: .85rem; color: var(--ink-soft); }

.cert-doc {
  margin: clamp(2.75rem, 5vw, 4rem) auto 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  text-align: left;
}

.cert-thumb { background: #fff; }

.cert-doc-eyebrow {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 .75rem;
}

.cert-doc-title {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 .9rem;
}

.cert-doc-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
}

.cert-more {
  margin: clamp(2.5rem, 5vw, 3.75rem) auto 0;
  max-width: 920px;
  text-align: left;
}

.cert-more-title {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 1.1rem;
}

.cert-more-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
  gap: 1rem;
}

@media (min-width: 601px) and (max-width: 900px) {
  .cert-more-grid { grid-template-columns: repeat(3, 1fr); }
}

.cert-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .28rem;
  padding: 1rem 1rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.cert-mini:hover,
.cert-mini:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -26px rgba(18,32,28,.5);
  border-color: var(--brand);
  outline: none;
}

.cert-mini-thumb {
  display: block;
  width: 74px;
  aspect-ratio: 1 / 1.414;
  margin-bottom: .8rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.cert-mini-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

.cert-mini-tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cert-mini-name { font-weight: 600; font-size: .95rem; line-height: 1.32; }

.cert-mini-cta {
  margin-top: auto;
  padding-top: .7rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.cert-mini-cta svg { width: 15px; height: 15px; }

.gallery {
  padding: clamp(60px, 10vh, 120px) 0;
  background: var(--paper-soft);
  overflow: hidden;
}

.gallery-head {
  max-width: var(--container);
  margin: 0 auto clamp(1.75rem, 3vw, 2.75rem);
  padding: 0 clamp(24px, 6vw, 80px);
  text-align: center;
}

.gallery-viewport {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gallery-viewport.is-grabbing { cursor: grabbing; }
.gallery-viewport::-webkit-scrollbar { height: 8px; }
.gallery-viewport::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; }
.gallery-viewport::-webkit-scrollbar-track { background: transparent; }

.gallery-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  user-select: none;
}

.gallery-item img { -webkit-user-drag: none; }

.gallery-item {
  flex: none;
  width: clamp(240px, 26vw, 340px);
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--grey-pale);
  display: grid;
  place-items: center;
}

.gallery-item.is-blue { background: linear-gradient(135deg, #eaf0f8, #dfe8f5); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  display: block;
}

.gallery-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--ink-soft);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.gallery-ph svg { width: 30px; height: 30px; opacity: .5; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - .5rem)); }
}

.agents {
  padding: clamp(60px, 10vh, 120px) clamp(24px, 6vw, 80px);
  background: var(--paper);
}

.agents-wrap { max-width: var(--container); margin: 0 auto; }
.agents-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }

.map {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 2000 / 857;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 50% 0%, #f2f7f4 0%, #e8f0ec 100%);
}

.map-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 round 22px);
}

.map-lines path {
  fill: none;
  stroke: var(--green-deep);
  stroke-width: .9;
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s var(--ease);
}

.map.in-view .map-lines path { stroke-dashoffset: 0; }

.map.dots .map-lines path {
  fill: url(#dotpat);
  stroke: none;
}

.map-pins {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  aspect-ratio: 2000 / 857;
  pointer-events: none;
}

.map-pins .pin { pointer-events: auto; }

.pin {
  position: absolute;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 2px solid #fff;
  background: var(--green);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(18,32,28,.35);
  z-index: 2;
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.map.in-view .pin { opacity: 1; transition-delay: .5s; }

.pin.is-hq { background: var(--blue-deep); width: 22px; height: 22px; }

.pin::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--green);
  opacity: .5;
  animation: pin-pulse 2.4s ease-out infinite;
}

.pin.is-hq::before { border-color: var(--blue); }

@keyframes pin-pulse {
  0% { transform: scale(.6); opacity: .6; }
  100% { transform: scale(1.7); opacity: 0; }
}

.pin-pop {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  width: max-content;
  max-width: 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(18,32,28,.45);
  padding: .7rem .9rem;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 5;
  pointer-events: none;
}

.pin.open .pin-pop,
.pin:hover .pin-pop,
.pin:focus-visible .pin-pop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.pin-pop b { display: block; font-size: .95rem; color: var(--ink); }
.pin-pop span { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: .15rem; }
.pin-pop em { font-style: normal; color: var(--green-deep); font-weight: 600; }

.agents-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: .8125rem;
  color: var(--ink-soft);
}

.dl-grid.dl-single {
  grid-template-columns: minmax(0, 440px);
  justify-content: center;
}

.catalogue {
  position: relative;
  background: var(--paper-soft);
  padding: clamp(72px, 12vw, 140px) clamp(24px, 6vw, 80px);
}

.cat-wrap { max-width: var(--container); margin: 0 auto; text-align: center; }

.cat-toolbar {
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.cat-search {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: min(460px, 100%);
  padding: .7rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 12px 30px -24px rgba(18,32,28,.4);
  color: var(--ink-soft);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.cat-search:focus-within { border-color: var(--brand); box-shadow: 0 12px 30px -20px rgba(0,93,164,.45); }
.cat-search svg { width: 18px; height: 18px; flex: none; }
.cat-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
}

.cat-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }

.cat-chip {
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: 999px;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.cat-chip:hover { border-color: var(--brand); color: var(--brand-deep); }
.cat-chip.is-active { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.cat-colour { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem; }
.cat-colour-lbl { font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; margin-right: .35rem; }
.cat-colour-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem 1rem .45rem .7rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: 999px;
  font: inherit;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.cat-colour-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(18,32,28,.18); }
.cat-colour-green .cat-colour-dot { background: var(--green); }
.cat-colour-blue .cat-colour-dot { background: var(--blue); }
.cat-colour-beige .cat-colour-dot { background: #cbb391; }
.cat-colour-btn:hover { border-color: var(--brand); color: var(--brand-deep); }
.cat-colour-green.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.cat-colour-blue.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-colour-beige.is-active { background: var(--beige-deep); border-color: var(--beige-deep); color: #fff; }

.cat-count { margin: 1.75rem 0 0; font-size: .85rem; color: var(--ink-soft); letter-spacing: .02em; }

.cat-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  column-gap: clamp(1rem, 2vw, 1.6rem);
  row-gap: clamp(1.9rem, 3.4vw, 3.2rem);
  text-align: left;
}
@media (min-width: 1600px) {
  .cat-wrap { max-width: 1440px; }
}

.cat-card {
  display: flex;
  flex-direction: row;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px -24px rgba(18,32,28,.4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}

.cat-card:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(18,32,28,.5); border-color: var(--brand); }

.cat-card.is-highlighted {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,93,164,.22), 0 22px 44px -26px rgba(18,32,28,.5);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.cat-media {
  position: relative;
  flex: 0 0 42%;
  min-height: clamp(230px, 22vw, 280px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #eef6f2, #e2efe9);
  border-right: 1px solid var(--line);
}

.cat-media img { max-width: 82%; max-height: min(82%, 180px); width: auto; height: auto; object-fit: contain; }
.cat-media .cat-ph { width: 46px; height: 46px; color: var(--brand-deep); opacity: .45; }
.cat-media-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; }
.cat-ph-label { font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; color: var(--brand-deep); opacity: .5; }
.cat-flag { position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; align-items: center; gap: .32rem; padding: .34rem .62rem; font: 700 .68rem/1 'Outfit', sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #fff; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(18, 32, 28, .55); }
.cat-flag svg { flex: none; }
.cat-flag-bestseller { background: var(--brand-deep); }

.cat-swatches { display: flex; gap: .4rem; flex: none; align-items: center; }

.cat-sw {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(18,32,28,.3);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: transform .15s var(--ease), outline-color .15s var(--ease);
}

.cat-sw:hover { transform: scale(1.14); }

.cat-sw-green { background: var(--green); color: var(--green); }
.cat-sw-blue { background: var(--blue); color: var(--blue); }
.cat-sw-beige { background: #cbb391; color: var(--beige-deep); }
.cat-sw.is-active { outline-color: currentColor; }

.cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .15rem;
}

.cat-badge {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-pale);
  border: 0;
  border-radius: 999px;
  padding: .28rem .62rem;
}

.cat-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1; }
.cat-main { margin: auto 0; display: flex; flex-direction: column; gap: .5rem; }
.cat-name { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.cat-note { font-size: .875rem; line-height: 1.5; color: var(--ink-soft); margin: 0; text-align: justify; }

.cat-specs { margin: .35rem 0 0; display: grid; gap: 0; }
.cat-specs > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; border-top: 1px solid var(--line); padding: .38rem 0; }
.cat-specs dt { color: var(--ink-soft); margin: 0; }
.cat-specs dd { margin: 0; font-weight: 500; color: var(--ink); text-align: right; }

.cat-toggle {
  margin-top: 0;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: transparent;
  border: 0;
  padding: .55rem 0 0;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-deep);
  cursor: pointer;
}

.cat-toggle::after {
  content: "";
  width: .46em;
  height: .46em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s var(--ease);
}

.cat-toggle[aria-expanded="true"]::after {
  transform: translateY(1px) rotate(-135deg);
}

.cat-toggle:hover { text-decoration: underline; }

.cat-sizes { margin-top: .6rem; overflow-x: auto; }
.cat-sizes table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.cat-sizes th, .cat-sizes td { text-align: left; padding: .38rem .5rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.cat-sizes th { color: var(--ink-soft); font-weight: 600; }
.cat-sizes td { color: var(--ink); }

.cat-noscript {
  max-width: 46rem;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: .95rem;
}

.cat-empty { margin-top: 2rem; color: var(--ink-soft); }
.cat-reset { background: transparent; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--brand-deep); cursor: pointer; text-decoration: underline; }

@media (max-width: 1024px) {
  .hero-wall { --wall-cols: 5; }
  .act-text { flex-basis: min(320px, 38vw); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .act-stats { justify-content: center; }
  .act-cta { justify-content: center; }

  .hero-pin { min-height: auto; }
  .stage {
    flex-direction: column;
    justify-content: flex-start;
    padding: 6vh 6vw 5vh;
    gap: 3vh;
  }
  .hero-wall {
    --wall-cols: 4;
    max-width: 100%;
  }
  .act-text {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
  }
  .act-desc { display: none; }
  .act-stats { display: none; }
  .act-title { font-size: clamp(1.45rem, 6vw, 1.8rem); }
  .act-cta { margin-top: 1.1rem; gap: .6rem; }
  .act-cta .btn-sm { padding: .8rem 1.4rem; font-size: .92rem; }

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

  .systems { background: var(--paper); }
  .systems-inner {
    grid-template-columns: 1fr;
    text-align: center;
    margin-top: clamp(2.25rem, 9vw, 3.5rem);
  }

  .systems-divider {
    width: auto;
    height: 2px;
    margin: 0;
    background: linear-gradient(90deg, var(--green), var(--blue));
  }

  .systems-divider + .scene-blue + .systems-divider {
    background: linear-gradient(90deg, var(--blue), var(--beige));
  }

  .scene-panel {
    max-width: none;
    margin: 0;
  }

  .scene-title {
    min-height: 0;
  }

  .scene-points {
    text-align: left;
    max-width: 320px;
    margin: 1.25rem auto 1.75rem;
  }

  .certs-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .cert { padding: 1.5rem .75rem; }
  .cert-doc { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 1.5rem; }
  .cert-doc-frame { max-width: 260px; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { flex-direction: column; }
  .cat-media { flex: none; aspect-ratio: auto; height: 76vw; min-height: 260px; max-height: 340px; border-right: 0; border-bottom: 1px solid var(--line); }
  .cat-media img { max-width: 80%; max-height: min(58vw, 264px); }
  .gallery-item { width: clamp(160px, 60vw, 220px); }
  .map { aspect-ratio: 4 / 3; }
  .pin-pop { max-width: 160px; }
}

@media (max-width: 480px) {
  .hero-top { padding-top: 18px; }
  .hero-tag { display: none; }
  .dl-title { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .catalogue { padding-left: 16px; padding-right: 16px; }
  .cat-chip { padding: .45rem .8rem; font-size: .8rem; }
  .cat-search { font-size: .92rem; }
  .cat-body { padding: 1.15rem 1.15rem 1.35rem; }
}

.cat-media{position:relative}
.cat-3d{position:absolute;bottom:10px;left:10px;z-index:3;display:inline-flex;align-items:center;gap:.28rem;padding:.3rem .58rem;font:700 .66rem/1 -apple-system,Segoe UI,Roboto,sans-serif;letter-spacing:.05em;color:#fff;background:var(--brand-deep,#12332a);border:0;border-radius:999px;cursor:pointer;box-shadow:0 5px 14px -6px rgba(18,32,28,.55);transition:transform .18s var(--ease,ease),box-shadow .18s}
.cat-3d:hover{transform:translateY(-1px) scale(1.05);box-shadow:0 8px 18px -6px rgba(18,32,28,.6)}
.cat-3d:focus-visible{outline:2px solid var(--brand,#1f7a5a);outline-offset:2px}
.cat3d-overlay{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:4vmin;background:rgba(10,20,16,.62);backdrop-filter:blur(3px)}
.cat3d-overlay.is-open{display:flex}
.cat3d-box{position:relative;width:min(720px,94vw);height:min(560px,84vh);background:linear-gradient(160deg,#f3f8f5,#e6f0eb);border-radius:20px;box-shadow:0 30px 80px -30px rgba(0,0,0,.55);overflow:hidden}
.cat3d-frame{width:100%;height:100%;border:0;display:block;background:transparent}
.cat3d-close{position:absolute;top:10px;right:12px;z-index:2;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#12201c;font-size:1.5rem;line-height:1;cursor:pointer;box-shadow:0 4px 12px -6px rgba(0,0,0,.4)}
.cat3d-close:hover{background:#fff}

.cat-details { margin-top: .7rem; display: grid; gap: .9rem; }
.cat-details[hidden] { display: none; }
.cat-custom { display: flex; align-items: flex-start; gap: .5rem; margin: 0; padding: .6rem .7rem; background: var(--brand-pale); border-radius: 9px; color: var(--brand-deep); font-size: .8rem; line-height: 1.45; font-weight: 500; }
.cat-custom svg { width: 15px; height: 15px; flex: none; margin-top: .1rem; }

.dl-split {
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  text-align: left;
}
.dl-split .cat-wire { max-width: none; width: 100%; align-items: stretch; }
.dl-split .cw-screen-link,
.dl-split .cw-build { width: 100%; }
.dl-copy { display: flex; flex-direction: column; align-items: flex-start; }
.dl-copy .dl-eyebrow,
.dl-copy .dl-title { text-align: left; }
.dl-copy .dl-intro { margin: 1.1rem 0 0; max-width: none; text-align: left; }
.dl-copy .cw-dl { margin-top: 1.8rem; }
.dl-copy .cw-caption { margin-top: .85rem; }
@media (max-width: 820px) {
  .dl-split { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; max-width: 560px; margin-inline: auto; }
  .dl-copy { display: contents; }
  .dl-copy > .dl-eyebrow { order: 1; text-align: center; }
  .dl-copy > .dl-title { order: 2; text-align: center; }
  .dl-copy > .dl-intro { order: 3; text-align: center; margin: 1rem 0 0; }
  .dl-split > .cat-wire { order: 4; align-items: center; width: 100%; max-width: 520px; margin: 1.9rem auto 0; }
  .dl-copy > .cw-dl { order: 5; align-self: center; margin-top: 1.6rem; }
  .dl-copy > .cw-caption { order: 6; align-self: center; margin-top: .85rem; }
}

.cat-syslogo { display: block; margin: 1.4rem auto .6rem; width: clamp(200px, 34%, 330px); max-width: 82%; height: auto; }

.scene-dl { margin-top: 1.6rem; display: flex; flex-direction: column-reverse; align-items: center; gap: 1.4rem; }
.scene-cover { flex: none; display: block; width: 150px; border-radius: 8px; overflow: hidden; box-shadow: 0 14px 30px -16px rgba(18,32,28,.55); border: 1px solid var(--line); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.scene-cover img { display: block; width: 100%; height: auto; }
.scene-cover:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -18px rgba(18,32,28,.6); }
.scene-dl .btn { margin: 0; }

.story { background: var(--paper); padding: clamp(56px, 9vw, 104px) clamp(24px, 6vw, 80px); }
.story-wrap { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story-text p:not(.section-eyebrow) { color: var(--ink-soft); font-size: 1.0625rem; line-height: 1.75; margin: 1rem 0 0; max-width: 58ch; text-align: justify; text-align-last: left; }
.story-more[hidden] { display: none; }
.story-toggle { margin-top: 1.1rem; background: none; border: 0; padding: .3rem 0; color: var(--brand-deep); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; cursor: pointer; }
.story-toggle:hover { color: var(--brand); text-decoration: underline; }
.story-toggle .lbl-less { display: none; }
.story-toggle[aria-expanded="true"] .lbl-more { display: none; }
.story-toggle[aria-expanded="true"] .lbl-less { display: inline; }
.story-photos { position: relative; width: 100%; max-width: 460px; margin: 0 auto; padding-bottom: 16%; }
.story-pic { display: block; height: auto; border-radius: 14px; border: 6px solid #fff; background: var(--grey-pale); box-shadow: 0 18px 40px -20px rgba(18,32,28,.5); }
.story-pic:first-child { width: 84%; }
.story-pic:last-child { position: absolute; right: 0; bottom: 0; width: 60%; z-index: 2; }
@media (max-width: 860px) {
  .story-wrap { grid-template-columns: 1fr; }
  .story-photos { order: -1; max-width: 380px; margin: 0 auto; }
}

.pl-consent { position: fixed; left: 20px; bottom: 20px; z-index: 200; width: min(560px, calc(100% - 40px)); font-family: 'Outfit', sans-serif; }
.pl-consent[hidden] { display: none; }
.pl-consent__card { position: relative; background: #0e1d29; color: rgba(255,255,255,.8); border-radius: 20px; padding: 22px 24px 20px; box-shadow: 0 24px 60px rgba(0,28,52,.42); }
.pl-consent__pill { display: inline-flex; align-items: center; background: #8fc4ef; color: var(--brand-deep); border-radius: 50px; padding: 5px 14px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.pl-consent h2 { font-family: 'Poppins', 'Outfit', sans-serif; font-weight: 600; font-size: 20px; line-height: 1.15; color: #fff; margin: 12px 0 8px; text-align: left; padding-right: 44px; }
.pl-consent h2:focus { outline: none; }
.pl-consent p { font-size: 14px; line-height: 1.5; text-align: left; margin: 0; }
.pl-consent p a { color: #8fc4ef; text-decoration: underline; text-underline-offset: 3px; }
.pl-consent p a:hover { color: #fff; }
.pl-consent__tm { display: none; }
.pl-consent__cat { display: grid; gap: 8px; margin-top: 16px; }
.pl-consent__cat[hidden] { display: none; }
.pl-consent__row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 12px 16px; cursor: pointer; text-align: left; }
.pl-consent__row b { display: block; color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.pl-consent__row small { display: block; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.62); margin-top: 2px; }
.pl-consent__row input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pl-consent__sw { width: 44px; height: 26px; border-radius: 50px; background: rgba(255,255,255,.2); position: relative; flex-shrink: 0; transition: background .2s; }
.pl-consent__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s, background .2s; }
.pl-consent__row input:checked + .pl-consent__sw { background: #8fc4ef; }
.pl-consent__row input:checked + .pl-consent__sw::after { transform: translateX(18px); background: var(--brand-deep); }
.pl-consent__row input:focus-visible + .pl-consent__sw { outline: 2px solid #8fc4ef; outline-offset: 3px; }
.pl-consent__row input:disabled + .pl-consent__sw { opacity: .55; }
.pl-consent__row:has(input:disabled) { cursor: default; }
.pl-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pl-btn { display: inline-flex; align-items: center; justify-content: center; flex: 1 1 auto; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14.5px; line-height: 1.2; padding: 13px 22px; border-radius: 50px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.pl-btn--fill { background: #fff; color: var(--brand-deep); }
.pl-btn--fill:hover { background: #8fc4ef; transform: translateY(-1px); }
.pl-btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.42); }
.pl-btn--line:hover { border-color: #8fc4ef; color: #8fc4ef; }
.pl-btn:focus-visible { outline: 2px solid #8fc4ef; outline-offset: 3px; }
.pl-btn[hidden] { display: none; }
.pl-consent__close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 0; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.pl-consent__close svg { width: 16px; height: 16px; }
.pl-consent__close:hover { background: #8fc4ef; color: var(--brand-deep); }
.pl-consent__close:focus-visible { outline: 2px solid #8fc4ef; outline-offset: 3px; }
.pl-pref { cursor: pointer; }
@media (max-width: 640px) {
  .pl-consent { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .pl-consent__card { padding: 14px 14px 12px; border-radius: 16px; max-height: calc(100vh - 20px); overflow: auto; }
  .pl-consent__pill { display: none; }
  .pl-consent h2 { font-size: 16px; margin: 0 0 5px; padding-right: 36px; }
  .pl-consent p { font-size: 13px; line-height: 1.4; }
  .pl-consent p .pl-consent__td { display: none; }
  .pl-consent p .pl-consent__tm { display: inline; }
  .pl-consent__close { top: 10px; right: 10px; width: 30px; height: 30px; }
  .pl-consent__cat { margin-top: 10px; gap: 6px; }
  .pl-consent__row { padding: 9px 12px; gap: 10px; }
  .pl-consent__row b { font-size: 13.5px; }
  .pl-consent__row small { font-size: 12px; }
  .pl-consent__actions { gap: 6px; margin-top: 10px; }
  .pl-btn { flex: 1 1 0; padding: 10px 6px; font-size: 13px; }
  body.pl-consent-open .whatsapp-float { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pl-btn, .pl-consent__sw, .pl-consent__sw::after, .pl-consent__close { transition: none; }
}

.lg-head { background: var(--paper); border-bottom: 1px solid var(--grey-pale); }
.lg-topbar { background: var(--brand-deep); }
.lg-topbar-in { max-width: 1240px; margin: 0 auto; padding: 9px 40px; display: flex; align-items: center; justify-content: center; }
.lg-madein { margin: 0; display: inline-flex; align-items: center; gap: .85rem; font-family: 'Poppins', 'Outfit', sans-serif; font-weight: 500; color: #fff; font-size: .94rem; line-height: 1; }
.lg-madein-sep { width: 1px; height: .95em; background: rgba(255,255,255,.5); }
.lg-tricolor { height: 10px; background: linear-gradient(90deg, #008C45 0 33.333%, #f4f5f0 33.333% 66.666%, #CD212A 66.666% 100%); }
.lg-bar { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 20px 40px; }
.lg-logo { height: 46px; width: auto; display: block; }
.lg-bar-right { display: flex; align-items: center; gap: 1rem; }
.lg-back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .94rem; color: var(--brand-deep); text-decoration: none; padding: .55rem .95rem; border: 1px solid var(--brand-pale); border-radius: 9px; white-space: nowrap; }
.lg-back:hover { background: var(--brand-pale); }
.lg-bar .lang-switch { display: inline-flex; align-items: center; gap: .4rem; }
.lg-bar .lang-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 26px; padding: 0 .45rem; background: #fff; border: 1px solid var(--grey-pale); border-radius: 6px; color: var(--ink); font-family: 'Outfit', sans-serif; font-size: .72rem; font-weight: 700; line-height: 1; cursor: pointer; }
.lg-bar .lang-btn.is-active { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.lg-hero { background: var(--brand-pale); padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px); }
.lg-hero-in { max-width: 860px; margin: 0 auto; }
.lg-hero h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 600; line-height: 1.12; color: var(--brand-deep); }
.lg-hero .lg-sub { margin: .9rem 0 0; color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; }
.lg-body { max-width: 860px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(24px, 6vw, 80px) clamp(56px, 8vw, 96px); font-size: 1.02rem; line-height: 1.7; color: var(--ink); }
.lg-body h2 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); font-weight: 600; color: var(--brand-deep); margin: 2.4rem 0 .8rem; line-height: 1.25; }
.lg-body h2:first-child { margin-top: 0; }
.lg-body h3 { font-size: 1.12rem; font-weight: 600; color: var(--ink); margin: 1.6rem 0 .5rem; }
.lg-body p { margin: 0 0 .9rem; }
.lg-body ul, .lg-body ol { padding-left: 1.3rem; margin: 0 0 1.1rem; display: grid; gap: .35rem; }
.lg-body a { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }
.lg-body a:hover { color: var(--brand); }
.lg-box { background: var(--paper-soft); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem 1.5rem; margin: .8rem 0 1.4rem; display: grid; gap: .2rem; }
.lg-box p { margin: 0; }
.lg-box b { font-family: 'Poppins', 'Outfit', sans-serif; font-size: 1.1rem; color: var(--brand-deep); }
.lg-status { background: var(--brand-pale); border-radius: 16px; padding: 1.2rem 1.5rem; margin: .8rem 0 1.6rem; }
.lg-status p { margin: 0 0 .6rem; }
.lg-status ul { margin-bottom: .9rem; }
.lg-status .btn { padding: .7rem 1.4rem; font-size: .9rem; box-shadow: none; }
.lg-status [hidden] { display: none; }
.lg-table { width: 100%; border-collapse: collapse; margin: .8rem 0 1.6rem; font-size: .92rem; line-height: 1.5; }
.lg-table th { text-align: left; font-weight: 600; color: var(--brand-deep); background: var(--paper-soft); padding: .65rem .7rem; border-bottom: 2px solid var(--line); vertical-align: bottom; }
.lg-table td { padding: .65rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.lg-table td b { color: var(--ink); }
.lg-updated { font-size: .9rem; color: var(--ink-soft); margin-top: 2.4rem; }
.lg-l10n { display: none; }
.lg-l10n.is-on { display: block; }
.site-footer--slim { padding-top: 0; }
.site-footer--slim .footer-legal { margin-top: 0; border-top: 0; padding: clamp(22px, 3vw, 30px) 0; }
@media (max-width: 720px) {
  .lg-bar { padding: 14px 20px; }
  .lg-logo { height: 36px; }
  .lg-back { padding: .5rem .7rem; font-size: .86rem; }
  .lg-back span { display: none; }
  .lg-body { font-size: .98rem; }
  .lg-table, .lg-table thead, .lg-table tbody, .lg-table tr, .lg-table td { display: block; }
  .lg-table thead { display: none; }
  .lg-table tr { border: 1px solid var(--line); border-radius: 12px; padding: .4rem .9rem; margin-bottom: .8rem; }
  .lg-table td { border: 0; padding: .45rem 0; }
  .lg-table td::before { content: attr(data-label); display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-deep); font-weight: 600; margin-bottom: .1rem; }
}

/* Inquadratura della prima slide: su schermo largo il taglio e gia giusto, su tablet in
   verticale il riquadro diventa alto e stretto e i tubi verdi finiscono sul bordo, quindi
   l inquadratura si sposta verso destra. */
.hs-slide[data-s="1"] img { object-position: 50% 55%; }
@media (min-width: 680px) and (max-width: 1180px) {
  .hs-slide[data-s="1"] img { object-position: 74% 55%; }
}

.footer-contacts {
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .3rem .75rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}
.footer-contacts a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}
.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.6);
}
.footer-contacts span { display: none; }
@media (max-width: 520px) {
  .footer-contacts { flex-direction: column; gap: .55rem; }
  .footer-contacts a { width: 100%; justify-content: center; }
}

.copia-avviso {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 9999;
  transform: translate(-50%, 14px);
  max-width: calc(100vw - 32px);
  padding: .85rem 1.3rem;
  border-radius: 999px;
  background: var(--brand-deep, #003a66);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.copia-avviso.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) {
  .copia-avviso { transition: none; }
}
