/* Cocò Parrucchieri — stile comune a tutte le pagine */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/montserrat-latin.woff2") format("woff2"); }
:root { --nero:#050505; --bianco:#f4f3f0; --grigio:#9a9894; --linea:rgba(255,255,255,.16); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nero); color: var(--bianco); font-family: "Montserrat", sans-serif; font-weight: 300; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.bloccato { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: #fff; color: #000; }

/* ================= L'ACCENTO: la firma del sito ================= */
/* la Ò di COCÒ è una O con un accento disegnato a parte, che si muove da solo */
.o-acc { position: relative; display: inline-block; }
.acc { position: absolute; left: 50%; top: -.25em; width: .056em; height: .3em; background: currentColor; border-radius: .04em;
  transform: translateX(-10%) rotate(-40deg); transform-origin: 50% 100%; }
/* accento piccolo usato come segno grafico */
.segno { display: inline-block; width: 2px; height: 11px; background: currentColor; transform: rotate(-40deg); vertical-align: middle; margin-right: 12px; border-radius: 1px; }
@keyframes ciocca { 0% { transform: translateX(-10%) rotate(-40deg); } 30% { transform: translateX(-10%) rotate(-14deg); } 55% { transform: translateX(-10%) rotate(-52deg); } 78% { transform: translateX(-10%) rotate(-34deg); } 100% { transform: translateX(-10%) rotate(-40deg); } }
@keyframes scintilla { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(3.2); } }

/* ================= INTRO ================= */
#intro { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; overflow: hidden; transition: opacity 1.2s ease, transform 1.4s ease, filter 1.2s ease; }
#intro.via { opacity: 0; transform: scale(1.12); filter: blur(12px); pointer-events: none; }
#polvere { position: absolute; inset: 0; width: 100%; height: 100%; }
.salta { position: absolute; top: 22px; right: 26px; font-size: 10px; letter-spacing: .35em; color: var(--grigio); background: none; border: 0; cursor: pointer; font-family: inherit; text-transform: uppercase; z-index: 3; }
.salta:hover { color: #fff; }
.carica { position: absolute; text-align: center; transition: opacity .6s; z-index: 2; }
.carica .barra { width: 220px; height: 1px; background: rgba(255,255,255,.12); margin: 0 auto 14px; position: relative; overflow: hidden; }
.carica .barra i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #fff; }
.carica small { font-size: 9px; letter-spacing: .5em; color: var(--grigio); }
.scena { position: relative; text-align: center; z-index: 2; }
.lettere { font-weight: 200; font-size: clamp(54px, 13vw, 168px); letter-spacing: .32em; margin-right: -.32em; line-height: 1; position: relative; }
.lettere > span { display: inline-block; opacity: 0; filter: blur(22px); transform: scale(1.6) translateY(-8px); }
.lettere.su > span { animation: lettera 1.5s cubic-bezier(.2,.7,.2,1) forwards; }
.lettere.su > span:nth-child(2) { animation-delay: .38s; } .lettere.su > span:nth-child(3) { animation-delay: .76s; } .lettere.su > span:nth-child(4) { animation-delay: 1.14s; }
@keyframes lettera { to { opacity: 1; filter: blur(0); transform: none; } }
/* l'accento dell'intro: arriva per ultimo, cade dall'alto e si posa con una scintilla */
.lettere .acc { opacity: 0; transform: translate(-10%, -2.4em) rotate(-130deg); box-shadow: 0 0 0 rgba(255,255,255,0); }
.lettere.posa .acc { animation: cade 1.3s cubic-bezier(.3,1.4,.5,1) forwards; }
@keyframes cade { 0% { opacity: 0; transform: translate(-10%, -2.4em) rotate(-130deg); } 25% { opacity: 1; } 70% { transform: translate(-10%, .04em) rotate(-34deg); box-shadow: 0 0 22px rgba(255,255,255,.9); } 100% { opacity: 1; transform: translateX(-10%) rotate(-40deg); box-shadow: 0 0 0 rgba(255,255,255,0); } }
.lettere .acc::after { content: ""; position: absolute; left: 50%; top: 0; width: .5em; height: .5em; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.95), rgba(255,255,255,0) 65%); opacity: 0; transform: translate(-50%, -50%) scale(0); pointer-events: none; }
.lettere.posa .acc::after { animation: scintilla 1s ease-out .85s forwards; }
.lettere::after { content: ""; position: absolute; inset: -10% -20%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.85) 50%, transparent 60%); mix-blend-mode: overlay; transform: translateX(-120%); }
.lettere.luce::after { animation: luce 1.8s ease-in-out forwards; }
@keyframes luce { to { transform: translateX(120%); } }
.riga { width: 0; height: 1px; background: #fff; margin: 34px auto 26px; transition: width 1.2s cubic-bezier(.6,0,.2,1); }
.riga.su { width: 160px; }
.sotto { font-size: clamp(11px, 1.6vw, 16px); letter-spacing: 1.2em; margin-right: -1.2em; opacity: 0; transition: opacity 1.4s, letter-spacing 2s; }
.sotto.su { opacity: 1; letter-spacing: .62em; margin-right: -.62em; }
.entra { margin-top: 56px; display: inline-block; font: inherit; font-size: 10px; letter-spacing: .5em; padding: 14px 34px 14px 40px; color: #fff; background: none; border: 1px solid rgba(255,255,255,.5); cursor: pointer; opacity: 0; transition: opacity 1s, background .4s, color .4s; }
.entra.su { opacity: 1; animation: respiro 2.6s ease-in-out infinite; }
.entra:hover { background: #fff; color: #000; }
@keyframes respiro { 50% { border-color: rgba(255,255,255,.15); } }

/* ================= TESTATA ================= */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 24px 5vw; transition: background .5s, padding .5s; }
header.scuro { background: rgba(5,5,5,.88); backdrop-filter: blur(10px); padding: 12px 5vw; border-bottom: 1px solid var(--linea); }
.marchio { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.m-nome { font-weight: 200; font-size: 34px; letter-spacing: .42em; margin-right: -.42em; transition: font-size .5s; }
.m-sotto { font-weight: 400; font-size: 8.5px; letter-spacing: .62em; margin-right: -.62em; margin-top: 10px; color: #d9d7d2; }
.m-riga { width: 46px; height: 1px; background: currentColor; margin-top: 9px; opacity: .7; }
header.scuro .m-nome { font-size: 26px; }
.marchio:hover .acc { animation: ciocca 1.1s ease-in-out; }
nav { display: flex; gap: 34px; align-items: center; }
nav > a, .tendina > a { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: #cfcdc8; position: relative; padding: 10px 0; display: inline-block; }
/* sopra la voce del menu compare il piccolo accento */
nav > a::before, .tendina > a::before { content: ""; position: absolute; left: 50%; top: -4px; width: 1.5px; height: 9px; background: #fff; transform: translateX(-50%) rotate(-40deg) scaleY(0); transform-origin: 50% 100%; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
nav > a:hover, .tendina:hover > a, nav > a.attiva, .tendina > a.attiva { color: #fff; }
nav > a:hover::before, .tendina:hover > a::before, nav > a.attiva::before, .tendina > a.attiva::before { transform: translateX(-50%) rotate(-40deg) scaleY(1); }
.tendina { position: relative; }
.sottomenu { position: absolute; top: 100%; left: 50%; transform: translate(-50%, 10px); min-width: 270px; background: rgba(8,8,8,.97); border: 1px solid var(--linea); padding: 14px 0; opacity: 0; pointer-events: none; transition: opacity .35s, transform .35s; }
.tendina:hover .sottomenu, .tendina:focus-within .sottomenu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sottomenu a { display: flex; align-items: center; padding: 11px 26px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #cfcdc8; transition: color .3s, padding .3s; }
.sottomenu a .segno { opacity: 0; transition: opacity .3s; }
.sottomenu a:hover { color: #fff; padding-left: 30px; }
.sottomenu a:hover .segno { opacity: 1; }
.menu { display: none; background: none; border: 0; color: #fff; font: inherit; font-size: 10px; letter-spacing: .35em; cursor: pointer; }

/* ================= ELEMENTI COMUNI ================= */
.occhiello { font-size: 10.5px; letter-spacing: .45em; color: var(--grigio); text-transform: uppercase; }
.btn { display: inline-block; font-size: 10.5px; letter-spacing: .35em; text-transform: uppercase; padding: 15px 30px; border: 1px solid rgba(255,255,255,.55); transition: background .4s, color .4s; }
.btn:hover, .btn.pieno { background: #fff; color: #000; }
.btn.pieno:hover { background: transparent; color: #fff; }
.bottoni { display: flex; gap: 16px; flex-wrap: wrap; }
section.blocco { padding: 130px 7vw; border-top: 1px solid var(--linea); position: relative; }
.titolo { display: flex; align-items: baseline; gap: 22px; margin-bottom: 64px; }
.titolo b { font-weight: 200; font-size: 12px; letter-spacing: .3em; color: var(--grigio); display: inline-flex; align-items: center; }
.titolo h2, .titolo h1 { margin: 0; font-weight: 200; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: .22em; text-transform: uppercase; line-height: 1.2; }
.appare { opacity: 0; transform: translateY(40px); transition: opacity 1.2s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); }
.appare.visto { opacity: 1; transform: none; }
.testo p { margin: 0 0 1.4em; font-size: 16.5px; color: #dcdad5; max-width: 66ch; }
.testo h2 { font-weight: 300; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: .08em; margin: 2.2em 0 .8em; color: #fff; }
.testo h2 .segno { height: 14px; }
.testo ul { list-style: none; padding: 0; margin: 0 0 1.6em; max-width: 66ch; }
.testo li { position: relative; padding-left: 28px; margin-bottom: .7em; color: #dcdad5; font-size: 16px; }
.testo li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 1.5px; height: 10px; background: #fff; transform: rotate(-40deg); }
.testo a { border-bottom: 1px solid rgba(255,255,255,.4); }
.testo a:hover { border-color: #fff; }

/* ================= HOME ================= */
.apertura { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 5vw; padding: 150px 7vw 90px; position: relative; overflow: hidden; }
.grande { font-weight: 200; font-size: clamp(60px, 9.5vw, 150px); letter-spacing: .28em; line-height: 1; margin: 26px 0 0; }
.lineetta { width: 120px; height: 1px; background: #fff; margin: 34px 0 24px; }
.parr { font-size: 13px; letter-spacing: .62em; font-weight: 400; }
.motto { font-size: clamp(18px, 1.9vw, 24px); font-weight: 200; margin: 46px 0 40px; max-width: 30ch; color: #e7e5e0; }
.quadro { position: relative; justify-self: end; width: min(520px, 100%); }
.quadro::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid rgba(255,255,255,.35); z-index: 0; }
.quadro .foto { position: relative; overflow: hidden; z-index: 1; aspect-ratio: 4/5; }
.quadro img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); animation: lento 18s ease-in-out infinite alternate; }
@keyframes lento { to { transform: scale(1.16) translateY(-2%); } }
.foto.titolare::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.55) 30%, rgba(5,5,5,0) 55%), linear-gradient(0deg, rgba(5,5,5,.6) 0%, rgba(5,5,5,0) 30%); }
.quadro .foto.titolare img { object-position: 82% 12%; filter: grayscale(1) contrast(1.12) brightness(.95); transform-origin: 64% 18%; transform: scale(1.32); animation: lento-titolare 18s ease-in-out infinite alternate; }
@keyframes lento-titolare { to { transform: scale(1.4) translateY(-1%); } }
.didascalia { position: relative; z-index: 1; margin: 16px 0 0; font-size: 10px; letter-spacing: .32em; color: var(--grigio); text-transform: uppercase; text-align: right; }
.scorri { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-size: 9px; letter-spacing: .45em; color: var(--grigio); text-align: center; }
.scorri i { display: block; width: 1px; height: 46px; margin: 10px auto 0; background: linear-gradient(#fff, transparent); animation: goccia 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes goccia { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.bio { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; align-items: start; }
.bio .frase { font-weight: 200; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.3; letter-spacing: .04em; position: sticky; top: 160px; }
.bio .frase small { display: block; font-size: 11px; letter-spacing: .4em; color: var(--grigio); margin-top: 30px; text-transform: uppercase; }
.bio .testo p:first-child::first-letter { font-weight: 200; font-size: 4.2em; float: left; line-height: .9; margin: 6px 14px 0 0; }
.servizi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--linea); border: 1px solid var(--linea); }
.servizio { background: var(--nero); position: relative; overflow: hidden; display: block; min-height: 420px; }
.servizio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: grayscale(.6); transform: scale(1.04); transition: opacity .8s, transform 1.4s, filter .8s; }
.servizio::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,5,.95) 10%, rgba(5,5,5,.2) 70%); }
.servizio .dentro { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 36px; z-index: 1; }
.servizio span { font-size: 11px; letter-spacing: .3em; color: var(--grigio); }
.servizio h3 { font-weight: 300; font-size: 17px; letter-spacing: .28em; text-transform: uppercase; margin: 16px 0 12px; }
.servizio p { margin: 0 0 18px; color: #c9c7c2; font-size: 14.5px; line-height: 1.65; }
.servizio em { font-style: normal; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; display: inline-flex; align-items: center; opacity: .7; transition: opacity .4s; }
.servizio:hover img { opacity: .75; transform: scale(1.1); filter: grayscale(0); }
.servizio:hover em { opacity: 1; }
.sposa { text-align: center; padding: 170px 7vw; background: radial-gradient(ellipse at center, #141414 0%, var(--nero) 70%); }
.sposa .occhiello { display: block; margin-bottom: 34px; }
.sposa h2 { font-weight: 200; font-size: clamp(30px, 4.6vw, 62px); line-height: 1.25; letter-spacing: .06em; margin: 0 auto 34px; max-width: 20ch; }
.sposa p { max-width: 58ch; margin: 0 auto 48px; color: #cfcdc8; font-size: 16.5px; }
.galleria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galleria figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; position: relative; background: #0d0d0d; }
.galleria img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s, filter 1s; filter: saturate(.92); }
.galleria figure:hover img { transform: scale(1.07); filter: saturate(1.05); }
.galleria figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); opacity: 0; transition: opacity .5s; }
.galleria figure:hover figcaption { opacity: 1; }
.articoli { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.articolo-card { display: block; border-top: 1px solid var(--linea); padding-top: 26px; }
.articolo-card small { font-size: 10px; letter-spacing: .35em; color: var(--grigio); text-transform: uppercase; }
.articolo-card h3 { font-weight: 300; font-size: 20px; line-height: 1.45; letter-spacing: .03em; margin: 14px 0 12px; transition: color .3s; }
.articolo-card p { color: #bdbbb6; font-size: 15px; margin: 0 0 16px; }
.articolo-card em { font-style: normal; font-size: 10px; letter-spacing: .35em; text-transform: uppercase; display: inline-flex; align-items: center; }
.articolo-card:hover h3 { color: #fff; }
.contatti { display: grid; grid-template-columns: 1fr 1.15fr; gap: 6vw; align-items: stretch; }
.voci { display: grid; gap: 34px; align-content: start; }
.voci div small { display: block; font-size: 10px; letter-spacing: .4em; color: var(--grigio); text-transform: uppercase; margin-bottom: 6px; }
.voci div { font-size: 17px; font-weight: 300; }
.voci a:hover { text-decoration: underline; text-underline-offset: 6px; }
.mappa { border: 1px solid var(--linea); min-height: 340px; display: grid; place-content: center; text-align: center; gap: 26px; background: radial-gradient(circle at 50% 45%, #161616, #070707 70%); }
.mappa span { font-weight: 200; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .08em; }
.mappa b { font-weight: 400; font-size: 10.5px; letter-spacing: .35em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.55); padding: 14px 28px; justify-self: center; transition: background .4s, color .4s; }
.mappa:hover b { background: #fff; color: #000; }

/* ================= PAGINE INTERNE (servizi, magazine) ================= */
.testa-pagina { padding: 190px 7vw 90px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 6vw; align-items: end; position: relative; }
.testa-pagina.solo-testo { grid-template-columns: 1fr; padding-bottom: 60px; }
.briciole { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--grigio); margin-bottom: 34px; }
.briciole a:hover { color: #fff; }
.testa-pagina h1 { font-weight: 200; font-size: clamp(36px, 5.6vw, 78px); letter-spacing: .12em; line-height: 1.12; margin: 0 0 30px; text-transform: uppercase; }
.testa-pagina h1.articolo { text-transform: none; letter-spacing: .02em; font-size: clamp(32px, 4.4vw, 58px); }
.testa-pagina .sommario { font-size: clamp(17px, 1.6vw, 21px); font-weight: 200; color: #e7e5e0; max-width: 46ch; margin: 0 0 38px; }
.testa-pagina .quadro { justify-self: end; }
.corpo { display: grid; grid-template-columns: 1fr 300px; gap: 7vw; padding: 40px 7vw 120px; }
.corpo.unico { grid-template-columns: minmax(0, 760px); justify-content: center; }
.lato { position: sticky; top: 140px; align-self: start; border-left: 1px solid var(--linea); padding-left: 34px; }
.lato h3 { font-weight: 400; font-size: 10.5px; letter-spacing: .35em; text-transform: uppercase; color: var(--grigio); margin: 0 0 20px; }
.lato a { display: flex; align-items: center; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; padding: 9px 0; color: #cfcdc8; }
.lato a:hover, .lato a.attiva { color: #fff; }
.lato .btn { margin-top: 30px; padding: 14px 22px; justify-content: center; }
.firma { margin-top: 3em; padding-top: 26px; border-top: 1px solid var(--linea); font-size: 12px; letter-spacing: .2em; color: var(--grigio); text-transform: uppercase; }
.invito { margin-top: 60px; padding: 50px 40px; border: 1px solid var(--linea); text-align: center; background: radial-gradient(circle at 50% 0%, #151515, transparent 70%); }
.invito p { margin: 0 auto 28px; max-width: 44ch; font-size: 17px; font-weight: 200; }
.invito .bottoni { justify-content: center; }
.galleria.piccola { grid-template-columns: repeat(3, 1fr); margin-top: 20px; }

/* ================= PIÈ DI PAGINA ================= */
footer { border-top: 1px solid var(--linea); padding: 60px 7vw; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 11px; letter-spacing: .2em; color: var(--grigio); }
footer .marchio { color: #fff; }
footer .m-nome { font-size: 24px; }
footer .m-sotto { font-size: 7.5px; }
.su-in-cima { position: fixed; right: 26px; bottom: 26px; z-index: 40; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(5,5,5,.7); backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s, border-color .4s; }
.su-in-cima.vista { opacity: 1; transform: none; }
.su-in-cima i { width: 2px; height: 16px; background: #fff; transform: rotate(-40deg); border-radius: 1px; transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.su-in-cima:hover { border-color: #fff; }
.su-in-cima:hover i { transform: rotate(-40deg) translateY(-4px); }

/* badge Realizzato da XL.LAB */
.xllab-badge{display:inline-flex;align-items:center;height:40px;border:1px solid rgba(201,162,39,.5);border-radius:6px;overflow:hidden;background:#0b0b0c;color:#fff;text-decoration:none;font-family:"Segoe UI",Arial,sans-serif;line-height:1;position:relative;isolation:isolate;transition:border-color .4s,box-shadow .4s;vertical-align:middle;letter-spacing:0}
.xllab-badge::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,#8f7219,#c9a227 45%,#e6c768);transform:translateX(-101%);transition:transform .6s cubic-bezier(.16,1,.3,1)}
.xllab-badge__ico{display:grid;place-items:center;width:40px;height:40px;background:#fff;flex:none;transition:background .4s}
.xllab-badge__ico svg{width:22px;height:22px;color:#0b0b0c;transition:transform .6s,color .4s}
.xllab-badge__t{display:flex;flex-direction:column;padding:0 12px 0 11px}
.xllab-badge__t small{font-size:8.5px;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.6);transition:color .4s}
.xllab-badge__t b{font-family:"Arial Black","Segoe UI",Arial,sans-serif;font-weight:900;font-size:13px;letter-spacing:.2em;margin-top:3px;color:#fff;transition:color .4s}
.xllab-badge__pt{display:inline-block;width:.25em;height:.25em;background:currentColor;vertical-align:baseline;margin-right:.14em}
.xllab-badge__a{padding-right:12px;font-size:13px;color:#c9a227;transition:transform .4s,color .4s}
.xllab-badge:hover{border-color:#c9a227;box-shadow:0 8px 24px rgba(201,162,39,.25)}
.xllab-badge:hover::before{transform:none}
.xllab-badge:hover .xllab-badge__ico{background:#0b0b0c}
.xllab-badge:hover .xllab-badge__ico svg{color:#fff;transform:rotate(-90deg)}
.xllab-badge:hover .xllab-badge__t small{color:rgba(11,11,12,.65)}
.xllab-badge:hover .xllab-badge__t b,.xllab-badge:hover .xllab-badge__a{color:#0b0b0c}

/* ================= TELEFONO ================= */
@media (max-width: 960px) {
  header.scuro { backdrop-filter: none; background: rgba(5,5,5,.97); }
  nav { position: fixed; inset: 0; background: #000; flex-direction: column; align-items: center; justify-content: center; gap: 18px; opacity: 0; pointer-events: none; transition: opacity .5s; overflow-y: auto; padding: 100px 0 40px; }
  nav.aperto { opacity: 1; pointer-events: auto; }
  nav > a, .tendina > a { font-size: 13px; }
  .tendina { text-align: center; }
  .sottomenu { position: static; transform: none; opacity: 1; pointer-events: auto; background: none; border: 0; padding: 4px 0 8px; min-width: 0; }
  .sottomenu a { justify-content: center; padding: 7px 0; font-size: 10px; color: var(--grigio); }
  .sottomenu a:hover { padding-left: 0; }
  .menu { display: block; position: relative; z-index: 60; }
  .m-nome { font-size: 24px; } header.scuro .m-nome { font-size: 21px; } .m-sotto { font-size: 7px; margin-top: 8px; } .m-riga { display: none; }
  .apertura, .testa-pagina { grid-template-columns: 1fr; padding-top: 130px; text-align: center; }
  .testa-pagina .sommario { margin-left: auto; margin-right: auto; }
  .lineetta { margin-left: auto; margin-right: auto; }
  .motto { margin-left: auto; margin-right: auto; }
  .bottoni { justify-content: center; }
  .quadro, .testa-pagina .quadro { justify-self: center; width: 86%; margin-top: 30px; }
  .scorri { display: none; }
  .bio, .contatti, .corpo { grid-template-columns: 1fr; }
  .bio .frase { position: static; }
  .lato { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--linea); padding-top: 30px; }
  .servizi, .articoli { grid-template-columns: 1fr; }
  .servizio { min-height: 340px; }
  .galleria, .galleria.piccola { grid-template-columns: repeat(2, 1fr); }
  section.blocco { padding: 90px 6vw; }
  .titolo { flex-direction: column; gap: 6px; margin-bottom: 44px; }
  footer { flex-direction: column; text-align: center; }
  .su-in-cima { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .lettere .acc { opacity: 1; transform: translateX(-10%) rotate(-40deg); } }
