/* ============================================================
   Sostenibilità Page - Redesign v2
   ============================================================ */

/* --- SUB-NAVIGATION --- */
.sost-subnav {
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(104, 48, 39, 0.1);
}

.sost-subnav--fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sost-subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.sost-subnav-list::-webkit-scrollbar {
  display: none;
}

.sost-subnav-list li a {
  display: block;
  padding: 14px 20px;
  font-family: 'Rockwell', serif;
  font-size: 14.7px;
  font-weight: 400;
  color: var(--brown);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.sost-subnav-list li a:hover,
.sost-subnav-list li a.active {
  border-bottom-color: var(--orange);
  color: var(--orange);
}

/* --- HERO --- */
.sost-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 829px;
  max-height: 60vh;
}

.sost-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.10);
}

/* --- VALORI INTRO --- */
.sost-valori-intro {
  padding: 80px 0 40px;
}

.sost-valori-header {
  max-width: 855px;
  margin: 0 auto;
}

.sost-valori-pretitle {
  font-family: 'Tilda', cursive;
  font-size: 90px;
  font-weight: 400;
  color: var(--orange);
  margin: 0 0 20px;
  line-height: 1;
}

.sost-valori-title {
  font-family: 'Bodoni Std', 'Bodoni MT', serif;
  font-size: 60.9px;
  font-weight: 900;
  color: var(--newgreen);
  margin: 0 0 30px;
  line-height: 1.1;
}

.sost-valori-text {
  font-family: 'Rockwell', serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 660px;
}

.sost-valori-text p {
  margin: 0;
}

.iconButtonBlock{
  padding: 18px 56px 18px 24px;
  border-radius: 8px;
  display: block;
  background-repeat: no-repeat;
  background-position: right bottom;
  text-align: left;
  line-height: 1;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25), 37px 14px 11px 0 rgba(0, 0, 0, 0.00), 24px 9px 10px 0 rgba(0, 0, 0, 0.01), 13px 5px 9px 0 rgba(0, 0, 0, 0.05), 6px 2px 6px 0 rgba(0, 0, 0, 0.09), 1px 1px 3px 0 rgba(0, 0, 0, 0.10);
}

.iconButtonBlock.cream{
  background-color: var(--cream);
  color: var(--brown);
  background-image: url("/images/angle-btn-dark.svg");
}

.iconButtonBlock.brown{
  background-color: var(--brown);
  color: var(--cream);
  background-image: url("/images/angle-btn-light.svg");
}

.iconButtonBlock.green{
  background-color: var(--newgreen);
  color: var(--cream);
  background-image: url("/images/angle-btn-light.svg");
}

.iconButtonBlock.orange{
  background-color: var(--orange);
  color: var(--cream);
  background-image: url("/images/angle-btn-light.svg");
}

.doUlLi ul{
  padding-left: 30px;
}

.doUlLi ul li{
  list-style: initial;
}

/* --- CARD VALORI CAROUSEL --- */
.sost-valori-cards {
  padding: 20px 0 60px;
}

.sost-carousel-wrapper {
  position: relative;
  padding: 0 90px;
}

.sost-valori-card-wrapper {
  padding: 0 12px;
}

.sost-valori-card {
  background: #fff9ef;
  padding: 8px;
  height: 100%;
  min-height: 436px;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
}

.sost-valori-card-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.sost-valori-card-icons img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}

.sost-valori-card-title {
  font-family: 'Bodoni Std', 'Bodoni MT', serif;
  font-size: 44.9px;
  font-weight: 900;
  margin: 0 0 16px;
  line-height: 1.1;
}

.sost-valori-card-desc {
  font-family: 'Rockwell', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

/* --- CAROUSEL ARROWS & DOTS --- */
.sost-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 67px;
  height: 67px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 0 !important;
  background-size: cover;
}

.sost-carousel-prev {
  left: -20px;
  background-image: url(/images/carousel-left.png);
}

.sost-carousel-next {
  right: -20px;
  background-image: url(/images/carousel-right.png);
}

.sost-carousel-prev.orange {
  left: -20px;
  background-image: url(/images/carousel-left-orange.png);
}

.sost-carousel-next.orange {
  right: -20px;
  background-image: url(/images/carousel-right-orange.png);
}

.sost-carousel-dots {
  text-align: center;
  padding: 20px 0 0;
}

.sost-carousel-dots .slick-dots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex !important;
  justify-content: center;
  gap: 10px;
}

.sost-carousel-dots .slick-dots li button {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #f1b434;
  border: none;
  font-size: 0;
  cursor: pointer;
  padding: 0;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.sost-carousel-dots .slick-dots li.slick-active button {
  opacity: 1;
}

/* --- AZIONI CONCRETE --- */
.sost-azioni {
  padding: 40px 0 80px;
}

.sost-azioni-title {
  font-family: 'Rockwell', serif;
  font-size: 29px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 40px;
}

.sost-azioni-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 950px;
  margin: 0 auto;
}

.sost-azioni-card {
  overflow: hidden;
}

.sost-azioni-card-img {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 463 / 309;
}

.sost-azioni-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sost-azioni-card-text {
  font-family: 'Rockwell', serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  margin: 16px 0 0;
}

/* --- AMBIENTE --- */
.sost-ambiente {
  background-color: var(--orange);
  padding: 100px 0 80px;
}

.sost-ambiente-content {
  max-width: 944px;
  margin: 0 auto;
  text-align: center;
}

.sost-ambiente .sost-section-title {
  color: #6a3331;
}

.sost-section-title {
  font-family: 'Bodoni Std', 'Bodoni MT', serif;
  font-size: 60.9px;
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.1;
}

.sost-section-text {
  font-family: 'Rockwell', serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.6;
}

.sost-section-text p {
  margin: 0 0 20px;
}

.sost-section-text p:last-child {
  margin-bottom: 0;
}

/* --- DOWNLOAD BUTTONS --- */
.sost-download-buttons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.sost-download-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: 269px;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sost-download-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.sost-download-btn--cream {
  background: var(--cream);
}

.sost-download-btn--brown {
  background: var(--brown);
}

.sost-download-btn--green {
  background: var(--newgreen);
}

.sost-download-btn--orange {
  background: var(--orange);
}

.sost-download-btn-icon {
  width: 101px;
  height: 101px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.sost-download-btn--cream .sost-download-btn-icon {
  color: var(--brown);
}

.sost-download-btn--brown .sost-download-btn-icon,
.sost-download-btn--green .sost-download-btn-icon,
.sost-download-btn--orange .sost-download-btn-icon {
  color: var(--cream);
}

.sost-download-btn-icon i {
  font-size: 48px;
}

.sost-download-btn-label {
  font-family: 'Rockwell', serif;
  font-size: 23.9px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}

.sost-download-btn--cream .sost-download-btn-label {
  color: #6a3331;
}

.sost-download-btn--brown .sost-download-btn-label,
.sost-download-btn--green .sost-download-btn-label {
  color: var(--cream);
}

.sost-download-btn--orange .sost-download-btn-label {
  color: var(--cream);
}

.sost-download-btn-action {
  font-family: 'Rockwell', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--orange);
}

.sost-download-btn-action i {
  margin-left: 6px;
  font-size: 14px;
}

/* Archivio button */
.sost-archivio-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 24px;
  background: var(--cream);
  color: #6a3331;
  font-family: 'Rockwell', serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.sost-archivio-btn:hover {
  background: #fff;
  text-decoration: none;
  color: #6a3331;
}

/* --- PERSONE --- */
.sost-persone {
  padding: 80px 0;
}

.sost-persone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 950px;
  margin: 0 auto;
}

.sost-persone-text .sost-section-title {
  margin-bottom: 20px;
}

.sost-persone-text .sost-section-text {
  margin-bottom: 30px;
}

.sost-download-buttons--single {
  justify-content: flex-start;
}

.sost-persone-image {
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
}

.sost-persone-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- TERRITORIO E COMUNITÀ --- */
.sost-territorio {
  background: #6a3331;
  padding: 80px 0;
}

.sost-territorio-intro {
  max-width: 944px;
  margin: 0 auto 60px;
}

.sost-territorio-mappa {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

.sost-mappa-img {
  position: relative;
  margin: 0;
  max-width: 782px;
}

.sost-mappa-img img {
  width: 100%;
  height: auto;
}

.sost-mappa-stat {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--cream);
}

.sost-mappa-stat-number {
  display: block;
  font-family: 'Bodoni Std', 'Bodoni MT', serif;
  font-size: 60.9px;
  font-weight: 900;
  line-height: 1;
}

.sost-mappa-stat-text {
  display: block;
  font-family: 'Rockwell', serif;
  font-size: 18.1px;
  font-weight: 700;
  max-width: 180px;
  margin: 8px auto 0;
  line-height: 1.3;
}

.sost-territorio-comunita {
  max-width: 944px;
  margin: 0 auto 60px;
}

.sost-territorio-gallery-wrapper {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  padding: 0 40px;
}

.sost-territorio-slide {
  padding: 0 12px;
}

.sost-territorio-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  aspect-ratio: 600 / 497;
  object-fit: cover;
}

/* --- GOVERNANCE --- */
.sost-governance {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.sost-governance-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 0;
}

.sost-governance-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sost-governance-content {
  position: relative;
  z-index: 1;
  max-width: 944px;
  margin: 0 auto;
}

/* --- B CORP --- */
.sost-bcorp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 604px;
}

.sost-bcorp-text {
  background: var(--newgreen);
  display: flex;
  align-items: center;
  padding: 60px;
}

.sost-bcorp-text-inner {
  max-width: 535px;
  margin-left: auto;
}

.sost-bcorp-title {
  font-family: 'Bodoni Std', 'Bodoni MT', serif;
  font-size: 44.9px;
  font-weight: 900;
  margin: 0 0 24px;
  line-height: 1.15;
}

.sost-bcorp-link {
  display: inline-block;
  margin-top: 20px;
  font-family: 'Rockwell', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.sost-bcorp-link:hover {
  opacity: 0.8;
  color: #fff;
  text-decoration: none;
}

.sost-bcorp-link i {
  margin-left: 6px;
  font-size: 14px;
}

.sost-bcorp-visual {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sost-bcorp-logo {
  margin: 0;
  max-width: 268px;
}

.sost-bcorp-logo img {
  width: 100%;
  height: auto;
}

/* --- DIVIDER --- */
.sost-divider {
  line-height: 0;
}

.sost-divider img {
  width: 100%;
  height: 645px;
  object-fit: cover;
  display: block;
}

/* --- ATTIVITÀ SOSTENIBILI --- */
.sost-attivita {
  padding: 80px 0;
}

.sost-attivita-header {
  text-align: center;
  margin-bottom: 50px;
}

.sost-attivita-pretitle {
  font-family: 'Tilda', cursive;
  font-size: 84px;
  font-weight: 400;
  color: var(--orange);
  margin: 0;
  line-height: 1;
}

.sost-attivita-title {
  font-family: 'Bodoni Std', 'Bodoni MT', serif;
  font-size: 84px;
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.sost-attivita-card-wrapper {
  padding: 0 15px;
}

.sost-attivita-card {
  text-align: center;
}

.sost-attivita-card-img {
  margin: 0 auto 24px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
}

.sost-attivita-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sost-attivita-card-title {
  font-family: 'Rockwell', serif;
  font-size: 29px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2;
}

.sost-attivita-card-desc {
  font-family: 'Rockwell', serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
}

.sost-attivita-card-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 24px;
  background: var(--orange);
  color: var(--cream);
  font-family: 'Rockwell', serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.sost-attivita-card-cta:hover {
  background: var(--brown);
  color: var(--cream);
  text-decoration: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Mobile: xs, sm */
@media (max-width: 767px) {
  .sost-hero {
    height: 400px;
    max-height: 50vh;
  }

  .sost-valori-intro {
    padding: 40px 0 20px;
  }

  .sost-valori-pretitle {
    font-size: 48px;
  }

  .sost-valori-title {
    font-size: 32px;
  }

  .sost-valori-text {
    font-size: 18px;
  }

  .sost-valori-card {
    min-height: auto;
    padding: 24px;
  }

  .sost-valori-card-title {
    font-size: 32px;
  }

  .sost-azioni-grid {
    grid-template-columns: 1fr;
  }

  .sost-azioni-card-text {
    font-size: 18px;
  }

  .sost-section-title {
    font-size: 36px;
  }

  .sost-ambiente {
    padding: 60px 0;
  }

  .sost-download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .sost-download-btn {
    width: 100%;
    max-width: 300px;
  }

  .sost-persone-grid {
    grid-template-columns: 1fr;
  }

  .sost-persone-image {
    max-width: 300px;
    margin: 0 auto;
    order: -1;
  }

  .sost-territorio {
    padding: 40px 0;
  }

  .sost-bcorp {
    grid-template-columns: 1fr;
  }

  .sost-bcorp-text {
    padding: 40px 20px;
  }

  .sost-bcorp-text-inner {
    margin: 0 auto;
  }

  .sost-bcorp-visual {
    min-height: 300px;
  }

  .sost-bcorp-title {
    font-size: 32px;
  }

  .sost-divider img {
    height: 300px;
  }

  .sost-attivita {
    padding: 40px 0;
  }

  .sost-attivita-pretitle {
    font-size: 48px;
  }

  .sost-attivita-title {
    font-size: 48px;
  }

  .sost-attivita-card-img {
    width: 200px;
    height: 200px;
  }

  .sost-carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .sost-carousel-prev {
    left: -5px;
  }

  .sost-carousel-next {
    right: -5px;
  }

  .sost-carousel-wrapper {
    padding: 0 24px;
  }

  .sost-territorio-gallery-wrapper {
    padding: 0 24px;
  }

  .sost-subnav-list li a {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Tablet: md */
@media (min-width: 768px) and (max-width: 991px) {
  .sost-valori-pretitle {
    font-size: 64px;
  }

  .sost-valori-title {
    font-size: 44px;
  }

  .sost-section-title {
    font-size: 48px;
  }

  .sost-persone-grid {
    gap: 30px;
  }

  .sost-attivita-pretitle,
  .sost-attivita-title {
    font-size: 64px;
  }
}

/* Desktop: lg+ */
@media (min-width: 992px) {
  .sost-hero {
    max-height: 75vh;
  }
}
