/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font/barlow-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font/barlow-400i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/font/barlow-500i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/font/barlow-500i-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/font/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/font/barlow-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/font/barlow-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/font/barlow-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/font/barlow-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/font/barlow-condensed-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/font/barlow-condensed-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/font/barlow-condensed-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/font/barlow-condensed-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/font/barlow-condensed-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/font/barlow-condensed-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Studio Esoterico Calista Chiara · nuovo sito
   Base: l'anteprima approvata dalla cliente (bianco e viola come WikiTarot, logo Catena),
   misure piccole come vuole lei. */

:root {
  --viola: #6726b5;
  --viola-scuro: #462271;
  --viola-medio: #8a5fbe;
  --lavanda: #f6f1fc;
  --lavanda-2: #ece2f8;
  --bordo: #e4d8f3;
  --testo: #2c2238;
  --testo-2: #635a72;
  --oro: #c9a646;
  --oro-scuro: #97712a;
  --verde: #2fa84f;
  --rosso: #d9443a;
  --ambra: #c98a12;
  --blu: #3949ab;
  --titoli: "Barlow Condensed", "Arial Narrow", sans-serif;
  --corpo: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ombra: 0 14px 34px rgba(70, 34, 113, .08);
  --altezza-testata: 66px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--altezza-testata) + 12px); }
body { margin: 0; font-family: var(--corpo); font-size: 16px; line-height: 1.34; color: var(--testo); background: #fff; overflow-x: hidden; }
body.menu-aperto { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--titoli); font-weight: 600; line-height: 1.12; margin: 0; color: var(--viola-scuro); letter-spacing: .2px; text-align: center; text-wrap: balance; }
/* come vuole la cliente: titoli centrati e testi giustificati ovunque, grassetti leggeri nel testo */
p, .testo li, .testo blockquote { text-align: justify; }
p strong, p b, li strong, li b { font-weight: 500; }
/* nei blocchi centrati anche l'ultima riga dei testi resta al centro */
.centro, .hero-testo, .testa-pagina, .studio-testo, .partner, .errore-404, .popup-scheda, .piede { text-align-last: center; }
.rec, .modulo-rec { text-align-last: auto; }
:focus-visible { outline: 2px solid var(--viola); outline-offset: 3px; border-radius: 4px; }
.salta { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--viola); color: #fff; padding: 8px 14px; border-radius: 8px; }
.salta:focus { left: 8px; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.stretto { max-width: 780px; }
.sezione { padding: 18px 0; }
.sezione--lavanda { background: var(--lavanda); }
.occhiello { display: inline-block; font-family: var(--titoli); font-weight: 600; font-size: 14px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--viola); }
.titolo-sez { font-size: 26px; margin: 3px 0 6px; }
.sotto { color: var(--testo-2); margin: 0 0 12px; max-width: 620px; }
.centro { text-align: center; }
.centro .sotto { margin-left: auto; margin-right: auto; }
.nascosto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* tasti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-family: var(--titoli); font-weight: 600; font-size: 16px; letter-spacing: .4px; border: 2px solid var(--viola); transition: background .2s, color .2s, border-color .2s; cursor: pointer; text-align: center; line-height: 1.15; }
.btn--pieno { background: var(--viola); color: #fff; box-shadow: 0 8px 20px rgba(103, 38, 181, .22); }
.btn--pieno:hover { background: var(--viola-scuro); border-color: var(--viola-scuro); }
.btn--vuoto { background: #fff; color: var(--viola); }
.btn--vuoto:hover { background: var(--lavanda); }
.btn--verde { background: #25d366; border-color: #25d366; color: #fff; }
.btn--verde:hover { background: #1fb457; border-color: #1fb457; }
.btn--piccolo { min-height: 38px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-freccia { display: inline-flex; align-items: center; gap: 4px; color: var(--viola); font-weight: 600; font-size: 15px; }
.link-freccia:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-freccia svg { width: 14px; height: 14px; flex: none; }
.tasti { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tasti .btn { font-size: 15px; min-height: 40px; padding: 0 18px; }

/* testata */
.testata { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--bordo); }
.testata .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: var(--altezza-testata); }
.testata .logo img { height: 46px; width: auto; }
.menu { display: none; }
.menu > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.menu li { position: relative; }
.menu > ul > li > a { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 9px; font-family: var(--titoli); font-weight: 600; font-size: 16px; color: var(--viola-scuro); white-space: nowrap; border-bottom: 2px solid transparent; }
.menu > ul > li > a:hover { color: var(--viola); }
.menu > ul > li > a.attivo { color: var(--viola); border-bottom-color: var(--viola); }
.menu .freccina { width: 12px; height: 12px; transition: transform .2s; }
.menu .sotto-menu { position: absolute; left: -6px; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--bordo); border-radius: 14px; box-shadow: 0 18px 40px rgba(70, 34, 113, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.menu li:hover > .sotto-menu, .menu li:focus-within > .sotto-menu, .menu li.aperto > .sotto-menu { opacity: 1; visibility: visible; transform: none; }
.menu li:hover .freccina, .menu li.aperto .freccina { transform: rotate(180deg); }
.menu .sotto-menu a { display: block; padding: 7px 12px; border-radius: 8px; font-size: 15px; color: var(--testo); }
.menu .sotto-menu a:hover, .menu .sotto-menu a.attivo { background: var(--lavanda); color: var(--viola); }
.testata-dx { display: flex; align-items: center; gap: 10px; }
.hamburger { width: 42px; height: 38px; border-radius: 10px; border: 1px solid var(--bordo); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.hamburger span, .hamburger span::before, .hamburger span::after { display: block; width: 18px; height: 2px; background: var(--viola-scuro); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.hamburger span::before, .hamburger span::after { content: ""; position: absolute; left: 0; }
.hamburger span::before { top: -6px; } .hamburger span::after { top: 6px; }
.hamburger[aria-expanded="true"] span { background: transparent; }
.hamburger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* menu da telefono */
.menu-telefono { position: fixed; inset: var(--altezza-testata) 0 0 0; z-index: 29; background: #fff; overflow-y: auto; padding: 6px 20px 18px; border-top: 1px solid var(--bordo); }
.menu-telefono[hidden] { display: none; }
.menu-telefono ul { list-style: none; margin: 0; padding: 0; }
.menu-telefono > ul > li { border-bottom: 1px solid var(--bordo); }
.menu-telefono > ul > li > a, .menu-telefono .riga { display: flex; align-items: center; justify-content: space-between; min-height: 50px; font-family: var(--titoli); font-weight: 600; font-size: 19px; color: var(--viola-scuro); }
.menu-telefono a.attivo { color: var(--viola); }
.menu-telefono .riga a { flex: 1; min-height: 50px; display: flex; align-items: center; }
.menu-telefono .apri { width: 46px; height: 46px; border: 0; background: var(--lavanda); border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--viola); }
.menu-telefono .apri svg { width: 16px; height: 16px; transition: transform .2s; }
.menu-telefono .apri[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu-telefono .sotto { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 2px 0 14px; }
.menu-telefono .sotto[hidden] { display: none; }
.menu-telefono .sotto a { display: block; padding: 9px 12px; border-radius: 10px; background: var(--lavanda); font-size: 15px; color: var(--viola-scuro); line-height: 1.25; }
.menu-telefono .sotto a.attivo { background: var(--viola); color: #fff; }
.menu-telefono .azioni { display: grid; gap: 10px; margin-top: 14px; }

/* copertina (home e pagine SEO) */
.hero { background: linear-gradient(180deg, var(--lavanda) 0%, #fff 100%); padding: 16px 0 14px; }
.hero-griglia { display: grid; gap: 14px; }
.hero-testo { text-align: center; }
.hero .titolo-hero { font-family: var(--titoli); font-size: 30px; font-weight: 700; line-height: 1.1; margin: 4px 0 8px; color: var(--viola-scuro); text-align: center; }
.hero .titolo-hero em { font-style: normal; color: var(--viola); white-space: nowrap; }
.hero p.lead { margin: 0 0 6px; color: var(--testo-2); font-size: 16px; }
.hero p.motto { margin: 0 0 10px; color: var(--viola-scuro); font-weight: 600; text-align: center; }
.prova { display: flex; align-items: center; justify-content: center; gap: 6px 10px; flex-wrap: wrap; margin: 0 0 12px; font-size: 15px; color: var(--testo-2); }
.stelle { color: #f2b51d; letter-spacing: 2px; font-size: 17px; line-height: 1; }
.prova b { color: var(--testo); }
.prova a { color: var(--viola); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-azioni { display: grid; gap: 8px; }
/* in risalto l'analisi gratuita; il numero dopo «oppure», piccolo e senza riquadro */
.hero-azioni .btn-analisi { min-height: 52px; font-size: 18px; }
.oppure { text-align: center; font-size: 13px; font-style: italic; color: var(--testo-2); line-height: 1; margin: -2px 0 -4px; }
.hero-numero { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.hero-numero .numero { font-family: var(--titoli); font-weight: 600; font-size: 18px; color: var(--viola-scuro); letter-spacing: .3px; line-height: 1.2; }
.hero-numero .costo { color: var(--testo-2); font-size: 13px; }
.hero-doppio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.hero-doppio .btn { padding: 0 10px; }
.hero-azioni .codice { margin: 0; justify-content: center; }
.hero-foto { position: relative; margin-bottom: 26px; }
.hero-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 18px 40px rgba(70, 34, 113, .18); filter: brightness(1.3) contrast(.94) saturate(1.05); }
.anni { position: absolute; top: -12px; right: 14px; width: 84px; height: 84px; border-radius: 50%; background: #fff; border: 2px solid var(--oro); display: grid; place-content: center; text-align: center; box-shadow: 0 8px 20px rgba(70, 34, 113, .15); }
.anni b { font-family: var(--titoli); font-size: 30px; line-height: .9; color: var(--viola); }
.anni small { font-family: var(--titoli); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--viola-scuro); }
.citazione { position: absolute; left: 12px; right: 12px; bottom: -22px; display: grid; overflow: hidden; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: 0 10px 26px rgba(70, 34, 113, .16); font-size: 14px; line-height: 1.4; }
.citazione .stelle { font-size: 13px; }
.citazione span.nome { color: var(--testo-2); font-size: 13px; }
/* le recensioni scorrono lente una alla volta (sito.js): tutte nella stessa cella, la scheda resta della stessa altezza */
.citazione .cit { grid-area: 1 / 1; align-self: center; margin: 0; opacity: 0; transform: translateX(100%); transition: transform 1s ease, opacity 1s ease; }
.citazione .cit.attiva { opacity: 1; transform: none; }
.citazione .cit.uscita { opacity: 0; transform: translateX(-100%); }

/* punti di forza */
.punti { display: grid; gap: 7px; margin-top: 24px; }
.punto { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--bordo); border-radius: 14px; padding: 8px 12px; }
.punto i { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--lavanda-2); display: grid; place-items: center; color: var(--viola); }
.punto i svg { width: 17px; height: 17px; }
.punto b { font-family: var(--titoli); font-size: 18px; font-weight: 600; color: var(--viola-scuro); line-height: 1.15; margin-right: 6px; }
.punto span { font-size: 13px; color: var(--testo-2); line-height: 1.15; }

/* chi siamo e testi con «Mostra di più» */
.chi { display: grid; gap: 16px; align-items: center; }
.chi-testo p { margin: 0 0 6px; color: var(--testo-2); line-height: 1.28; }
/* i paragrafi sono giustificati: per la firma a sinistra serve anche text-align-last */
.chi-testo p.firma { text-align: left; text-align-last: left; font-family: var(--titoli); font-size: 20px; font-weight: 500; color: var(--viola); margin: 4px 0 0; }
.chi-titoli { text-align: center; margin-bottom: 10px; }
.chi-titoli .titolo-sez { margin-bottom: 4px; }
/* su una riga sola anche sul telefono: piccola quanto basta, senza grassetto */
.chi-testo p.benvenuti { margin: 0; font-family: var(--titoli); font-size: min(20px, calc((100vw - 44px) / 16.9)); font-weight: 500; color: var(--viola-scuro); line-height: 1.25; text-align: center; }
.chi-testo .mostra { display: flex; margin: 6px auto 0; }
.chi-lavori { min-width: 0; }
.tagliato { position: relative; overflow: hidden; transition: max-height .35s ease; }
.tagliato.chiuso { max-height: var(--h, 236px); }
/* Chi siamo da chiuso: il primo paragrafo e un accenno del secondo (richiesta della cliente) */
#testo-chi-siamo { --h: 118px; }
#testo-chi-siamo.chiuso::after { height: 44px; }
.tagliato.chiuso::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.sezione--lavanda .tagliato.chiuso::after { background: linear-gradient(rgba(246, 241, 252, 0), var(--lavanda)); }
.mostra { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--viola); margin-top: 8px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-size: 15px; }
.mostra svg { width: 14px; height: 14px; transition: transform .2s; }
.mostra[aria-expanded="true"] svg { transform: rotate(180deg); }

/* rituali e lavori */
#rituali .sotto { margin: 4px auto 10px; }
/* aprono la sezione al posto del titolo: un po' più grandi e lampeggianti lenti (richiesta della cliente) */
.etichette-titolo { font-size: 23px; margin: 0 0 8px; color: var(--viola-scuro); animation: lampeggia 2.6s ease-in-out infinite; }
@keyframes lampeggia { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.etichette-titolo a:hover { color: var(--viola); }
.etichette { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; margin: 0 auto 12px; max-width: 760px; padding: 0; list-style: none; }
.etichette a { display: inline-block; background: #fff; border: 1px solid var(--bordo); border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 500; line-height: 1.3; color: var(--viola-scuro); transition: border-color .2s, color .2s; }
.etichette a:hover { border-color: var(--viola); color: var(--viola); }
.lavori-titolo { display: grid; justify-items: center; gap: 2px; margin: 14px 0 8px; }
.chi-lavori .lavori-titolo { margin-top: 14px; }
.lavori-titolo h3 { font-size: 24px; }
.lavori-titolo h3 a:hover { color: var(--viola); }
.lavori-titolo > a { color: var(--viola); font-weight: 600; font-size: 15px; white-space: nowrap; }
.scorri-box { position: relative; }
.scorri { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 10px; margin: 0 -4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.scorri::-webkit-scrollbar { display: none; }
.scorri > * { scroll-snap-align: start; flex: none; }
.lavori a { display: block; border-radius: 12px; }
.lavori img { width: 128px; height: 150px; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(70, 34, 113, .14); }
.freccia { position: absolute; top: calc(50% - 26px); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bordo); background: #fff; color: var(--viola); display: none; place-items: center; box-shadow: 0 6px 16px rgba(70, 34, 113, .14); cursor: pointer; z-index: 2; padding: 0; }
.freccia svg { width: 16px; height: 16px; }
.freccia--prima { left: -16px; } .freccia--dopo { right: -16px; }
.freccia[disabled] { opacity: 0; pointer-events: none; }

/* «Parla con noi» (copertina): stato dal vivo del 377 */
.codice { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 10px; margin-top: 10px; padding: 8px 14px; border-radius: 12px; background: var(--lavanda); font-size: 14px; }
.codice b { font-family: var(--titoli); font-size: 18px; color: var(--viola-scuro); }
.pallino { width: 9px; height: 9px; border-radius: 50%; background: #a8a0b4; box-shadow: 0 0 0 3px rgba(168, 160, 180, .2); flex: none; }
.stato { font-weight: 600; color: var(--testo-2); }
[data-stato="libera"] .pallino { background: var(--verde); box-shadow: 0 0 0 3px rgba(47, 168, 79, .18); }
[data-stato="libera"] .stato { color: var(--verde); }
[data-stato="occupata"] .pallino { background: var(--rosso); box-shadow: 0 0 0 3px rgba(217, 68, 58, .16); }
[data-stato="occupata"] .stato { color: var(--rosso); }
[data-stato="pausa"] .pallino { background: #f0a020; box-shadow: 0 0 0 3px rgba(240, 160, 32, .18); }
[data-stato="pausa"] .stato { color: var(--ambra); }
.codice .nota-stato { color: var(--testo-2); font-size: 13px; }
/* orari di oggi sotto «Parla con noi», su una riga a sé */
.codice .orari { flex-basis: 100%; text-align: center; color: var(--viola); font-size: 15px; font-weight: 600; line-height: 1.2; }
.codice .orari[hidden] { display: none; }
.orari-tasto { margin-left: 8px; padding: 2px 10px; border: 1px solid var(--viola); border-radius: 999px; background: #fff; color: var(--viola); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; vertical-align: 1px; }
.orari-tasto:hover { background: var(--viola); color: #fff; }

/* finestra con gli orari della settimana */
.turni { width: min(92vw, 360px); padding: 18px 18px 16px; border: 0; border-radius: 18px; box-shadow: 0 30px 70px rgba(28, 14, 46, .35); text-align: center; }
.turni::backdrop { background: rgba(28, 14, 46, .55); }
.turni h2 { font-size: 22px; margin: 0 0 10px; }
.turni-chiudi { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--lavanda); color: var(--viola-scuro); font-size: 22px; line-height: 1; cursor: pointer; }
.turni-lista { list-style: none; margin: 0 0 14px; padding: 0; text-align: left; }
.turni-lista li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 10px; font-size: 15px; }
.turni-lista li:nth-child(odd) { background: var(--lavanda); }
.turni-lista li span { text-transform: capitalize; color: var(--testo); }
.turni-lista li b { font-weight: 600; color: var(--viola-scuro); white-space: nowrap; }
.turni-lista li.oggi { background: var(--viola); }
.turni-lista li.oggi span, .turni-lista li.oggi b { color: #fff; }
.turni-lista small { text-transform: none; font-size: 12px; opacity: .85; }

/* scheda di Elena (pagine SEO) */
.elena { display: grid; gap: 12px; background: #fff; border: 1px solid var(--bordo); border-radius: 22px; padding: 16px 16px; box-shadow: var(--ombra); max-width: 760px; margin: 0 auto; }
.elena-testa { display: flex; align-items: center; gap: 12px; }
.elena-testa .cuore { width: 46px; height: 46px; border-radius: 50%; background: var(--lavanda-2); display: grid; place-items: center; flex: none; }
.elena-testa .cuore svg { width: 22px; height: 22px; fill: #a8a0b4; }
[data-stato="libera"] .cuore svg { fill: var(--verde); }
[data-stato="occupata"] .cuore svg { fill: var(--rosso); }
[data-stato="pausa"] .cuore svg { fill: #f0a020; }
.elena-testa b { display: block; font-family: var(--titoli); font-size: 26px; color: var(--viola-scuro); line-height: 1; }
.elena-testa .riga-stato { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; }
.elena .bottoni { display: grid; gap: 10px; }
.elena .info { background: var(--lavanda); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--testo-2); }
.elena .info p { margin: 0 0 8px; }
.elena .info p:last-child { margin: 0; }
.elena .info a { color: #128c4b; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* studio */
.studio { display: grid; gap: 16px; align-items: start; }
.studio-testo { text-align: center; }
.studio-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; border-radius: 20px; }
.studio p { color: var(--testo-2); margin: 0 0 7px; line-height: 1.32; }
.studio .motto-forte { font-family: var(--titoli); font-size: 21px; font-weight: 600; color: var(--viola); line-height: 1.2; margin: 0 0 14px; text-align: center; }
.lista { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.studio .lista { justify-content: center; text-align: left; margin-bottom: 12px; gap: 5px; }
.lista li { display: flex; gap: 10px; align-items: flex-start; }
.lista li::before { content: ""; flex: none; margin-top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--viola); box-shadow: 0 0 0 4px var(--lavanda-2); }
.studio .invito { font-weight: 600; color: var(--viola-scuro); margin: 0 0 12px; }
/* «Nulla è impossibile»: i due punti centrati come il resto della sezione, non a sinistra (richiesta della cliente del 3/11) */
.studio .lista { justify-content: stretch; }
.studio .lista li { display: block; text-align: center; text-align-last: center; }
.studio .lista li::before { display: inline-block; vertical-align: 1px; margin: 0 10px 0 0; }

/* WikiTarot */
.partner { background: linear-gradient(135deg, var(--viola) 0%, var(--viola-scuro) 100%); color: #fff; border-radius: 18px; padding: 18px 14px; text-align: center; }
.partner h2 { color: #fff; font-size: 20px; }
.partner-sotto { margin: 8px 0 0; color: #eadcfb; }
.partner .promo { display: inline-block; margin: 5px 0 10px; padding: 4px 11px; border-radius: 999px; background: #fff; color: var(--viola); font-family: var(--titoli); font-weight: 700; font-size: 14px; letter-spacing: .4px; }
.partner .logo-wiki { height: 26px; width: auto; margin: 0 auto 12px; }
.operatrici { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; min-height: 60px; max-width: 680px; margin: 0 auto; }
.operatrici .op { width: calc(33.333% - 5px); padding: 8px 6px; border-radius: 10px; }
.op { display: block; background: #fff; color: var(--testo); border-radius: 14px; padding: 14px 10px; transition: transform .2s, box-shadow .2s; }
a.op:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28, 14, 46, .25); }
/* tutto il blocco porta su WikiTarot (sito.js) */
.partner[data-partner] { cursor: pointer; }
.op .cuore-op { display: block; color: #b35bbf; margin: 0 0 2px; line-height: 1; }
.cuore-op svg { width: 13px; height: 13px; fill: currentColor; display: inline-block; }
.op b { display: block; font-family: var(--titoli); font-size: 14px; color: var(--viola-scuro); line-height: 1.1; }
.op > span { display: block; font-size: 11px; color: var(--testo-2); margin: 1px 0 5px; }
.op .pill { font-style: normal; display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.op .pill--libera { background: var(--verde); color: #fff; }
.op a.pill--libera:hover { background: #24893f; }
.op .pill--occupata { background: #fbe3e1; color: var(--rosso); }
.op .pill--pausa { background: #fdf0d8; color: var(--ambra); }
.op .pill--prenotata { background: #e3e6f8; color: var(--blu); }
.operatrici-vuoto { width: 100%; color: #eadcfb; font-size: 15px; margin: 0; }
.caricamento { width: 100%; display: flex; justify-content: center; gap: 8px; padding: 14px 0; }
.caricamento i { width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: .5; animation: punti 1.2s infinite ease-in-out; }
.caricamento i:nth-child(2) { animation-delay: .15s; } .caricamento i:nth-child(3) { animation-delay: .3s; }
@keyframes punti { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-6px); opacity: 1; } }
.partner .vai-wiki { margin-top: 12px; color: #fff; border-color: rgba(255, 255, 255, .7); background: transparent; }
.partner .vai-wiki:hover { background: rgba(255, 255, 255, .12); }

/* blog */
.blog { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; scrollbar-width: none; }
.blog::-webkit-scrollbar { display: none; }
.articolo-card { flex: none; width: 176px; text-align: center; text-align-last: center; scroll-snap-align: start; background: #fff; border: 1px solid var(--bordo); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.articolo-card:hover { box-shadow: 0 12px 28px rgba(70, 34, 113, .12); transform: translateY(-2px); }
.articolo-card img { width: 100%; height: 76px; object-fit: cover; border-radius: 8px; }
.articolo-card h3 { font-size: 16px; margin: 6px 2px 3px; }
.articolo-card p { margin: 0 2px 6px; font-size: 12px; line-height: 1.3; color: var(--testo-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.articolo-card .link-freccia { margin: auto 2px 2px; font-size: 12px; align-self: center; }
.griglia-articoli { display: grid; grid-template-columns: 1fr; gap: 16px; }
.griglia-articoli .articolo-card { width: auto; }
.griglia-articoli .articolo-card img { height: 150px; }
.sotto-blog { margin-top: 12px; }

/* recensioni */
.rec-testa { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -4px 0 12px; color: var(--testo-2); font-size: 13.5px; flex-wrap: wrap; }
.rec-testa b { color: var(--testo); }
.recensioni { gap: 10px; text-align: left; }
.recensioni .rec { width: 220px; max-width: 230px; }
.rec { background: #fff; border: 1px solid var(--bordo); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.rec .stelle { font-size: 13px; }
.rec .testo-rec { margin: 5px 0 8px; font-size: 12.5px; line-height: 1.34; white-space: pre-line; }
.rec .testo-rec.chiuso { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rec .leggi-tutta { align-self: flex-start; background: none; border: 0; padding: 0; margin: -6px 0 12px; color: var(--viola); font-weight: 600; font-size: 14px; cursor: pointer; }
.rec .risposta { background: var(--lavanda); border-radius: 12px; padding: 10px 12px; margin: 0 0 12px; font-size: 14px; color: var(--testo-2); white-space: pre-line; }
.rec .risposta b { display: block; color: var(--viola-scuro); font-size: 13px; margin-bottom: 2px; }
.rec .chi-rec { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.rec .iniziale { width: 28px; height: 28px; border-radius: 50%; background: var(--lavanda-2); color: var(--viola); display: grid; place-items: center; font-family: var(--titoli); font-weight: 700; font-size: 14px; flex: none; }
.rec .chi-rec b { display: block; font-size: 13px; line-height: 1.2; }
.rec .chi-rec small { color: var(--testo-2); font-size: 11px; }
.rec-azioni { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.rec-azioni .btn { min-height: 36px; font-size: 14px; padding: 0 14px; }
.nota-rec { color: var(--testo-2); font-size: 11.5px; line-height: 1.3; margin: 10px auto 0; max-width: 620px; }
.tutte-rec { display: grid; gap: 14px; text-align: left; }

/* modulo recensione e moduli in genere */
.modulo-rec { max-width: 560px; margin: 16px auto 0; background: #fff; border: 1px solid var(--bordo); border-radius: 20px; padding: 18px 16px; text-align: left; box-shadow: var(--ombra); }
.modulo-rec[hidden] { display: none; }
.modulo-rec h3 { font-size: 24px; text-align: center; margin-bottom: 4px; }
.voto { display: flex; justify-content: center; gap: 4px; margin: 10px 0 2px; }
.voto button { width: 40px; height: 40px; border: 0; background: none; padding: 0; cursor: pointer; color: #d9d2e4; transition: transform .1s, color .1s; }
.voto button svg { width: 32px; height: 32px; }
.voto button.acceso { color: #f2b51d; }
.voto button:hover { transform: scale(1.08); }
.voto-aiuto { text-align: center; font-size: 14px; color: var(--testo-2); margin: 0 0 14px; font-style: italic; }
.campo { display: grid; gap: 6px; margin-bottom: 14px; }
.campo label { font-weight: 600; font-size: 15px; color: var(--viola-scuro); }
.campo input, .campo textarea { width: 100%; font: inherit; font-size: 16px; color: var(--testo); background: #fff; border: 1px solid var(--bordo); border-radius: 12px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s; }
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--viola); box-shadow: 0 0 0 3px rgba(103, 38, 181, .15); }
.campo small { font-size: 13px; color: var(--testo-2); }
.campo small.ok { color: var(--verde); }
.esito { border-radius: 12px; padding: 12px 14px; font-size: 15px; margin: 0 0 14px; }
.esito[hidden] { display: none; }
.esito--errore { background: #fbe3e1; color: #9f2a22; }
.esito--ok { background: #e3f4e8; color: #1d6b34; }
.esito--info { background: var(--lavanda); color: var(--viola-scuro); }
.modulo-rec .btn, .modulo-contatti .btn { width: 100%; }

/* testata delle pagine interne */
.testa-pagina { background: linear-gradient(180deg, var(--lavanda) 0%, #fff 100%); padding: 12px 0 16px; text-align: center; }
.briciole { font-size: 13px; color: var(--testo-2); margin-bottom: 8px; }
.briciole ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.briciole li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--viola-medio); }
.briciole a { color: var(--viola); }
.briciole a:hover { text-decoration: underline; }
.testa-pagina h1 { font-size: 32px; margin: 4px 0 0; }
.testa-pagina .lead { color: var(--testo-2); margin: 6px auto 0; max-width: 680px; }

/* testo lungo delle pagine */
.corpo-pagina { padding: 4px 0 30px; }
.foto-pagina { margin: 0 auto 16px; max-width: 640px; }
.foto-pagina img { width: 100%; border-radius: 18px; box-shadow: 0 14px 34px rgba(70, 34, 113, .14); }
.foto-pagina a { display: block; }
.testo { font-size: 16px; line-height: 1.34; color: var(--testo); }
.testo > :first-child { margin-top: 0; }
.testo p { margin: 0 0 8px; }
.testo p.centro { text-align: center; }
.testo h2 { font-size: 25px; margin: 20px 0 8px; color: var(--viola-scuro); }
.testo h3 { font-size: 21px; margin: 16px 0 6px; color: var(--viola-scuro); }
.testo h4 { font-size: 18px; margin: 14px 0 6px; color: var(--viola-scuro); }
.testo strong { font-weight: 500; color: var(--viola-scuro); }
.testo a { color: var(--viola); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.testo a:hover { color: var(--viola-scuro); }
.testo a strong { color: inherit; }
.testo ul, .testo ol { margin: 0 0 10px; padding-left: 0; list-style: none; }
.testo ol { counter-reset: n; }
.testo li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.testo ul > li::before { content: ""; position: absolute; left: 3px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--viola); box-shadow: 0 0 0 3px var(--lavanda-2); }
.testo ol > li { counter-increment: n; padding-left: 28px; }
.testo ol > li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--lavanda-2); color: var(--viola); font-family: var(--titoli); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.testo blockquote { margin: 0 0 14px; padding: 12px 16px; border-left: 3px solid var(--oro); background: var(--lavanda); border-radius: 0 14px 14px 0; font-family: var(--titoli); font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--viola-scuro); }
.testo blockquote.apertura { text-align: center; border-left: 0; border-radius: 14px; position: relative; padding: 14px 16px 12px; }
.testo hr { border: 0; height: 1px; background: var(--bordo); margin: 16px 0; }
.testo .firma-testo { text-align: right; font-family: var(--titoli); font-size: 18px; font-weight: 600; color: var(--viola); margin-top: 14px; }
.testo .spunte { display: grid; gap: 8px; margin: 4px 0 14px; }
.testo .spunte li { padding: 10px 14px 10px 46px; margin: 0; background: var(--lavanda); border-radius: 12px; font-weight: 600; color: var(--viola-scuro); line-height: 1.4; }
.testo .spunte li::before { content: ""; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--viola) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.testo .spunte li small { display: block; font-weight: 500; color: var(--testo-2); font-size: 14px; }
.testo .libri { columns: 1; column-gap: 34px; margin-bottom: 14px; }
.testo .libri li { break-inside: avoid; font-size: 15px; line-height: 1.45; margin-bottom: 8px; }
.testo .lista-link { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 12px; }
.testo .lista-link li { padding: 0; margin: 0; }
.testo .lista-link li::before { display: none; }
.testo .lista-link a { display: inline-block; text-decoration: none; background: #fff; border: 1px solid var(--bordo); border-radius: 999px; padding: 7px 16px; font-size: 15px; color: var(--viola-scuro); }
.testo .lista-link a:hover { border-color: var(--viola); color: var(--viola); }
.testo .lista-link a strong { font-weight: 600; color: inherit; }
.testo .video { display: grid; gap: 8px; margin: 4px 0 12px; }
.testo .video li { padding: 0; margin: 0; }
.testo .video li::before { display: none; }
.testo .video a { display: flex; align-items: center; gap: 12px; text-decoration: none; background: #fff; border: 1px solid var(--bordo); border-radius: 14px; padding: 12px 14px; color: var(--viola-scuro); font-weight: 600; }
.testo .video a:hover { border-color: var(--viola); }
.testo .video svg { width: 30px; height: 30px; flex: none; color: #e62117; }
.fine-pagina { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--bordo); }

/* approfondimento delle pagine SEO */
.approfondimento .foto-pagina { max-width: 560px; margin-top: 12px; }
.approfondimento h1 { font-size: 28px; text-align: center; max-width: 780px; margin: 6px auto 0; }

/* contatti */
.contatti-griglia { display: grid; gap: 12px; margin-bottom: 18px; }
.scheda { background: #fff; border: 1px solid var(--bordo); border-radius: 20px; padding: 16px 16px; box-shadow: var(--ombra); }
.scheda h2 { font-size: 22px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.scheda h2 svg { width: 26px; height: 26px; flex: none; }
.scheda p { margin: 0 0 10px; color: var(--testo-2); }
.scheda p strong { color: var(--testo); }
.scheda a:not(.btn) { color: var(--viola); font-weight: 600; }
.scheda .btn { width: 100%; }
.modulo-contatti { max-width: 640px; margin: 0 auto; }
.modulo-contatti h2 { font-size: 24px; text-align: center; margin-bottom: 10px; }
.modulo-contatti .campo-trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modulo-contatti .nota-privacy { font-size: 13px; color: var(--testo-2); margin: 0 0 12px; text-align: center; text-align-last: center; }
.modulo-contatti .nota-privacy a, .esito a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.piede .basso a { color: #e9def7; text-decoration: underline; text-underline-offset: 2px; }

/* F.A.Q */
.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--bordo); border-radius: 16px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--ombra); border-color: var(--lavanda-2); }
.faq summary { list-style: none; cursor: pointer; padding: 12px 48px; text-align: center; position: relative; font-family: var(--titoli); font-weight: 600; font-size: 19px; line-height: 1.25; color: var(--viola-scuro); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--lavanda) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236726b5' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .risposta { padding: 0 16px 12px; color: var(--testo-2); }
.faq .risposta p { margin: 0 0 10px; }
.faq .risposta p:last-child { margin: 0; }

/* galleria lavori */
.galleria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.galleria a { display: block; border-radius: 12px; overflow: hidden; background: var(--lavanda); aspect-ratio: 6 / 7; }
.galleria img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.galleria a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(28, 14, 46, .92); display: grid; place-items: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(100%, 900px); max-height: 100%; width: auto; height: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.lightbox button { position: absolute; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; }
.lightbox button:hover { background: rgba(255, 255, 255, .26); }
.lightbox button svg { width: 20px; height: 20px; }
.lightbox .chiudi { top: 10px; right: 10px; }
.lightbox .prima { left: 10px; top: calc(50% - 22px); }
.lightbox .dopo { right: 10px; top: calc(50% - 22px); }
.lightbox .conta { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #e9def7; font-size: 14px; }

/* articolo del blog */
.articolo-foto { margin: 0 auto 16px; max-width: 720px; }
.articolo-foto img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 18px; }
.altri { margin-top: 26px; }
.altri h2 { font-size: 24px; margin-bottom: 10px; }

/* 404 */
.errore-404 { text-align: center; padding: 34px 0 40px; }
.errore-404 .marchio { width: 84px; margin: 0 auto 18px; }
.errore-404 h1 { font-size: 34px; margin: 6px 0 10px; }
.errore-404 p { color: var(--testo-2); margin: 0 auto 22px; max-width: 520px; }

/* piede */
.piede { background: var(--viola-scuro); color: #e9def7; padding: 28px 0 18px; font-size: 13px; line-height: 1.35; }
.piede .colonne { display: grid; gap: 16px; text-align: center; }
.piede h3 { color: #fff; font-size: 18px; margin-bottom: 4px; }
.piede .logo-piede { height: 50px; width: auto; margin: 0 auto 8px; }
.piede .presentazione p { margin: 0 auto 6px; max-width: 360px; line-height: 1.3; }
.piede ul { list-style: none; margin: 0; padding: 0; }
.piede ul a { display: inline-block; color: #e9def7; padding: 3px 0; }
.piede .colonne .due { columns: 2; column-gap: 18px; }
.piede .colonne .due li { break-inside: avoid; }
.piede a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.piede .seo { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.piede .citazione-piede { font-family: var(--titoli); font-size: 18px; font-weight: 500; color: #ebd592; text-align: center; margin: 0 0 14px; line-height: 1.3; }
.piede .gruppi { display: grid; gap: 6px; }
.piede .gruppo summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: #fff; font-family: var(--titoli); font-weight: 600; font-size: 15px; }
.piede .gruppo summary::-webkit-details-marker { display: none; }
.piede .gruppo summary svg { width: 14px; height: 14px; transition: transform .2s; }
.piede .gruppo[open] summary svg { transform: rotate(180deg); }
.piede .gruppo ul { padding: 8px 14px 6px; text-align: center; }
.piede .avvertenza { margin-top: 18px; font-size: 11.5px; line-height: 1.38; color: #c9b8e3; }
.piede .basso { margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 10px; font-size: 12px; color: #c9b8e3; display: grid; gap: 4px; text-align: center; }

/* tasto WhatsApp fisso */
.wa { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); z-index: 25; transition: transform .2s; }
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* popup gestito da WikiTarot (spento finché non lo accendono) */
.popup { position: fixed; inset: 0; z-index: 70; background: rgba(28, 14, 46, .55); display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .25s; }
.popup[hidden] { display: none; }
.popup.visibile { opacity: 1; }
.popup-scheda { position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow: auto; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(28, 14, 46, .35); text-align: center; }
.popup-scheda img { width: 100%; max-height: 240px; object-fit: cover; }
.popup-dentro { padding: 16px 18px 18px; }
.popup-dentro h2 { font-size: 26px; margin-bottom: 8px; }
.popup-testo { color: var(--testo-2); }
.popup-tasti { display: grid; gap: 10px; margin-top: 16px; }
.popup-tasti .btn { color: #fff; border-color: transparent; }
.popup-chiudi { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); display: grid; place-items: center; cursor: pointer; padding: 0; color: var(--viola-scuro); }
.popup-chiudi svg { width: 16px; height: 16px; }

/* stelline cadenti (come sul sito di oggi, in oro e più leggere) */
.stelline { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; }
.stellina { position: absolute; top: -20px; width: 4px; height: 4px; border-radius: 50%; background: #e2c46f; box-shadow: 0 0 6px rgba(226, 196, 111, .9); opacity: 0; animation: caduta linear infinite; }
.stellina::after { content: ""; position: absolute; width: 38px; height: 1px; background: linear-gradient(to left, rgba(226, 196, 111, .7), transparent); transform: rotate(45deg); transform-origin: bottom left; top: -26px; left: 4px; }
@keyframes caduta {
  0% { transform: translate(0, -10vh); opacity: 0; }
  10% { opacity: .55; }
  85% { opacity: .45; }
  100% { transform: translate(30px, 110vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stelline { display: none; }
  .etichette-titolo { animation: none; }
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* tablet */
@media (min-width: 640px) {
  .griglia-articoli { grid-template-columns: repeat(2, 1fr); }
  .galleria { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .tutte-rec { grid-template-columns: repeat(2, 1fr); }
  .testo .libri { columns: 2; }
  .contatti-griglia { grid-template-columns: 1fr 1fr; }
  .elena .bottoni { grid-template-columns: 1fr 1fr; }
  .menu-telefono .sotto { grid-template-columns: repeat(3, 1fr); }
  .menu-telefono .azioni { grid-template-columns: 1fr 1fr; }
}

/* computer */
@media (min-width: 900px) {
  :root { --altezza-testata: 80px; }
  .testata .logo img { height: 56px; }
  .hero { padding: 32px 0 44px; }
  /* da computer la foto con le recensioni che scorrono va a sinistra e «Studio Esoterico Calista Chiara» a destra
     (vocale della cliente del 3/11, 17:03); da telefono resta com'è */
  .hero-griglia { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
  .hero-foto { order: -1; }
  .hero .titolo-hero { font-size: 48px; }
  .punti { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
  .sezione { padding: 44px 0; }
  .titolo-sez { font-size: 36px; }
  .chi { grid-template-columns: 1.2fr 1fr; gap: 56px; }
  .lavori img { width: 140px; height: 164px; }
  .freccia { display: grid; }
  .studio { grid-template-columns: 1fr 1.1fr; gap: 56px; }
  .partner { padding: 22px 30px; }
  .partner h2 { font-size: 24px; }
  .operatrici .op { width: calc(20% - 6px); }
  .blog-home { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; overflow: visible; max-width: 760px; margin: 0 auto; }
  .blog-home .articolo-card { width: auto; }
  .blog-home .articolo-card img { height: 90px; }
  .griglia-articoli { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .recensioni .rec { width: calc((100% - 28px) / 3); max-width: none; }
  .tutte-rec { grid-template-columns: repeat(3, 1fr); }
  .testa-pagina { padding: 22px 0 24px; }
  .testa-pagina h1 { font-size: 44px; }
  .approfondimento h1 { font-size: 36px; }
  .testo { font-size: 16.5px; }
  .testo h2 { font-size: 28px; }
  .testo h3 { font-size: 23px; }
  .galleria { grid-template-columns: repeat(5, 1fr); }
  .elena { grid-template-columns: 1fr 1fr; align-items: center; padding: 22px 28px; }
  .elena .bottoni { grid-template-columns: 1fr; }
  .piede .colonne { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
  .piede .colonne .due { columns: 1; }
  .piede .gruppi { grid-template-columns: repeat(3, 1fr); gap: 16px 34px; }
  .piede .gruppo summary { background: none; padding: 0 0 6px; pointer-events: none; font-size: 18px; color: #fff; }
  .piede .gruppo summary svg { display: none; }
  .piede .gruppo ul { padding: 0; }
  .wa { right: 22px; bottom: 22px; }
}

/* menu completo solo quando c'è spazio per tutte le voci */
@media (min-width: 1200px) {
  .menu { display: block; }
  .hamburger { display: none; }
  .menu-telefono { display: none !important; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .menu > ul > li > a { padding: 0 7px; font-size: 15px; }
}

/* telefono e tablet: la cliente vuole la home raccolta. Chi siamo segue la copertina sullo stesso bianco,
   quindi basta il fondo della copertina come stacco */
@media (max-width: 899px) {
  #chi-siamo { padding-top: 6px; }
}

/* telefoni piccoli */
@media (max-width: 380px) {
  .testata .logo img { height: 40px; }
  .testata .wrap { gap: 8px; padding: 0 14px; }
}

@media print {
  .testata, .menu-telefono, .wa, .stelline, .popup, .piede .seo { display: none !important; }
}
