/**********************************************/
/* utilità: solo per screen reader / SEO (H1)  */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/**********************************************/
/* stili personalizzati per l'header laterale */
#header {
  padding: 3em 3em 1em 3em;
}

#header .inner img {
  width: 12em;
}

/*************************************************/
/* Pulsanti: oro pieno con gradiente e box-shadow */
a.button,
input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
  background: linear-gradient(
    180deg,
    #e8c970 0%,
    #d4a84b 45%,
    #c49414 100%
  ) !important;
  border: none !important;
  color: #fff !important;
  box-shadow:
    0 4px 14px rgba(184, 134, 11, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
  transition:
    box-shadow 0.2s ease,
    transform 0.15s ease,
    filter 0.2s ease;
}

a.button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:hover {
  background: linear-gradient(
    180deg,
    #f0d88a 0%,
    #e0b858 45%,
    #d4a84b 100%
  ) !important;
  border: none !important;
  color: #fff !important;
  box-shadow:
    0 6px 20px rgba(184, 134, 11, 0.45),
    0 3px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

a.button:active,
input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
  background: linear-gradient(
    180deg,
    #c49414 0%,
    #b8860b 50%,
    #a67a12 100%
  ) !important;
  border: none !important;
  color: rgba(255, 255, 255, 0.95) !important;
  box-shadow:
    0 2px 8px rgba(184, 134, 11, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

a.button.icon:before,
.button.icon:before,
input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before {
  color: rgba(255, 255, 255, 0.95);
}

/*************************************************/
/* stili personalizzati la sezione alta del main */

.major img {
  border-radius: 15px;
}

/*************************************************/
/* Recensioni Google (caricamento dinamico)       */
.reviews-row {
  align-items: stretch;
}

.reviews-item {
  display: flex;
  flex-direction: column;
}

.reviews-item h3 {
  margin: 0 0 0.5em 0;
}

.reviews-stars {
  color: #b8860b;
  font-weight: normal;
  font-size: 0.9em;
}

.reviews-text {
  font-style: italic;
  margin: 0;
  flex-grow: 1;
}

.reviews-error,
.reviews-empty {
  color: #787878;
  margin: 0;
}

.reviews-google-summary {
  margin: 0.5em 0 2em 0;
  color: #787878;
  font-size: 1.05em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em;
}

.reviews-rating-num {
  font-weight: 700;
  color: #1a1a1a;
}

.reviews-stars-summary {
  color: #b8860b;
  letter-spacing: 0.05em;
}

.reviews-sep {
  color: #999;
  font-weight: 400;
}

.reviews-count-num {
  font-weight: 600;
  color: #1a1a1a;
}

.reviews-count-label {
  color: #787878;
  font-weight: 400;
}

/*************************************************/
/* Sezione #two - Acquistiamo oro, argento, etc. */
#two .two-tagline {
  font-size: 1.15em;
  color: #787878;
  margin: -0.5em 0 1.5em 0;
}

#two .two-features {
  margin-top: 2em;
  align-items: stretch;
}

#two .two-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
}

#two .two-feature-img {
  display: block;
  width: 100%;
  height: 14em;
  min-height: 14em;
  border-radius: 0.5em;
  overflow: hidden;
  margin-bottom: 1em;
  flex-shrink: 0;
  border: solid 2px #efefef;
}

#two .two-feature-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#two .two-feature h3 {
  margin: 0;
  font-size: 1.1em;
}

#two .two-payment {
  margin-top: 2.5em;
  padding-top: 1.5em;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

#two .two-payment h2 {
  margin: 0 0 1em 0;
  text-align: center;
}

#two .two-payment-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 1em;
}

#two .two-payment-img {
  display: block;
  width: 15em;
  height: 15em;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

#two .two-payment-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#two .two-payment-line {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  font-size: 1.05em;
  color: #787878;
}

#two .two-payment-line .icon {
  color: #b8860b;
}

@media screen and (max-width: 736px) {
  #two .two-payment {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
}

/*************************************************/
/* Mappa Google - responsive                     */
.map-wrapper {
  width: 100%;
  margin: 1em 0 2em 0;
  border-radius: 0.35em;
  overflow: hidden;
  border: solid 1px #efefef;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 400px;
  max-height: 50vh;
}

/*************************************************/
/* FAQ: coerente con le altre sezioni del main    */

/* #four è la section; #faq è il contenitore accordion */
#four #faq.faq-section {
  margin: 0;
  padding: 0;
}

#four #faq .inner {
  max-width: 54em;
}

#faq .faq-item {
  border-bottom: solid 1px #efefef;
  margin: 0;
}

#faq .faq-item:last-child {
  border-bottom: 0;
}

#faq .faq-question {
  appearance: none;
  background: none;
  border: 0;
  color: #787878;
  cursor: pointer;
  font-family: "Source Sans Pro", Helvetica, sans-serif;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.5em;
  margin: 0;
  padding: 1em 0;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  transition: color 0.2s ease-in-out;
}

#faq .faq-question:hover {
  color: #b8860b;
}

#faq .faq-question .faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease-in-out;
  color: #b8860b;
}

#faq .faq-item.active .faq-question .faq-chevron {
  transform: rotate(180deg);
}

#faq .faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease-in-out;
}

#faq .faq-item.active .faq-answer {
  max-height: 50em;
}

#faq .faq-answer p {
  color: #a2a2a2;
  margin: 0 0 1em 0;
  padding: 0;
  line-height: 1.75em;
  font-size: 1em;
}

#faq .faq-answer ul {
  margin: 0 0 1em 0;
  padding-left: 1.25em;
}

#faq .faq-answer li {
  color: #a2a2a2;
  margin-bottom: 0.35em;
  line-height: 1.6em;
}

#faq .faq-answer .faq-info-box {
  background: #f7f5f0;
  border-left: 3px solid #b8860b;
  padding: 0.75em 1em;
  margin: 1em 0 0 0;
  font-size: 0.9em;
  color: #787878;
  line-height: 1.6em;
}

#faq .faq-answer .faq-info-box strong {
  display: block;
  margin-bottom: 0.25em;
  color: #787878;
}

#faq .faq-item:last-child .faq-answer p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/*************************************************/
/* Pagina Termini e Condizioni (stile sito)       */
.terms-content {
  max-width: 54em;
}

.terms-content section h2 {
  margin: 0 0 0.75em 0;
  padding-bottom: 0.4em;
}

.terms-num {
  color: #b8860b;
  font-weight: 400;
  margin-right: 0.25em;
}

.terms-update {
  font-size: 0.9em;
  color: #a2a2a2;
  font-style: italic;
  margin: -0.5em 0 1.5em 0;
}

.terms-intro-box {
  background: #f7f7f7;
  border-left: 4px solid #b8860b;
  border: 1px solid #efefef;
  border-left-width: 4px;
  border-left-color: #b8860b;
  padding: 1.25em 1.5em;
  margin: 0 0 2em 0;
  border-radius: 0 0.35em 0.35em 0;
}

.terms-intro-box p {
  margin: 0;
}

.terms-highlight {
  background: #faf8f5;
  border: 1px solid #e8e0d0;
  padding: 1em 1.25em;
  margin: 1.25em 0;
  font-size: 0.95em;
  color: #787878;
  border-radius: 0.35em;
}

.terms-highlight strong {
  display: block;
  margin-bottom: 0.35em;
  color: #787878;
}

.terms-warning {
  background: #fdf8f3;
  border-left: 4px solid #c0783a;
  padding: 1em 1.25em;
  margin: 1.25em 0;
  font-size: 0.9em;
  color: #6b5b4d;
  border-radius: 0 0.35em 0.35em 0;
}
