.faq-page {
  background: #f4f8fb;
}

.faq-hero {
  padding: 120px 0 62px;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 166, 81, .20), transparent 32%),
    linear-gradient(135deg, #061b33 0%, #123c68 62%, #0b2748 100%);
  color: #fff;
  overflow: hidden;
}

.faq-hero-inner {
  max-width: 880px;
}

.faq-hero .eyebrow {
  color: #00a651;
  letter-spacing: .14em;
}

.faq-hero h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1;
}

.faq-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, .86);
  font-size: 1.12rem;
  line-height: 1.65;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 330px) 1fr;
  gap: 28px;
  align-items: start;
  padding-top: 54px;
  padding-bottom: 72px;
}

.faq-side-card {
  position: sticky;
  top: 108px;
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(6, 27, 51, .10);
  border: 1px solid rgba(18, 60, 104, .10);
}

.faq-side-card h2 {
  margin: 0 0 12px;
  color: #061b33;
  font-size: 1.35rem;
}

.faq-side-card p {
  color: #4d6178;
  line-height: 1.6;
}

.faq-contact-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 60, 104, .12);
  display: grid;
  gap: 8px;
  color: #4d6178;
}

.faq-contact-box strong {
  color: #061b33;
}

.faq-contact-box a {
  color: #123c68;
  font-weight: 800;
  text-decoration: none;
}

.faq-content {
  display: grid;
  gap: 24px;
}

.faq-group {
  background: #fff;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 48px rgba(6, 27, 51, .08);
  border: 1px solid rgba(18, 60, 104, .10);
}

.faq-group h2 {
  margin: 0 0 18px;
  color: #061b33;
  font-size: 1.55rem;
}

.faq-group details {
  border: 1px solid rgba(18, 60, 104, .12);
  border-radius: 18px;
  background: #f9fbfd;
  overflow: hidden;
}

.faq-group details + details {
  margin-top: 12px;
}

.faq-group summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 20px;
  color: #061b33;
  font-weight: 800;
  line-height: 1.35;
}

.faq-group summary::-webkit-details-marker {
  display: none;
}

.faq-group summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #00a651;
  color: #fff;
  font-weight: 900;
}

.faq-group details[open] summary {
  background: #eef8f2;
}

.faq-group details[open] summary::after {
  content: "–";
}

.faq-answer {
  padding: 0 20px 20px;
  color: #445a70;
  line-height: 1.68;
}

.faq-answer p {
  margin: 12px 0 0;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .faq-side-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .faq-hero {
    padding: 96px 0 42px;
  }

  .faq-group,
  .faq-side-card {
    padding: 20px;
    border-radius: 20px;
  }

  .faq-group summary {
    padding: 16px 50px 16px 16px;
  }

  .faq-answer {
    padding: 0 16px 18px;
  }
}

/* PATCH FOOTER FAQ - allineato alla home */
.site-footer .footer-grid {
  grid-template-columns: minmax(220px, 1.15fr) repeat(4, minmax(160px, 1fr));
  gap: 28px;
  align-items: start;
}

.site-footer .footer-brand {
  min-width: 0;
}

.site-footer .footer-logo-combo {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.site-footer .footer-italia-app {
  display: block;
  width: 245px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer .footer-ets-app {
  display: block;
  width: 115px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-consumer-links {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.footer-consumer-links a {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  line-height: 1.35;
  font-size: .95rem;
}

.footer-consumer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-italia-app {
    width: 225px;
  }

  .site-footer .footer-ets-app {
    width: 105px;
  }
}

