:root{
  /* Brand */
  --teal: #12A9B4;
  --teal-2:#0C7E86;
  --orange:#F47B20;
  --sun:#FFC53A;

  /* Light UI */
  --bg: #F6FAFC;
  --paper: #FFFFFF;
  --alt: #F1F7FA;

  --text: #0E1A22;
  --muted:#516371;

  --stroke: rgba(13, 35, 51, .10);
  --stroke-2: rgba(13, 35, 51, .14);

  --shadow: 0 16px 40px rgba(14,26,34,.08);
  --shadow-2: 0 10px 26px rgba(14,26,34,.08);

  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 5%, rgba(18,169,180,.18), transparent 60%),
    radial-gradient(1200px 600px at 90% 10%, rgba(244,123,32,.10), transparent 55%),
    linear-gradient(180deg, #FFFFFF, var(--bg));
  line-height: 1.6;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{ width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.skip-link{
  position:absolute; left:-999px; top:10px;
  background:#fff; color:#000; padding:10px 12px; border-radius:10px;
}
.skip-link:focus{left:10px; z-index:9999}

/* Header */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.80);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stroke);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}
.brand__logo{
  width:44px; height:44px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--stroke);
  padding: 6px;
}
.brand__name{
  font-weight: 850;
  letter-spacing:-.02em;
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav a{
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.nav a:hover{
  background: rgba(18,169,180,.10);
  color: var(--text);
  transform: translateY(-1px);
}
.nav__cta{
  background: linear-gradient(135deg, rgba(18,169,180,.18), rgba(18,169,180,.10));
  border: 1px solid rgba(18,169,180,.22);
  color: var(--text) !important;
}

/* Burger */
.burger{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,.90);
  align-items:center;
  justify-content:center;
  gap: 5px;
  flex-direction:column;
  cursor:pointer;
}
.burger span{
  width: 18px;
  height: 2px;
  background: rgba(14,26,34,.85);
  border-radius: 99px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger.is-open span:nth-child(1){transform: translateY(7px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform: translateY(-7px) rotate(-45deg)}

.mobile{
  border-top: 1px solid var(--stroke);
  background: rgba(255,255,255,.90);
}
.mobile__nav{
  display:flex;
  flex-direction:column;
  padding: 10px 20px 18px;
}
.mobile__nav a{
  padding: 12px 10px;
  border-radius: 12px;
  color: var(--muted);
  font-weight: 650;
}
.mobile__nav a:hover{background: rgba(18,169,180,.10); color: var(--text)}

/* Hero */
.hero{ padding: 54px 0 26px; }
.hero__inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}
.hero__content{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--stroke);
  border-radius: calc(var(--radius) + 10px);
  padding: 28px;
  box-shadow: var(--shadow);
}
.kicker{
  display:inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18,169,180,.22);
  background: rgba(18,169,180,.08);
  color: #0D3E44;
  font-weight: 750;
  font-size: 13px;
}

.hero__title{
  margin: 14px 0 8px;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing:-.03em;
}
.hero__subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero__actions{ display:flex; gap: 12px; flex-wrap:wrap; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--stroke-2);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn--primary{
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--teal), rgba(244,123,32,.85));
  box-shadow: 0 10px 22px rgba(18,169,180,.18);
}
.btn--outline{
  background: white;
  border: 1px solid rgba(18,169,180,.28);
  color: #0D3E44;
}

.hero__trust{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.trust{
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(18,169,180,.05);
  padding: 12px 12px;
}
.trust__kpi{
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -.01em;
}
.trust__txt{
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.hero__media{
  position:relative;
  border-radius: calc(var(--radius) + 10px);
  overflow:hidden;
  border: 1px solid var(--stroke);
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 420px;
}
.hero__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.hero__mediaOverlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.30)),
    radial-gradient(700px 400px at 20% 20%, rgba(18,169,180,.18), transparent 55%),
    radial-gradient(700px 400px at 85% 20%, rgba(244,123,32,.12), transparent 55%);
  pointer-events:none;
}

.hero__pillRow{
  position:absolute;
  left: 14px;
  right: 14px;
  display:flex;
  gap: 10px;
}
.hero__pillRow--top{ top: 14px; }
.hero__pillRow--bottom{ bottom: 14px; }

.pill{
  flex:1;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  font-weight: 800;
  font-size: 13px;
  color: #0E1A22;
  box-shadow: 0 10px 24px rgba(14,26,34,.10);
}

/* Sections */
.section{ padding: 56px 0; }
.section--alt{
  background: var(--alt);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}
.section__head{ margin-bottom: 22px; }
.section__head h2{
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing:-.02em;
}
.section__head p{ margin:0; color: var(--muted); }

/* Grids */
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Cards */
.card{
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: white;
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.card h3{margin: 0 0 6px}
.card p{margin: 0 0 12px; color: var(--muted)}

.card--teal{ border-top: 4px solid rgba(18,169,180,.65); }
.card--orange{ border-top: 4px solid rgba(244,123,32,.65); }
.card--sun{ border-top: 4px solid rgba(255,197,58,.75); }

.ticks{
  margin: 0;
  padding-left: 18px;
  color: #21323D;
}
.ticks li{margin: 6px 0}
.ticks li::marker{color: var(--teal)}

/* Products */
.categories{ display:grid; gap: 14px; }
.category{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--stroke);
  background: white;
  overflow:hidden;
  box-shadow: var(--shadow-2);
}
.category__head{
  padding: 18px;
  border-bottom: 1px solid var(--stroke);
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(18,169,180,.14), transparent 55%),
    radial-gradient(900px 300px at 90% 0%, rgba(244,123,32,.10), transparent 55%),
    #fff;
}
.category__head h3{margin: 0 0 2px}
.category__head p{margin:0; color: var(--muted)}
.product-grid{
  padding: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.product{
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: #fff;
  padding: 14px;
}
.muted{color: var(--muted)}
.mini-dl{
  margin: 10px 0 0;
  display:grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6px 10px;
}
.mini-dl dt{ font-weight: 900; font-size: 12px; color: #13232D; }
.mini-dl dd{ margin:0; color: var(--muted); font-size: 12px; }

/* Panels */
.panel{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--stroke);
  background: white;
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.panel--accent{
  background:
    radial-gradient(900px 380px at 20% 20%, rgba(18,169,180,.12), transparent 60%),
    radial-gradient(900px 380px at 90% 30%, rgba(244,123,32,.08), transparent 60%),
    white;
}

.steps{ margin-top: 12px; display:grid; gap: 10px; }
.step{
  display:flex; gap: 10px; align-items:flex-start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(18,169,180,.05);
}
.step__n{
  width: 28px; height: 28px;
  border-radius: 10px;
  display:grid; place-items:center;
  font-weight: 900;
  background: white;
  border: 1px solid var(--stroke);
}
.cta-row{ display:flex; gap: 10px; margin-top: 14px; flex-wrap:wrap; }

/* About */
.about{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items:start;
}
.about__text{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--stroke);
  background: white;
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.about__text h3{margin:0 0 8px}
.bullets{ margin: 0; padding-left: 18px; }
.bullets li{ margin: 6px 0; }
.bullets li::marker{ color: var(--teal); }

.tags{ display:flex; gap: 8px; flex-wrap:wrap; margin: 10px 0 12px; }
.tag{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,169,180,.22);
  background: rgba(18,169,180,.08);
  font-weight: 850;
  font-size: 13px;
  color: #0D3E44;
}
.quote{
  margin: 14px 0 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(18,169,180,.22);
  background: rgba(18,169,180,.08);
}

.info-card{
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--stroke);
  background: white;
  padding: 18px;
  position: sticky;
  top: 92px;
  box-shadow: var(--shadow-2);
}
.info-card h4{margin:0 0 10px}
.info-list{display:grid; gap: 12px}
.info-row{
  display:flex; gap: 12px; align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(18,169,180,.05);
}
.info-ico{
  width: 34px; height: 34px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: white;
  border: 1px solid var(--stroke);
}
.info-actions{ display:flex; gap: 10px; margin-top: 12px; flex-wrap:wrap; }

/* Blog */
.blog-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.post{
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: white;
  padding: 18px;
  box-shadow: var(--shadow-2);
}
.post h3{margin:0 0 6px}
.link{
  display:inline-flex;
  margin-top: 10px;
  font-weight: 900;
  color: var(--teal-2);
}
.link:hover{opacity:.9}

/* Contact */
.contact{
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid var(--stroke);
  background:
    radial-gradient(900px 400px at 20% 20%, rgba(18,169,180,.12), transparent 60%),
    radial-gradient(900px 400px at 90% 30%, rgba(244,123,32,.08), transparent 60%),
    white;
  padding: 22px;
  box-shadow: var(--shadow-2);
}
.contact__grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.contact__card{
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: white;
  padding: 16px;
}
.contact__card h3{margin:0 0 6px}
.contact__footer{ margin-top: 14px; }
.mini-note{
  display:flex; gap: 10px; align-items:center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(18,169,180,.06);
}

/* Footer */
.footer{
  padding: 34px 0 44px;
  border-top: 1px solid var(--stroke);
  background: rgba(255,255,255,.70);
}
.footer__inner{ display:grid; gap: 14px; }
.footer__brand{ display:flex; gap: 12px; align-items:center; }
.footer__brand img{
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: white;
  padding: 6px;
}
.footer__links{ display:flex; gap: 14px; flex-wrap:wrap; }
.footer__links a{ color: var(--muted); font-weight: 700; }
.footer__links a:hover{ color: var(--text); }
.footer__legal{ color: var(--muted); }

/* Responsive */
@media (max-width: 980px){
  .hero__inner{grid-template-columns: 1fr;}
  .hero__media{min-height: 340px}
  .hero__trust{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .about{grid-template-columns: 1fr}
  .info-card{position: static}
  .blog-grid{grid-template-columns: 1fr}
  .contact__grid{grid-template-columns: 1fr}
  .product-grid{grid-template-columns: 1fr}
}
@media (max-width: 860px){
  .nav{display:none}
  .burger{display:flex}
}

@media (max-width: 980px){
  /* HERO: evitare crop brutto su mobile */
  .hero__media{
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;         /* box stabile */
    background: #fff;
  }

  .hero__media img{
    object-fit: contain;         /* mostra tutta l’immagine */
    object-position: center;
    padding: 14px;               /* respiro ai bordi */
    background: #fff;
  }

  /* Pills: meglio meno invadenti su mobile */
  .hero__pillRow{
    left: 12px;
    right: 12px;
    gap: 8px;
  }
  .pill{
    font-size: 12px;
    padding: 10px 10px;
    border-radius: 14px;
  }

  /* Se vuoi ancora più pulito: disattiva overlay forte su mobile */
  .hero__mediaOverlay{
    opacity: .6;
  }
}

@media (max-width: 980px){
  .hero__pillRow{
    position: static;
    margin-top: 10px;
  }
  .hero__media{
    display:flex;
    flex-direction:column;
    gap: 10px;
    padding: 12px;
  }
  .hero__media img{
    padding: 0;
    border-radius: 16px;
    border: 1px solid var(--stroke);
  }
}

/* Quick navigation cards */
.quick-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.quick-card{
  display:block;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--stroke);
  background: white;
  padding: 18px;
  box-shadow: var(--shadow-2);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.quick-card:hover{
  transform: translateY(-2px);
  border-color: rgba(18,169,180,.30);
  box-shadow: 0 18px 44px rgba(14,26,34,.10);
}

.quick-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.quick-title{
  font-weight: 900;
  letter-spacing: -.01em;
  font-size: 18px;
}

.quick-badge{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(18,169,180,.22);
  background: rgba(18,169,180,.08);
  color: #0D3E44;
  font-weight: 850;
  font-size: 12px;
}

.quick-desc{
  margin: 0;
  color: var(--muted);
}

.quick-cta{
  margin-top: 12px;
  font-weight: 900;
  color: var(--teal-2);
}

/* Page shell */
.page-hero{
  padding: 44px 0 18px;
}
.page-hero__inner{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}
.page-title{
  margin: 0;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.page-subtitle{
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 70ch;
}
.page-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.btn--ghost{
  background: white;
  border: 1px solid var(--stroke);
  color: var(--text);
}

/* Responsive */
@media (max-width: 980px){
  .quick-grid{grid-template-columns: 1fr;}
}
