:root {
  --ink: #17201f;
  --muted: #61706d;
  --paper: #f7faf8;
  --panel: #ffffff;
  --line: #dce7e3;
  --aqua: #00a9b7;
  --aqua-dark: #08717d;
  --green: #7fb33b;
  --graphite: #243130;
  --amber: #d99028;
  --shadow: 0 22px 70px rgba(27, 48, 47, .14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Aptos", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(0, 169, 183, .08), transparent 34rem),
    var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: .85rem clamp(1rem, 3vw, 3rem);
  background: rgba(23, 32, 31, .92);
  color: #fff;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.brand img {
  width: 190px;
  height: auto;
}

.top-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: .95rem;
}

.top-nav a,
.footer a {
  text-decoration: none;
}

.top-nav a:hover,
.footer a:hover {
  color: #9fe5e9;
}

.header-cta,
.floating-wa,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.header-cta {
  padding: .7rem 1rem;
  background: var(--green);
  color: #111;
}

.header-cta span,
.floating-wa span {
  font-size: .76rem;
  line-height: 1;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: .22rem .32rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 74px);
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) 2rem;
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 .8rem;
  color: var(--aqua-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 1.15rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 1rem;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4rem);
}

h3 {
  margin-bottom: .7rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-text {
  max-width: 650px;
  color: #3d4b49;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
}

.hero-actions,
.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 1.8rem;
}

.btn {
  padding: .95rem 1.2rem;
  border: 1px solid transparent;
}

.btn svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.btn.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 35px rgba(23, 32, 31, .2);
}

.btn.secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn:hover,
.header-cta:hover,
.floating-wa:hover {
  transform: translateY(-2px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  max-width: 650px;
  margin: 2.2rem 0 0;
}

.hero-metrics div {
  padding: 1rem;
  background: rgba(255, 255, 255, .68);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-metrics dt {
  font-size: 1.35rem;
  font-weight: 900;
}

.hero-metrics dd {
  margin: .15rem 0 0;
  color: var(--muted);
  font-size: .9rem;
}

.hero-visual {
  position: relative;
}

.image-stage {
  position: relative;
  padding: clamp(.9rem, 2vw, 1.5rem);
  background:
    linear-gradient(145deg, rgba(0, 169, 183, .2), rgba(127, 179, 59, .14)),
    #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-stage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
}

.quality-badge {
  position: absolute;
  right: clamp(.8rem, 2vw, 1.5rem);
  bottom: clamp(.8rem, 2vw, 1.5rem);
  max-width: 270px;
  padding: 1rem;
  background: rgba(23, 32, 31, .88);
  color: #fff;
  border-radius: var(--radius);
}

.quality-badge strong,
.quality-badge span {
  display: block;
}

.quality-badge span {
  color: #d8e8e4;
  font-size: .9rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 clamp(1rem, 5vw, 5rem);
  background: var(--graphite);
  color: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}

.trust-strip div {
  padding: 1.2rem;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

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

.trust-strip span {
  color: #c4d3d0;
  font-size: .9rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 2rem;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.solution-grid,
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.solution,
.choice-card,
.product,
.lead-panel,
.compliance {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.solution {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  min-height: 190px;
}

.solution img {
  width: 120px;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
}

.solution span {
  color: var(--amber);
  font-weight: 900;
}

.solution p,
.choice-card p,
.product p,
.product li,
.compliance p,
.lead p,
.faq p {
  color: var(--muted);
}

.guided {
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.choice-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(20, 47, 45, .07);
}

.choice-card span {
  align-self: flex-start;
  margin-bottom: .75rem;
  padding: .28rem .55rem;
  background: rgba(0, 169, 183, .1);
  color: var(--aqua-dark);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.choice-card p {
  margin-bottom: .55rem;
  font-size: .96rem;
}

.choice-card a {
  margin-top: auto;
  padding-top: .85rem;
  color: var(--aqua-dark);
  font-weight: 900;
  text-decoration: none;
}

.choice-card a:hover {
  text-decoration: underline;
}

.early-lead {
  padding-top: 0;
}

.catalog {
  background: #eef6f4;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.4rem;
}

.filter {
  min-height: 42px;
  padding: .65rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter.is-active {
  background: var(--aqua-dark);
  border-color: var(--aqua-dark);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 12px 34px rgba(20, 47, 45, .08);
}

.product.is-hidden {
  display: none;
}

.product.featured {
  border-color: rgba(0, 169, 183, .45);
  box-shadow: 0 16px 46px rgba(0, 169, 183, .15);
}

.product figure {
  display: grid;
  place-items: center;
  margin: 0;
  height: 270px;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 169, 183, .13), transparent 55%),
    #f8fbfa;
  border-bottom: 1px solid var(--line);
}

.product figure img {
  max-width: 82%;
  max-height: 230px;
  object-fit: contain;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.tag {
  align-self: flex-start;
  margin-bottom: .8rem;
  padding: .32rem .55rem;
  background: rgba(127, 179, 59, .14);
  color: #456b17;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
}

.product ul {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
}

.product li {
  position: relative;
  padding: .48rem 0 .48rem 1.1rem;
  border-top: 1px solid #edf2f0;
  font-size: .94rem;
}

.product li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 6px;
  height: 6px;
  background: var(--aqua);
  border-radius: 999px;
}

.comparison-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-table > div {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.6fr;
}

.comparison-table span {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.comparison-table div:last-child span {
  border-bottom: 0;
}

.comparison-table span:last-child {
  border-right: 0;
}

.table-head {
  background: var(--graphite);
  color: #fff;
  font-weight: 900;
}

.post-catalog-cta {
  padding-top: 0;
  background: #eef6f4;
}

.lead-panel.dark-panel {
  background: var(--graphite);
  color: #fff;
  border-color: rgba(255, 255, 255, .14);
}

.lead-panel.dark-panel .eyebrow,
.lead-panel.dark-panel p {
  color: #cfe9e7;
}

.btn.primary.light {
  background: #fff;
  color: var(--ink);
}

.compliance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 0 clamp(1rem, 5vw, 5rem) clamp(3.5rem, 8vw, 7rem);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.compliance-copy {
  max-width: 720px;
}

.compliance-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.compliance-points div {
  padding: 1rem;
  background: #f3f8f6;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.compliance-points strong,
.compliance-points span {
  display: block;
}

.compliance-points span {
  color: var(--muted);
  font-size: .92rem;
}

.lead {
  padding-top: 0;
}

.lead-panel {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(0, 169, 183, .12), rgba(127, 179, 59, .18)),
    #fff;
}

.faq {
  padding-top: 0;
}

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

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
}

.footer {
  display: grid;
  gap: .7rem;
  justify-items: center;
  padding: 2rem 1rem 6rem;
  background: var(--ink);
  color: #dce7e3;
  text-align: center;
}

.footer img {
  width: 220px;
}

.footer p {
  margin: 0;
}

.floating-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 12;
  padding: .8rem 1rem;
  background: var(--green);
  color: #101710;
  box-shadow: 0 14px 34px rgba(23, 32, 31, .25);
}

@media (max-width: 1100px) {
  .hero,
  .compliance,
  .lead-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: .8rem;
  }

  .brand img {
    width: 155px;
  }

  .top-nav {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: .55rem .75rem;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-metrics,
  .trust-strip,
  .solution-grid,
  .choice-grid,
  .product-grid,
  .compliance-points {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-inline: 1rem;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }

  .solution {
    grid-template-columns: 94px 1fr;
  }

  .choice-card {
    padding: 1rem;
  }

  .choice-card p {
    font-size: .94rem;
  }

  .solution img {
    width: 94px;
    height: 110px;
  }

  .comparison-table {
    border: 0;
    background: transparent;
  }

  .comparison-table > div {
    display: block;
    margin-bottom: .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
  }

  .comparison-table .table-head {
    display: none;
  }

  .comparison-table span {
    display: block;
    border-right: 0;
  }

  .comparison-table span:nth-child(1)::before {
    content: "Esigenza";
  }

  .comparison-table span:nth-child(2)::before {
    content: "Soluzione";
  }

  .comparison-table span:nth-child(3)::before {
    content: "Motivo";
  }

  .comparison-table span::before {
    display: block;
    margin-bottom: .25rem;
    color: var(--aqua-dark);
    font-size: .75rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .lead-actions,
  .hero-actions {
    display: grid;
  }

  .floating-wa {
    left: 1rem;
    right: 1rem;
  }
}
