/* =============================================
   IL MONDO DI REGY — style.css
   ============================================= */

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box }

:root {
  --f:    #E8007A;
  --f2:   #FF3DAA;
  --f3:   #FF85CA;
  --c:    #00BFFF;
  --c2:   #5DE0FF;
  --ink:  #1a0535;
  --ink2: rgba(26,5,53,.70);
  --ink3: rgba(26,5,53,.50);
  --nav-h:    130px;   /* doppia riga: titolo + barra pulsanti */
  --bottom-h: 0px;     /* barra non è più in basso */
}

html, body {
  height: 100%;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-family: 'Josefin Sans', sans-serif;
}

/* ── CURSORE ── */
#cur, #cur2 {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  top: -50px; left: -50px;
}
#cur {
  width: 10px; height: 10px;
  background: var(--f2);
  box-shadow: 0 0 8px var(--f);
  transition: width .2s, height .2s;
}
#cur2 {
  width: 34px; height: 34px;
  border: 1.5px solid rgba(232,0,122,.55);
  transition: all .08s linear;
}

/* ── NAV TOP — due righe: titolo + barra pulsanti ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  padding: .7rem 4%;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232,0,122,.12);
}
.nav-top-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-bot-row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--ink);
  line-height: 1;
}
.nav-title em {
  color: var(--f2);
  font-style: italic;
  font-weight: 400;
}

/* ── BARRA NAVIGAZIONE PANNELLI — ora dentro la nav ── */
#navbar {
  display: flex;
  gap: .3rem;
  padding: .28rem .32rem;
  background: rgba(255,255,255,.0);  /* trasparente — già dentro la nav */
  border-radius: 50px;
  border: none;
  box-shadow: none;
  white-space: nowrap;
}
.nb {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .6rem 1.2rem;
  border-radius: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(26,5,53,.60);
  transition: all .25s ease;
}
.nb:hover { color: var(--f); background: rgba(232,0,122,.07); }
.nb.on {
  background: linear-gradient(135deg, var(--f), var(--f2));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 14px rgba(232,0,122,.4);
}

/* ── FRECCE ── */
.arr {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(232,0,122,.2);
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.arr:hover { border-color: var(--f); box-shadow: 0 0 18px rgba(232,0,122,.3); }
.arr.off { opacity: 0; pointer-events: none; }
.arr svg { width:15px; height:15px; stroke:var(--ink); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.arr:hover svg { stroke: var(--f); }
#aL { left: 1.4%; }
#aR { right: 1.4%; }

/* ── SLIDER ── */
#slider {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 1;
  display: flex;
  will-change: transform;
  transition: transform .82s cubic-bezier(.76,0,.24,1);
}
.pnl {
  width: 100vw;
  height: calc(100vh - var(--nav-h));
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =============================================
   P0 — HERO / GLOBO
   ============================================= */
#p0 { background: #fff; }

/* Layout Hero: tre zone verticali — eyebrow / globo / titolo+ticker */
#p0 .h-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;        /* eyebrow sempre su una riga */
  overflow: hidden;
}

/* Il globo occupa lo spazio utile del pannello lasciando margine per le sfere */
.globe-wrap {
  position: relative;
  width:  min(522px, 47vh);
  height: min(522px, 47vh);
  margin-top: -5rem;
}

#globe-c {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.logo-fix {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 25;   /* sopra il canvas overlay sfere */
  /* Aumentato da 32% a 36% per miglior leggibilità */
  width: 36%; height: 36%;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 3px #fff,
    0 0 0 5.5px var(--f),
    0 0 0 8px rgba(0,191,255,.4),
    0 0 28px rgba(232,0,122,.7),
    0 0 55px rgba(232,0,122,.3);
  animation: logoPulse 3s ease-in-out infinite;
  pointer-events: none;
}
.logo-fix img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@keyframes logoPulse {
  0%,100% {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--f),  0 0 0 8px rgba(0,191,255,.4),  0 0 28px rgba(232,0,122,.7), 0 0 55px rgba(232,0,122,.3);
  }
  50% {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--c),  0 0 0 8px rgba(232,0,122,.35), 0 0 35px rgba(0,191,255,.85), 0 0 65px rgba(0,191,255,.35);
  }
}

.eyebrow {
  font-size: .95rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--f);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.el  { width: 44px; height: 1.5px; background: linear-gradient(to right, transparent, var(--f)); }
.el.r{ background: linear-gradient(to left,  transparent, var(--f)); }


/* Ticker / Marquee — separato dal contenuto, incollato al bottom del pannello */
.mq {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 6;
  overflow: hidden;
  border-top: 1px solid rgba(232,0,122,.12);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: .45rem 0;
  /* altezza totale ticker ~30px, non interferisce con navbar */
}
.mq-t { display:flex; white-space:nowrap; animation:mqA 32s linear infinite; }
.mq-i { display:flex; gap:3rem; padding-right:3rem; flex-shrink:0; }
.mi   {
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink2);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.md   { width:5px; height:5px; border-radius:50%; background:var(--f); flex-shrink:0; }
@keyframes mqA { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.slb {
  font-size: .62rem;          /* era .55rem */
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--f);
  font-weight: 300;
  margin-bottom: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.slb::before, .slb::after { content:''; width:16px; height:1px; background:var(--f); }
.sh2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 300;
  letter-spacing: -.02em;
  color: var(--ink);
}
.sh2 em { font-style:italic; color:var(--f2); }

/* =============================================
   P2 — LA MENTE
   ============================================= */
#p2 { background: radial-gradient(ellipse at 35% 50%, #efe5ff 0%, #fff 65%); }
#neb-c { position:absolute; inset:0; width:100%; height:100%; }

.p2-box {
  position: relative;
  z-index: 5;
  max-width: 600px;
  padding: 1.5rem 2rem;
  text-align: center;
  /* Sposta leggermente verso l'alto per bilanciamento ottico */
  margin-top: -1.5rem;
}
.plb {
  font-size: .62rem;          /* era .54rem */
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--f3);
  font-weight: 300;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}
.plb::before, .plb::after { content:''; width:18px; height:1px; background:var(--f3); }
.ph2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin-bottom: 1.4rem;
  color: var(--ink);
}
.ph2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--f2), var(--c2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ptx {
  font-size: clamp(.78rem, 1.05vw, .9rem);  /* era .75rem min */
  color: rgba(26,5,53,.6);
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: .03em;
  margin-bottom: .7rem;
}
.psig {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--f3);
  margin-top: 1.4rem;
  font-weight: 300;
}

/* =============================================
   P3 — MANIFESTO / MONOLITI
   ============================================= */
#p3 { background: #ffffff; }
#mono-c { position:absolute; inset:0; width:100%; height:100%; }

.p3-top {
  position: absolute;
  top: 5%; left: 0; right: 0;
  text-align: center;
  z-index: 5;
  pointer-events: none;
}
.p3-top .slb { color:var(--c); }
.p3-top .slb::before, .p3-top .slb::after { background:var(--c); }

.mono-lbs {
  position: absolute;
  bottom: calc(var(--bottom-h) + 16px);  /* era bottom:5%, ora allineato sopra navbar */
  left: 0; right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 5%;
  z-index: 5;
  pointer-events: none;
}
.mib { text-align:center; max-width:185px; }
.mir {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 300;
  color: rgba(232,0,122,.35);
  line-height: 1;
  margin-bottom: .35rem;
}
.mit {
  font-family: 'Cormorant Garamond', serif;
  font-size: .95rem;          /* era .9rem */
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .3rem;
}
.mix {
  font-size: .65rem;          /* era .58rem */
  color: rgba(26,5,53,.5);
  line-height: 1.65;
  font-weight: 300;
}

/* =============================================
   P2 — NOVITÀ (Instagram feed)
   ============================================= */
#p2 { background: radial-gradient(ellipse at 60% 40%, #fce4f3 0%, #f0eaff 45%, #fff 80%); }

.nov-wrap {
  position: relative;
  z-index: 5;
  width: min(660px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: .5rem 0;
}

.nov-top { text-align: center; margin-bottom: .2rem; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .4rem;
  width: 100%;
}

.ig-post {
  display: block;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background: #ede4f5;
}

.ig-post-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f5eeff;
  display: block;
  transition: transform .35s ease;
}

.ig-post:hover .ig-post-img { transform: scale(1.06); }

.ig-post-over {
  position: absolute;
  inset: 0;
  background: rgba(26,5,53,.60);
  display: flex;
  align-items: flex-end;
  padding: .5rem;
  opacity: 0;
  transition: opacity .25s ease;
}

.ig-post:hover .ig-post-over { opacity: 1; }

.ig-post-cap {
  font-family: 'Cormorant Garamond', serif;
  font-size: .78rem;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ig-video-icon {
  position: absolute;
  top: .4rem;
  right: .4rem;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-follow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink2);
  text-decoration: none;
  transition: color .2s;
}

.ig-follow:hover { color: var(--f); }

/* Loading dots */
.ig-loading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: 2rem 0;
}

.ig-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--f3);
  animation: igpulse 1.2s ease-in-out infinite;
}

.ig-dot:nth-child(2) { animation-delay: .2s; }
.ig-dot:nth-child(3) { animation-delay: .4s; }

@keyframes igpulse {
  0%, 100% { transform: scale(.7); opacity: .4; }
  50%       { transform: scale(1);  opacity: 1;  }
}

.ig-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--ink2);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  padding: 2rem;
}

/* Mobile */
@media (max-width: 600px) {
  .ig-grid { gap: .3rem; }
}

/* =============================================
   P3 — CONTATTI
   ============================================= */
#por-c { display:none; }

.cnt-wrap {
  position: relative;
  z-index: 5;
  width: min(520px, 88vw);
  margin-bottom: 8vh;
}

/* Firma decorativa */
.cnt-sig {
  font-family: 'Tangerine', cursive;
  font-size: clamp(3.2rem, 5.5vw, 4.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin: 0 0 .15rem;
  text-align: center;
}
.cnt-sig-dot { color: var(--c); }

/* Eyebrow */
.cnt-eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink2);
  text-align: center;
  margin: 0 0 1.8rem;
}

/* Lista link */
.cnt-list {
  border-top: 1px solid rgba(26,5,53,.1);
  margin-bottom: 1.4rem;
}

.cnt-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem .2rem .9rem .4rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(26,5,53,.07);
  position: relative;
  transition: padding-left .2s ease, background .2s ease;
}
.cnt-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2.5px;
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.cnt-row:hover { padding-left: .9rem; background: rgba(0,0,0,.016); }
.cnt-row:hover::before { transform: scaleY(1); }

.cnt-row-ig::before { background: #e1306c; }
.cnt-row-wa::before { background: #25d366; }
.cnt-row-vt::before { background: #09b1ba; }
.cnt-row-wp::before { background: #13c1ac; }

.cnt-row-ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}
.cnt-row-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .05rem;
}
.cnt-row-name {
  font-family: 'Josefin Sans', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cnt-row-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink2);
  line-height: 1.2;
}
.cnt-row-ig .cnt-row-name { color: #b5006a; }
.cnt-row-wa .cnt-row-name { color: #0a7060; }
.cnt-row-vt .cnt-row-name { color: #078a91; }
.cnt-row-wp .cnt-row-name { color: #07897c; }

.cnt-row-arr {
  flex-shrink: 0;
  color: var(--ink);
  opacity: .35;
  transition: opacity .2s, transform .2s;
}
.cnt-row:hover .cnt-row-arr { opacity: .85; transform: translate(3px, -3px); }

/* Email + telefono */
.cnt-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  flex-wrap: wrap;
}
.cnt-bottom-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .05em;
  color: var(--ink2);
  text-decoration: none;
  transition: color .2s;
}
.cnt-bottom-link:hover { color: var(--c); }
.cnt-bottom-link svg { width: 15px; height: 15px; opacity: .65; flex-shrink: 0; }
.cnt-bottom-sep { color: rgba(26,5,53,.35); font-size: .9rem; }

/* =============================================
   SELETTORE LINGUE
   ============================================= */
.lang-sel {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: .25rem;
}
.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: .22rem .45rem;
  font-family: 'Josefin Sans', sans-serif;
  font-size: .62rem;
  font-weight: 400;
  letter-spacing: .08em;
  color: var(--ink3);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.lang-btn:hover {
  color: var(--f);
  border-color: rgba(232,0,122,.25);
  background: rgba(232,0,122,.05);
}
.lang-btn.active {
  color: var(--f);
  border-color: rgba(232,0,122,.4);
  background: rgba(232,0,122,.08);
  font-weight: 600;
}

/* =============================================
   P1 — LA MIA STORIA
   ============================================= */
#p1 {
  background: #ffffff;
  overflow: hidden;
}
#neb-c { display: none; }

/* Passepartout — doppia cornice scoped al pannello */
#p1::before,
#p1::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 6;
}
#p1::before {
  inset: clamp(14px, 1.6vw, 24px);
  border: 1.5px solid #5BBDE5;
}
#p1::after {
  inset: clamp(22px, 2.2vw, 34px);
  border: 1px solid rgba(91,189,229,.35);
}

.story-wrap {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 3.5vh, 56px) clamp(40px, 5vw, 90px);
  box-sizing: border-box;
  overflow: hidden;
}

/* Barra celeste sopra il titolo */
.story-mark {
  width: 44px;
  height: 2px;
  background: #5BBDE5;
  border-radius: 2px;
  margin-bottom: clamp(8px, 1.2vh, 18px);
  flex-shrink: 0;
}

/* Titolo "Regina." */
.story-title {
  font-family: 'Bodoni Moda', 'Georgia', serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(40px, 6.5vh, 96px);
  line-height: .92;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-align: center;
  margin: 0 0 clamp(8px, 1.2vh, 18px);
  flex-shrink: 0;
}
.story-period { color: var(--f); }

/* Underline gradiente sotto il titolo */
.story-underline {
  width: clamp(80px, 10vw, 160px);
  height: 1px;
  background: linear-gradient(to right, transparent, #5BBDE5 30%, var(--f) 70%, transparent);
  margin-bottom: clamp(12px, 1.8vh, 32px);
  flex-shrink: 0;
}

/* Contenitore paragrafi — occupa tutto lo spazio rimanente */
.story-body {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}

.story-p {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(.78rem, 1.05vw, 1rem);
  line-height: 1.55;
  color: var(--ink);
  letter-spacing: .008em;
  margin: 0;
}

/* Drop cap sul primo paragrafo */
.story-p:first-of-type::first-letter {
  font-family: 'Bodoni Moda', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 3.2em;
  line-height: .80;
  float: left;
  padding: .04em .10em 0 0;
  color: #1E9FCC;
}

/* Nomi città colorati */
.city-f { color: #C81470; font-weight: 700; }
.city-c { color: #1E9FCC; font-weight: 700; }

/* Firma */
.story-sign {
  margin-top: clamp(10px, 1.4vh, 24px);
  text-align: center;
  flex-shrink: 0;
}
.story-sig {
  font-family: 'Tangerine', 'Pinyon Script', cursive;
  font-weight: 700;
  font-size: clamp(48px, 5.5vh, 84px);
  line-height: 1;
  background: linear-gradient(110deg, var(--f) 0%, #5BBDE5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  padding: 0 .15em .05em;
}

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .story-wrap { padding: clamp(36px, 5vh, 64px) 6%; }
  .story-title { font-size: clamp(36px, 9vw, 64px); }
  .story-p { font-size: .82rem; }
  .story-sig { font-size: clamp(40px, 9vw, 64px); }
}

/* =============================================
   RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --nav-h: 96px; }
  .nb { padding:.35rem .7rem; font-size:.72rem; }
  .nav-title { font-size: clamp(1.5rem, 4vw, 2.2rem); }
}

@media (max-width: 700px) {
  :root { --nav-h: 86px; }

  .nb {
    padding: .3rem .55rem;
    font-size: .6rem;
    letter-spacing: .07em;
    gap: .25rem;
  }

  /* Frecce nascoste su mobile — si naviga con swipe */
  .arr { display: none; }

  /* Globo su mobile */
  .globe-wrap {
    width:  min(260px, 52vw);
    height: min(260px, 52vw);
    margin-top: 0;
  }

  .mono-lbs { flex-wrap:wrap; gap:.5rem; }
  .mib { max-width:130px; }

  /* Contatti mobile */
  .cnt-sig { font-size: 2.6rem; }
  .cnt-row { gap: .75rem; }
  .cnt-row-ico { width: 34px; height: 34px; }
  .cnt-bottom { gap: .5rem; }
  .cnt-bottom-sep { display: none; }
}

@media (max-width: 480px) {
  :root { --nav-h: 98px; }

  nav {
    gap: .4rem;
    padding: .5rem 2%;
    border-bottom: 1px solid rgba(232,0,122,.15);
  }

  /* Titolo più piccolo */
  .nav-title { font-size: 1.25rem; }

  /* Bandiere: solo icona, niente testo */
  .lang-btn {
    font-size: 0;
    padding: .12rem .14rem;
    line-height: 0;
  }
  .lang-btn img { width: 20px; height: auto; display: block; }

  /* Pulsanti nav: più visibili e ben separati dalle bandiere */
  .nb {
    padding: .38rem .55rem;
    font-size: .58rem;
    letter-spacing: .06em;
    gap: .2rem;
  }
}
