:root {
  --nero: #111111;
  --testo: #1c1c1c;
  --testo-soft: #4f4f4f;
  --grigio: #f5f5f5;
  --grigio-bordo: #d9d9d9;
  --bianco: #e4e2e5;

  --verde: #6cc04a;
  --azzurro: #2ca6c9;
  --azzurro-scuro: #548eb5;

  --gradiente: linear-gradient(135deg, var(--verde), var(--azzurro));

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  --shadow-soft: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-hover: 0 16px 36px rgba(0,0,0,0.10);

  --container: 1300px;
}
.article-share {
  margin-top: 50px;
  text-align: center;
}

.article-share-title {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #888;
}

.article-share-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.share-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.25s ease;
  border: 1px solid #ddd;
  background: #fff;
  color: #111;
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-2px);
  background: #111;
  color: #fff;
  border-color: #111;
}

/* colori opzionali brand */
.share-btn.wa:hover { background: #25D366; border-color:#25D366; }
.share-btn.fb:hover { background: #1877f2; border-color:#1877f2; }
.share-btn.tw:hover { background: #000; }
.share-btn.li:hover { background: #0a66c2; border-color:#0a66c2; }
/* RESET BASE */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--testo);
  background: var(--bianco);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.section {
  padding: 20px 0;
  background: var(--bianco);
}

/* HEADER */
.site-header {
  background: var(--azzurro-scuro);
   position: sticky;
  top: 0;
  z-index: 50;
 
    box-shadow: 0 1px 0 rgb(85 35 35 / 15%), 0 10px 10px rgb(0 0 0 / 18%);
}
 

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 92px;
  padding: 10px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--bianco);
  font-weight: bold;
  font-size: 18px;
}

.logo img {
  height: 70px;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.logo:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

/* MENU */
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.main-nav a {
  color: #dfe5ea;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.2s ease;
     margin-left:70px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--verde);
}

/* HERO GENERICO */
.hero {
  background: var(--gradiente);
  color: white;
  padding: 80px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
}

/* BOX / GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.box {
  background: var(--grigio);
  padding: 30px;
  text-align: center;
  border-radius: var(--radius-md);
}

/* BOTTONI */
.btn-link {
  display: inline-block;
  padding: 12px 18px;
  background: var(--gradiente);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-link:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* HOME SLIDER */
.home-slider {
  margin: 0 0 35px 0;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.slide {
  display: none;
  background: var(--bianco);
}

.slide.active {
  display: block;
}

.slide img {
  width: 80%;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  transition: background 0.2s ease;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.55);
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}

/* HOME BANNER */
.product-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
  margin-bottom: 55px;
}

.product-banner.inverted-desktop .product-banner-image-container {
  order: 2;
}

.product-banner.inverted-desktop .description-container {
  order: 1;
}

.product-banner-image-container img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.description-container h2 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.2;
}

.description-container h2 a {
  text-decoration: none;
}

.description-container h2 a:hover {
  color: var(--azzurro);
}

.description-container p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 16px;
}

/* FAQ */
.faq-section h2 {
  margin: 0 0 30px;
  text-align: center;
  font-size: 34px;
}

.faq-item {
  margin-bottom: 14px;
  border: 1px solid var(--grigio-bordo);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(2px);
}

.faq-question {
  width: 100%;
  border: 0;
  padding: 18px 20px;
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  background: #f0f0f0;
}

.faq-question:hover {
  background: #ebebeb;
}

.faq-answer {
  display: none;
  padding: 18px 20px;
  border-top: 1px solid #e5e5e5;
  font-size: 17px;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  display: block;
}

/* HERO PAGINA */
.page-hero {
  margin-bottom: 30px;
}

.page-hero img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.hero-mobile {
  display: none;
}

/* CHI SIAMO */
.about-block {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-bottom: 60px;
}

.about-block-left {
  flex-direction: row;
}

.about-block-right {
  flex-direction: row-reverse;
}

.about-image,
.about-text {
  flex: 1;
}

.about-image img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.about-text h1,
.about-text h2 {
  
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--nero);
}

.about-text h1 {
  font-size: 30px;
 margin-top: 40px;
}

.about-text h2 {
  font-size: 23px;
}

.about-text p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.75;
}

/* GALLERY */
.gallery-section {
  padding-top: 10px;
}

.gallery {
  display: grid;
  gap: 18px;
  margin-bottom: 24px;
}

.gallery img {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}

.gallery-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-4 img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}

.gallery-verticals img {
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

/* CONTATTI / MAPPA */
.contact-box {
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-soft);
  padding: 30px;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
}

.contact-box h2 {
  margin: 0 0 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nero);
}

.contact-item p {
  margin: 0;
  line-height: 1.6;
}

.contact-item a {
  color: var(--azzurro);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.map-section h2 {
  text-align: center;
  font-size: 34px;
  margin: 0 0 10px;
}

.map-intro {
  text-align: center;
  font-size: 18px;
  margin: 0 0 25px;
}

.map-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* MEDIAKIT */
.mediakit h1 {
  margin-bottom: 15px;
}

.mediakit .intro {
  font-size: 18px;
}

.mediakit-list {
  padding-left: 20px;
  margin: 20px 0;
}

.mediakit-list li {
  margin-bottom: 8px;
}

.mediakit-download {
  margin-top: 30px;
  padding: 28px;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-lg);
  text-align: center;
}

.mediakit-download .note {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.mediakit-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.mediakit-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid #d7d7d7;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mediakit-gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-soft);
}

/* BLOG LISTA */
.blog-page {
  padding-top: 10px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.blog-row {
  border: 1px solid rgba(0,0,0,0.08);
  border-left: 5px solid var(--azzurro);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.18);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(2px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.blog-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(44, 166, 201, 0.32);
}

.blog-row-link {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 0;
  min-height: 250px;
  text-decoration: none;
  color: inherit;
}

.blog-row-image {
  overflow: hidden;
  background: rgba(0,0,0,0.04);
}

.blog-row-image img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-row:hover .blog-row-image img {
  transform: scale(1.04);
}

.blog-row-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 36px;
}

.blog-row-content h2 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.14;
  color: var(--nero);
}

.blog-subtitle {
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.45;
  color: var(--testo-soft);
}

.blog-excerpt {
  margin: 0 0 18px;
  font-size: 21px;
  line-height: 1.6;
  color: var(--testo);
}

.blog-readmore {
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
  color: var(--azzurro);
}

.blog-readmore::after {
  content: " →";
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.blog-row:hover .blog-readmore::after {
  transform: translateX(3px);
}

.blog-date {
  color: #777;
  font-size: 14px;
  margin-bottom: 20px;
}

.blog-lead {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 25px;
}

.blog-quote {
  margin-top: 40px;
  padding: 20px;
  border-left: 4px solid var(--verde);
  background: rgba(255,255,255,0.4);
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.blog-closing {
  margin-top: 30px;
  font-weight: bold;
}

.empty-box {
  padding: 30px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* ARTICOLO SINGOLO */
.article-container {
  max-width: 900px;
}

.article-back {
  margin-bottom: 20px;
}

.article-back a {
  color: var(--azzurro);
  text-decoration: none;
}

.article-header h1 {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.15;
}

.article-date {
  color: #777;
  font-size: 14px;
  margin-bottom: 20px;
}

.article-intro {
  font-size: 21px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.article-cover {
  margin: 0 0 30px;
}

.article-cover img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
}

.article-content {
  font-size: 18px;
  line-height: 1.85;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content h2,
.article-content h3 {
  margin-top: 35px;
  margin-bottom: 15px;
}

.article-content img,
.articolo-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.articolo-content {
  line-height: 1.75;
  font-size: 16px;
}

/* FOOTER */
.site-footer {
  background: var(--azzurro-scuro);
  color: var(--bianco);
  margin-top: 50px;
    box-shadow: 0 -1px 0 rgb(85 35 35 / 15%), 0 -10px 10px rgb(0 0 0 / 18%);

}

.footer-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 45px 25px 25px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-col p,
.footer-col a,
.footer-col li {
  color: var(--bianco);
  text-decoration: none;
  font-size: 17px;
  line-height: 1.55;
}

.footer-col a:hover {
  color: var(--verde);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 220px;
  height: auto;
  display: block;
}

 
.footer-badges img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 22px;
}

.footer-badges .badge-18 {
  max-width: 320px;
}

.footer-badges .badge-adm {
  max-width: 120px;
}

.footer-certificazioni {
  margin-bottom: 22px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  text-align: center;
  padding: 18px 20px;
  font-size: 14px;
  color: #d5d4d4;
}

.footer-col .footer-block + .footer-block {
  margin-top: 35px;
}
/* CookieYes */
.cky-consent-container,
.cky-btn-revisit-wrapper {
  bottom: 20px !important;
  left: 20px !important;
}

/* Accessibility widget */
#cy-a11y-widget,
.cy-a11y-widget {
  bottom: 90px !important; /* DISTANZA sopra */
  left: 20px !important;
}

.social-footer {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-item {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  position: relative;
}

.social-item span {
  width: 30px;
  height: 30px;
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ICONE */
.social-item.ig span {
  background-image: url('instagram.png');
}

.social-item.fb span {
  background-image: url('facebook.png');
}

/* HOVER */
.social-item:hover {
  background: var(--gradiente);
  border-color: transparent;
  transform: translateY(-2px);
}


.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin-bottom: 14px;
}

.footer-menu a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bianco);
  text-decoration: none;
  font-size: 17px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.footer-menu a::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--bianco);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 10px;
}

.footer-menu a:hover {
  color: var(--verde);
}

.footer-menu a:hover::before {
  border-color: var(--verde);
}
/* RESPONSIVE */
@media (max-width: 980px) {
  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    margin-left: 0;
    font-size: 18px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-logo,
  .footer-badges img,
  .footer-badges .badge-18,
  .footer-badges .badge-adm {
    margin-left: auto;
    margin-right: auto;
  }

  .product-banner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-banner.inverted-desktop .product-banner-image-container,
  .product-banner.inverted-desktop .description-container {
    order: initial;
  }

  .about-block,
  .about-block-left,
  .about-block-right {
    flex-direction: column;
    gap: 26px;
    align-items: stretch;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mediakit-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-row-link {
    grid-template-columns: 1fr;
  }

  .blog-row-image img {
    min-height: 0;
    height: 260px;
  }

  .blog-row-content {
    padding: 24px 22px;
  }

  .blog-row-content h2 {
    font-size: 28px;
  }

  .blog-excerpt {
    font-size: 18px;
  }

  .article-header h1 {
    font-size: 32px;
  }

  .article-intro {
    font-size: 18px;
  }

  .description-container h2,
  .faq-section h2,
  .map-section h2 {
    font-size: 28px;
  }

  .description-container p,
  .faq-question,
  .faq-answer,
  .about-text p {
    font-size: 16px;
  }

  .gallery-2,
  .gallery-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .gallery-4 img {
    height: 200px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .hero-desktop {
    display: none;
  }

  .hero-mobile {
    display: block;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 14px 0;
  }

  .main-nav {
    justify-content: center;
  }

  .main-nav a {
    font-size: 17px;
  }

  .slide img {
    width: 100%;
  }

  .gallery-2,
  .gallery-4,
  .mediakit-gallery {
    grid-template-columns: 1fr;
  }

  .blog-row-image img {
    height: 220px;
  }

  .blog-row-content h2 {
    font-size: 24px;
  }

  .blog-excerpt {
    font-size: 17px;
  }

  .about-text h1 {
    font-size: 30px;
  }

  .about-text h2 {
    font-size: 26px;
  }

  .article-header h1 {
    font-size: 28px;
  }

  .article-content {
    font-size: 17px;
  }
}
.reseller-page {
  padding-top: 20px;
}

.reseller-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 42px;
}

.reseller-hero-media a {
  display: block;
  text-decoration: none;
}

.reseller-hero-media img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.map-image-mobile {
  display: none !important;
}

.reseller-hero-content {
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: var(--shadow-soft);
}

.reseller-hero-content h1 {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.15;
  color: var(--nero);
}

.reseller-hero-content p {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.75;
}

.reseller-hero-content p:last-child {
  margin-bottom: 0;
}

.reseller-hero-content a,
.reseller-content a {
  color: var(--azzurro);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reseller-content {
  max-width: 980px;
}

.reseller-content h2 {
  margin: 0 0 18px;
  font-size: 32px;
  line-height: 1.2;
  color: var(--nero);
}

.reseller-content h2:not(:first-child) {
  margin-top: 34px;
}

.reseller-content p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--testo);
}

@media (max-width: 980px) {
  .reseller-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reseller-hero-content {
    padding: 24px 22px;
  }

  .reseller-hero-content h1 {
    font-size: 30px;
  }

  .reseller-content h2 {
    font-size: 26px;
  }

  .reseller-hero-content p,
  .reseller-content p {
    font-size: 16px;
  }

  .map-image-desktop {
    display: none !important;
  }

  .map-image-mobile {
    display: block !important;
  }
}