/* Storie (video + scritte) e Happy Family: stessi blocchi del sito di Elena, nei colori di Lara */
.eyebrow { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--nocciola); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--rosa); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* storie in video */
.hb-videos { background: var(--cacao); color: #eadbd0; padding: clamp(64px, 8vw, 110px) 0; }
.hb-videos h2 { color: var(--avorio); }
.hb-videos h2 em { color: var(--rosa); }
.hb-videos .eyebrow { color: var(--sabbia); }
.hb-videos .lede { color: #dccbbf; }
.hb-videos-head { max-width: 720px; margin-bottom: 40px; }
.vgrid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vcard { position: relative; display: flex; flex-direction: row; align-items: flex-start; gap: 20px; padding: 22px 22px 24px; border: 1px solid rgba(228, 211, 193, .22); border-radius: 20px; background: #5a4035; cursor: pointer; text-align: left; font: inherit; color: var(--avorio); text-decoration: none; transition: transform .3s, border-color .3s, background .3s; }
.vcard:hover, .vcard:focus-visible { transform: translateY(-4px); border-color: var(--rosa); background: #654737; }
.vcard img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--rosa); padding: 3px; background: #5a4035; margin: 0; }
.vplay { position: absolute; top: 84px; left: 82px; width: 32px; height: 32px; border-radius: 50%; background: var(--avorio); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0, 0, 0, .3); }
.vplay::before { content: ""; border-left: 10px solid var(--cacao); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.vname { line-height: 1.25; min-width: 0; }
.vname b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.vname small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sabbia); }
.vq { display: block; font-style: italic; font-size: 15.5px; line-height: 1.5; color: #e6d6ca; }
.vread { display: block; margin-top: 8px; font-size: 14px; color: var(--rosa); }
.hb-videos-pro { max-width: 720px; margin: clamp(56px, 7vw, 84px) 0 28px; padding-top: 40px; border-top: 1px solid rgba(228, 211, 193, .22); }
.hb-videos-pro h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; color: var(--avorio); margin: 0 0 12px; }
.hb-videos-pro h3 em { color: var(--rosa); }
.hb-videos-pro p { color: #dccbbf; margin: 0; }
.vgrid-pro { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
@media (max-width: 1000px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vgrid, .vgrid-pro { grid-template-columns: 1fr; } .vcard img { width: 72px; height: 72px; } .vplay { top: 70px; left: 70px; } }

/* finestra video */
.vmodal { padding: 0; border: 0; border-radius: 18px; background: #000; width: min(960px, 92vw); overflow: visible; }
.vmodal.is-short { width: min(400px, 88vw); }
.vmodal::backdrop { background: rgba(40, 26, 20, .84); }
.vframe { aspect-ratio: 16 / 9; }
.vmodal.is-short .vframe { aspect-ratio: 9 / 16; max-height: 82vh; margin: 0 auto; }
.vframe iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: 18px; }
.vclose { position: absolute; top: -46px; right: 0; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--avorio); color: var(--cacao); font-size: 24px; line-height: 1; cursor: pointer; }

/* Happy Family: sezione standard */
.hb-hf { background: var(--cipria); padding: clamp(56px, 7vw, 96px) 0; }
.hb-hf-card { background: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 52px); box-shadow: 0 30px 60px -40px rgba(120, 70, 60, .45); text-align: left; }
.hb-hf h2 { margin: 6px 0 14px; }
.hb-hf h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 26px 0 10px; }
.hb-hf-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.hb-hf-list li { padding: 14px 18px; border-radius: 16px; background: var(--avorio); border-left: 3px solid var(--rosa); }
.hb-hf-list b { color: var(--cacao); }
.hb-hf-close { margin-top: 22px; font-family: var(--serif); font-size: clamp(20px, 2vw, 24px); line-height: 1.35; color: var(--nocciola); }
.hb-hf-cta { margin-top: 26px; }

/* storie scritte, a messaggio */
.light { background: var(--crema); }
.msgs { columns: 3 280px; column-gap: 20px; margin-top: 34px; }
.msg { break-inside: avoid; margin: 0 0 20px; display: flex; flex-direction: column; gap: 10px; }
.msg blockquote { position: relative; margin: 0; padding: 18px 20px 26px; background: #fff; border-radius: 20px 20px 20px 6px; box-shadow: 0 10px 26px -18px rgba(74, 51, 41, .45); font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--cacao); }
.msg blockquote::before { content: "\201C"; display: block; height: 22px; font-size: 44px; line-height: 1; color: var(--rosa); }
.msg blockquote::after { content: ""; position: absolute; left: 0; bottom: -9px; border-left: 12px solid #fff; border-bottom: 10px solid transparent; }
.msg-rose blockquote { background: var(--cipria); }
.msg-rose blockquote::after { border-left-color: var(--cipria); }
.msg-tick { position: absolute; right: 16px; bottom: 8px; font-family: var(--sans); font-size: 11px; letter-spacing: -.12em; color: var(--nocciola); }
.msg figcaption { display: flex; align-items: center; gap: 12px; padding-left: 6px; }
.msg figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; }
.msg figcaption > span { flex: 1; min-width: 0; line-height: 1.25; }
.msg figcaption b { display: block; font-weight: 500; font-size: 15px; color: var(--cacao); }
.msg figcaption small { display: block; font-size: 13px; color: var(--soft); }
.msg figcaption button { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--nocciola); background: transparent; color: var(--nocciola); font-size: 12px; cursor: pointer; transition: background .2s, color .2s; }
.msg figcaption button:hover, .msg figcaption button:focus-visible { background: var(--cacao); color: var(--avorio); border-color: var(--cacao); }
.msg-ini { width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--rosa); color: #fff; font-style: normal; font-family: var(--serif); font-size: 18px; border: 2px solid #fff; }
.js .msgs .msg.msg-off { display: none; }
.msgs-more { margin: 6px 0 0; text-align: center; }
.msgs-more button { font-family: var(--sans); cursor: pointer; }
.msgs-more .btn span { opacity: .7; font-weight: 400; }
.hb-team { max-width: 1120px; }
.hb-story-cta { max-width: 720px; margin: 56px auto 0; background: var(--cacao); color: #eadbd0; border-radius: 26px; padding: clamp(28px, 4vw, 48px); text-align: center; }
.hb-story-cta .eyebrow { color: var(--sabbia); }
.hb-story-cta .eyebrow::before { display: none; }
.hf-big { font-family: var(--serif); font-size: clamp(26px, 3vw, 32px); line-height: 1.2; color: var(--avorio); margin: 10px 0 16px; }
.hf-big em { color: var(--rosa); }
.hb-story-cta .actions { display: flex; justify-content: center; }
.hb-story-cta .btn { background: var(--avorio); color: var(--cacao); border-color: var(--avorio); }
.hf-alt { display: inline-block; margin-top: 16px; color: var(--sabbia); font-size: 14px; }
@media (max-width: 640px) { .msg blockquote { font-size: 18px; } }
.hb-videos .hl, .hb-story-cta .hl, .path.feature .hl { color: #fff; }

/* 2026-11-25 Valentina: storie da sfogliare col dito, stesso testo e ordine */
.msgs { columns: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 8px 6px 20px; margin-top: 18px; scrollbar-width: none; }
.msgs::-webkit-scrollbar { display: none; }
.msgs .msg { flex: 0 0 84%; max-width: 360px; scroll-snap-align: center; margin: 0; }
@media (min-width: 900px) { .msgs .msg { flex-basis: calc((100% - 28px) / 3); } }
#testimonianze .lede::after { content: "Scorri per leggere le altre storie \2192"; display: block; margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--nocciola); }
.js .msgs .msg.msg-off { display: flex; }
#msgs-more { display: none !important; }
#testimonianze .team > div, #testimonianze .msgs { min-width: 0; max-width: 100%; }
#testimonianze .msgs { contain: paint; }

/* Happy Family dopo l'iscrizione al workshop (come sul sito di Elena) */
.hb-hf-after { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.6); border: 1px solid var(--line); }
.hb-hf-after p { margin: 0 0 8px; }
.hb-hf-link { font-weight: 500; color: var(--nocciola); text-decoration: underline; text-underline-offset: 3px; }
