/* FAQ editoriali e dati strutturati: componente condiviso da tutte le lingue. */
.seo-faq-section {
  position: relative;
  overflow: hidden;
  padding: clamp(4.25rem, 7vw, 7rem) 0;
  color: #123f35;
  background:
    linear-gradient(135deg, rgba(244, 193, 93, .10), transparent 42%),
    linear-gradient(180deg, #fffdf8 0%, #f7f3e9 100%);
  border-block: 1px solid rgba(18, 63, 53, .10);
}

.seo-faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image: repeating-linear-gradient(120deg, transparent 0 42px, rgba(18, 63, 53, .04) 43px 44px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 78%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 78%, #000 100%);
}

.seo-faq-section .container {
  position: relative;
  z-index: 1;
  width: min(100% - clamp(2rem, 7vw, 7rem), 1180px);
  margin-inline: auto;
}

.seo-faq-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(17rem, .82fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: stretch;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.seo-faq-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: fit-content;
  margin: 0 0 1rem;
  color: #8d560a;
  font-size: clamp(.78rem, .72rem + .2vw, .92rem);
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.seo-faq-section__eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  flex: 0 0 auto;
  background: #d89b32;
}

.seo-faq-section__title {
  max-width: 12ch;
  margin: 0;
  color: #0d3d33;
  font-size: clamp(2.55rem, 4.8vw, 5rem);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}

.seo-faq-section__summary {
  display: grid;
  min-width: 0;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  align-content: center;
  background: rgba(255, 255, 255, .5);
  border-left: 3px solid #d89b32;
  border-radius: 0 1.4rem 1.4rem 0;
  box-shadow: inset 0 0 0 1px rgba(18, 63, 53, .055);
}

.seo-faq-section__context {
  max-width: 32rem;
  margin: 0;
  color: #123f35;
  font-size: clamp(1.28rem, 1.02rem + .75vw, 1.72rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.3;
  text-wrap: balance;
}

.seo-faq-section__intro {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: #47685f;
  font-size: clamp(1rem, .92rem + .3vw, 1.2rem);
  line-height: 1.75;
}

.seo-faq-list {
  display: grid;
  gap: .9rem;
  max-width: 1040px;
  margin: 0 auto;
}

.seo-faq-item {
  overflow: hidden;
  overflow: clip;
  scroll-margin-top: clamp(6rem, 10vw, 9rem);
  margin: 0;
  border: 1px solid rgba(18, 63, 53, .14);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 38px rgba(23, 51, 43, .07);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.seo-faq-item:hover,
.seo-faq-item[open] {
  border-color: rgba(216, 155, 50, .55);
  box-shadow: 0 18px 44px rgba(23, 51, 43, .11);
}

.seo-faq-item[open] {
  transform: translateY(-2px);
}

.seo-faq-item__question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.75rem;
  gap: 1.25rem;
  align-items: center;
  min-height: 5.5rem;
  padding: 1.25rem 1.4rem 1.25rem clamp(1.25rem, 3vw, 2rem);
  color: #113f35;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1.08rem, 1rem + .28vw, 1.3rem);
  font-weight: 700;
  letter-spacing: -.012em;
  line-height: 1.4;
  text-align: left;
}

.seo-faq-item__question::-webkit-details-marker {
  display: none;
}

.seo-faq-item__question:focus-visible {
  outline: 3px solid rgba(216, 155, 50, .55);
  outline-offset: -4px;
  border-radius: 1.1rem;
}

.seo-faq-item__toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  border-radius: .9rem;
  background: #123f35;
  box-shadow: 0 8px 18px rgba(18, 63, 53, .16);
}

.seo-faq-item__toggle::before,
.seo-faq-item__toggle::after {
  content: "";
  position: absolute;
  width: .95rem;
  height: 2px;
  border-radius: 2px;
  background: #f4c15d;
  transition: transform .2s ease, opacity .2s ease;
}

.seo-faq-item__toggle::after {
  transform: rotate(90deg);
}

.seo-faq-item[open] .seo-faq-item__toggle::after {
  opacity: 0;
  transform: rotate(0);
}

.seo-faq-item__answer {
  padding: 0 clamp(1.25rem, 3vw, 2rem) clamp(1.35rem, 3vw, 1.8rem);
}

.seo-faq-item__answer::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 1.15rem;
  background: linear-gradient(90deg, rgba(216, 155, 50, .68), rgba(18, 63, 53, .08));
}

.seo-faq-item__answer p {
  max-width: 54rem;
  margin: 0;
  color: #45665d;
  font-size: clamp(1rem, .97rem + .12vw, 1.1rem);
  line-height: 1.75;
}

@media (min-width: 768px) and (max-width: 900px) {
  .seo-faq-section__header {
    grid-template-columns: minmax(0, 1fr) minmax(19rem, .92fr);
    gap: clamp(1.5rem, 3vw, 2rem);
  }

  .seo-faq-section__summary {
    padding: 1.25rem;
  }

  .seo-faq-section__context {
    font-size: clamp(1.18rem, .98rem + .5vw, 1.35rem);
  }
}

@media (max-width: 767px) {
  .seo-faq-section {
    padding: 3.5rem 0;
  }

  .seo-faq-section .container {
    width: min(100% - 2rem, 42rem);
  }

  .seo-faq-section__header {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }

  .seo-faq-section__title {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.6rem);
    line-height: 1.02;
  }

  .seo-faq-section__summary {
    padding: 1.2rem 1.1rem 1.25rem;
    border-left-width: 3px;
    border-radius: 0 1.1rem 1.1rem 0;
  }

  .seo-faq-section__context {
    font-size: clamp(1.18rem, 5.5vw, 1.45rem);
    line-height: 1.34;
  }

  .seo-faq-section__intro {
    margin-top: .75rem;
  }

  .page .modern-section.seo-faq-section .container .seo-faq-section__header.seo-faq-section__header p.seo-faq-section__intro {
    font-size: 16.5px !important;
    line-height: 1.68;
  }

  .seo-faq-list {
    gap: .75rem;
  }

  .seo-faq-item {
    border-radius: 1.05rem;
  }

  .seo-faq-item__question {
    grid-template-columns: minmax(0, 1fr) 2.4rem;
    gap: .85rem;
    min-height: 4.9rem;
    padding: 1.05rem 1rem 1.05rem 1.1rem;
    font-size: 17px !important;
    line-height: 1.42;
  }

  .seo-faq-item__toggle {
    width: 2.4rem;
    border-radius: .75rem;
  }

  .seo-faq-item__answer {
    padding: 0 1.1rem 1.25rem;
  }

  .page .modern-section.seo-faq-section .container .seo-faq-list .seo-faq-item .seo-faq-item__answer p {
    font-size: 16.5px !important;
    line-height: 1.7;
  }
}

@media (max-width: 359px) {
  .seo-faq-section .container {
    width: min(100% - 1.4rem, 42rem);
  }

  .seo-faq-item__question {
    font-size: 17px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .seo-faq-item,
  .seo-faq-item__toggle::before,
  .seo-faq-item__toggle::after {
    transition: none;
  }
}
