/* Storto Pagine — FAQ, Contatti, Le frasi (2026-10-21) */
.sfq-title, .sfr-title { font-family: 'StortoDisplay', cursive; font-weight: 400; color: #0a0a0a; }
.sfq-title { font-size: clamp(44px, 8vw, 88px); line-height: 1.02; margin: 26px 0 6px; }
.sfq-sub { font-family: 'Archivo', sans-serif; font-size: 19px; color: #3d3d3d; margin: 0 0 8px; }
.sfq-random {
  background: #FF6B2B; color: #fafaf8; border: 0; cursor: pointer;
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 13.5px;
  padding: 9px 18px; border-radius: 999px; margin: 10px 0 6px;
}
.sfq-group { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 21px; color: #0a0a0a; margin: 38px 0 6px; }
.sfq-item { border-bottom: 1px solid #e7e4de; padding: 13px 2px; max-width: 760px; }
.sfq-item summary {
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 16.5px; color: #0a0a0a;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.sfq-item summary::after { content: '+'; font-weight: 700; font-size: 21px; color: #FF6B2B; flex: none; }
.sfq-item[open ] summary::after { content: '−'; }
.sfq-item summary::-webkit-details-marker { display: none; }
.sfq-a { font-family: 'Archivo', sans-serif; font-size: 15.5px; line-height: 1.65; color: #3d3d3d; margin: 9px 0 3px; max-width: 680px; }
.sfq-a a { color: #FF6B2B; text-decoration: none; font-weight: 600; }
.sfq-box { background: #0a0a0a; color: #fafaf8; border-radius: 18px; padding: 30px 30px 24px; margin: 46px 0 8px; max-width: 760px; }
.sfq-box h2 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 23px; margin: 0 0 8px; color: #fafaf8; }
.sfq-box p { font-family: 'Archivo', sans-serif; font-size: 15.5px; line-height: 1.6; color: #e9e6e0; margin: 0 0 14px; }
.sfq-box .sfq-mail { color: #FF6B2B; font-weight: 700; text-decoration: none; }
.sfq-close { font-family: 'StortoDisplay', cursive; font-size: clamp(38px, 6.5vw, 72px); color: #0a0a0a; text-align: center; margin: 52px 0 18px; }
.sfq-readers { max-width: 760px; }
.sfq-reader { background: #fafaf8; border: 1px solid #e7e4de; border-radius: 14px; padding: 16px 18px; margin: 12px 0; }
.sfq-rq { font-family: 'Archivo', sans-serif; font-size: 15.5px; color: #0a0a0a; margin: 0 0 6px; }
.sfq-rn { font-family: 'Archivo', sans-serif; font-size: 13px; color: #767676; margin: 0; }

/* Form contatti/domande */
.storto-formbox { max-width: 760px; margin: 18px 0; }
.storto-formbox .sfb-row { display: flex; gap: 10px; flex-wrap: wrap; }
.storto-formbox input, .storto-formbox textarea {
  font-family: 'Archivo', sans-serif; font-size: 15px; color: #0a0a0a;
  border: 1px solid #d8d4cc; border-radius: 10px; padding: 11px 13px; background: #fff;
}
.storto-formbox .sfb-row input { flex: 1 1 180px; }
.storto-formbox textarea { width: 100%; margin-top: 10px; box-sizing: border-box; }
.sfq-box .storto-formbox input, .sfq-box .storto-formbox textarea { background: #171717; border-color: #333; color: #fafaf8; }
.sfb-btn {
  background: #FF6B2B; color: #fafaf8; border: 0; cursor: pointer; margin-top: 12px;
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 15px; padding: 12px 24px; border-radius: 999px;
}
.sfb-privacy { font-family: 'Archivo', sans-serif; font-size: 12.5px; color: #8a8a8a; margin-top: 10px; }
.sfb-privacy a { color: inherit; }
.sfb-ok { font-family: 'Archivo', sans-serif; font-weight: 600; color: #2e7d32; }
.sfb-err { font-family: 'Archivo', sans-serif; font-weight: 600; color: #c1272d; }

/* Blocco email Contatti */
.storto-mailbox { max-width: 760px; margin: 24px 0 6px; }
.storto-mailbox .sm-t { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 24px; color: #0a0a0a; }
.storto-mailbox .sm-mail {
  font-family: 'StortoDisplay', cursive; font-size: clamp(30px, 5.5vw, 52px);
  color: #FF6B2B; text-decoration: none; line-height: 1.15; display: inline-block; margin: 4px 0 8px;
}
.storto-mailbox .sm-s { font-family: 'Archivo', sans-serif; font-size: 15.5px; line-height: 1.6; color: #3d3d3d; }

/* Contatti: sfondo bianco pulito (ordine Marco 2026-10-22: via il pattern) */
body.page-id-21 main {
  background: #fff;
}
body.page-id-21 .storto-mailbox, body.page-id-21 .storto-formbox {
  background: #fff; border-radius: 18px; padding: 26px 28px;
  box-shadow: 0 10px 34px rgba(10, 10, 10, .08);
}
body.page-id-21 .storto-formbox { margin-top: 20px; }
.sfb-row2 { margin-top: 10px; }
.sfb-dob { font-family: 'Archivo', sans-serif; font-size: 13.5px; color: #3d3d3d; display: flex; flex-direction: column; gap: 5px; }
.sfb-dob input[type="date"] {
  width: 240px; max-width: 100%; height: 45px; min-height: 0;
  padding: 11px 13px; line-height: 1.3; box-sizing: border-box;
}
.sfb-check {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 12px;
  font-family: 'Archivo', sans-serif; font-size: 13.5px; line-height: 1.5; color: #3d3d3d; cursor: pointer;
}
.sfb-check input { margin-top: 2px; flex: none; width: 16px; height: 16px; }
.sfb-check a { color: #FF6B2B; font-weight: 600; text-decoration: none; }

/* Le frasi */
.sfr-title { font-size: clamp(44px, 8vw, 88px); line-height: 1.02; margin: 26px 0 10px; }
.sfr-intro { font-family: 'Archivo', sans-serif; font-size: 17px; line-height: 1.65; color: #3d3d3d; max-width: 680px; }
.sfr-block { display: flex; gap: 28px; align-items: center; padding: 38px 0; border-bottom: 1px solid #e7e4de; flex-wrap: wrap; }
.sfr-block img { width: 300px; max-width: 100%; height: auto; border-radius: 16px; flex: none; }
.sfr-body { flex: 1 1 320px; }
.sfr-frase { font-family: 'StortoDisplay', cursive; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; color: #0a0a0a; margin: 0 0 12px; }
.sfr-txt { font-family: 'Archivo', sans-serif; font-size: 16px; line-height: 1.65; color: #3d3d3d; margin: 0 0 16px; max-width: 560px; }
.sfr-btn {
  display: inline-block; background: #0a0a0a; color: #fafaf8 !important; text-decoration: none;
  font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: 999px;
}
.sfr-btn:hover { background: #FF6B2B; }

/* Frasi storte: impaginazione editoriale (2026-10-21) */
.sfr-wrap { max-width: 1120px; margin: 0 auto; padding: 8px 24px 24px; }
.sfr-wrap .sfr-title { margin-top: 8px; }
.sfr-block {
  display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center;
  padding: 56px 0; border-bottom: 1px solid #e7e4de; flex-wrap: nowrap;
}
.sfr-block:last-child { border-bottom: 0; }
.sfr-block .sfr-media img {
  width: 100%; max-width: none; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 20px; display: block;
}
.sfr-block:nth-of-type(even) .sfr-media { order: 2; }
.sfr-block:nth-of-type(even) .sfr-body { order: 1; }
.sfr-body { flex: none; }
.sfr-frase { font-size: clamp(36px, 4.4vw, 56px); margin: 0 0 16px; }
.sfr-txt { font-size: 17px; max-width: 52ch; margin: 0 0 22px; }
.sfr-btn { background: #FF6B2B; }
.sfr-btn:hover { background: #e85a1f; }
@media (max-width: 820px) {
  .sfr-block { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .sfr-block:nth-of-type(even) .sfr-media { order: 0; }
  .sfr-block:nth-of-type(even) .sfr-body { order: 1; }
}

/* Frasi: stacco netto tra i blocchi, bottone in evidenza, lettere che cadono (2026-10-21) */
.sfr-block:nth-of-type(even) {
  background: #f3efe6; border-radius: 24px; border-bottom: 0;
  padding: 56px 40px; margin: 8px 0;
}
.sfr-block:nth-of-type(odd) { padding-left: 8px; padding-right: 8px; }
.sfr-btn {
  display: inline-block; background: #FF6B2B; color: #fafaf8;
  font-size: 17px; font-weight: 700; padding: 16px 30px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255, 107, 43, .35);
}
.sfr-btn:hover { background: #e85a1f; color: #fafaf8; }
.sfr-letters {
  position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.sfr-letters span {
  position: absolute; top: -12%;
  font-family: 'StortoDisplay', cursive; color: #FF6B2B; opacity: .13;
  animation-name: sfrFall; animation-timing-function: linear; animation-iteration-count: infinite;
}
@keyframes sfrFall {
  0% { transform: translate3d(0, -6vh, 0) rotate(0deg); }
  50% { transform: translate3d(2.2vw, 52vh, 0) rotate(160deg); }
  100% { transform: translate3d(-1vw, 112vh, 0) rotate(320deg); }
}
body.page-id-554 main, body.page-template-default main { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .sfr-letters { display: none; } }
