/* =====================================================
   Laboratorio Polidiagnostico — home-style.css
   Stile: Moderno, professionale, orientato alla conversione
   ===================================================== */

/* ── Variabili ── */
:root {
  --font-primary: 'Bodoni Moda', serif;
  --font-ui: 'Inter', sans-serif;

  --blue-darkest:  #042C53;
  --blue-dark:     #0C447C;
  --blue-mid:      #185FA5;
  --blue-main:     #378ADD;
  --blue-light:    #B5D4F4;
  --blue-lightest: #E6F1FB;

  --surface:       #f7f9fc;
  --white:         #ffffff;
  --border:        #e2eaf4;
  --text-primary:  #042C53;
  --text-muted:    #6b7a99;
  --green-badge:   #EAF3DE;
  --green-text:    #27500A;

  --radius-sm:     6px;
  --radius-md:     10px;
  --radius-lg:     14px;
  --radius-pill:   100px;

  --shadow-sm:     0 1px 4px rgba(4,44,83,.07);
  --shadow-md:     0 4px 16px rgba(4,44,83,.10);
  --shadow-lg:     0 8px 32px rgba(4,44,83,.14);

  --transition:    .2s ease;
}

/* ── Reset base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--surface);
  color: var(--text-primary);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* =====================================================
   HEADER PUBBLICO
   ===================================================== */
.pub-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.pub-header-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.pub-header-logomark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--blue-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-header-logomark svg {
  width: 18px;
  height: 18px;
}

.pub-header-name {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-darkest);
  line-height: 1.2;
}

.pub-header-name span {
  display: block;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pub-header-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.pub-header-nav a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.pub-header-nav a:hover { color: var(--blue-darkest); }

.pub-header-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
}

.pub-header-login {
  font-size: .875rem;
  font-weight: 500;
  color: var(--blue-mid);
  cursor: pointer;
  transition: color var(--transition);
}

.pub-header-login:hover { color: var(--blue-dark); }

.pub-header-register {
  background: var(--blue-darkest);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: .5rem 1.25rem;
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.pub-header-register:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* =====================================================
   HERO
   ===================================================== */
.pub-hero {
  position: relative;
  background: var(--blue-darkest);
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Pattern puntinato sfondo */
.pub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
}

.pub-hero-photo {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 1;
}

.pub-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .4;
}

.pub-hero-photo-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--blue-darkest) 10%, transparent 80%);
}

.pub-hero-body {
  position: relative;
  z-index: 2;
  padding: 4rem 3rem;
  max-width: 580px;
}

.pub-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(55,138,221,.15);
  border: 1px solid rgba(55,138,221,.3);
  border-radius: var(--radius-pill);
  padding: .3rem .9rem;
  font-size: .75rem;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
}

.pub-hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-main);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.8); }
}

.pub-hero-h1 {
  font-family: var(--font-primary);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.pub-hero-h1 em {
  font-style: italic;
  color: var(--blue-light);
}

.pub-hero-sub {
  font-size: 1.05rem;
  color: var(--blue-light);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}

.pub-hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-primary {
  background: var(--blue-main);
  color: var(--blue-darkest);
  border: none;
  border-radius: var(--radius-sm);
  padding: .75rem 1.75rem;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(55,138,221,.4);
}

.btn-ghost-white {
  background: transparent;
  border: 1px solid rgba(133,183,235,.4);
  color: var(--blue-light);
  border-radius: var(--radius-sm);
  padding: .75rem 1.5rem;
  font-size: .9rem;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.btn-ghost-white:hover {
  border-color: var(--blue-light);
  color: var(--white);
}

/* Social proof */
.pub-hero-social {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(133,183,235,.18);
}

.pub-hero-avatars {
  display: flex;
}

.pub-hero-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--blue-darkest);
  background: var(--blue-mid);
  color: var(--white);
  font-size: .65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  flex-shrink: 0;
}

.pub-hero-avatar:first-child { margin-left: 0; }

.pub-hero-social-text {
  font-size: .78rem;
  color: var(--blue-light);
  line-height: 1.5;
}

.pub-hero-social-text strong { color: var(--white); }

/* =====================================================
   FEATURE STRIP
   ===================================================== */
.pub-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.pub-strip-item {
  padding: 1.1rem 1.25rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  transition: background var(--transition);
}

.pub-strip-item:last-child { border-right: none; }

/* Box decorativo (div, es. Prelievo a domicilio): nessuna interazione */
div.pub-strip-item:hover { background: transparent; cursor: default; user-select: none; }

/* Box cliccabili (a): manina + hover con sollevamento e bordo */
a.pub-strip-item { cursor: pointer; text-decoration: none; color: inherit; transition: background var(--transition), box-shadow .2s; }
a.pub-strip-item:hover { background: #F7FAFE; box-shadow: inset 0 0 0 2px #185FA5; }
a.pub-strip-item .pub-strip-desc { color: #185FA5; font-weight: 600; }

.pub-strip-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-strip-title {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .15rem;
}

.pub-strip-desc {
  font-size: .72rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =====================================================
   SEZIONI GENERALI
   ===================================================== */
.pub-section {
  padding: 2rem 2.5rem 0;
}

.pub-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.1rem;
}

.pub-section-header h2 {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pub-section-header p {
  font-size: .8rem;
  color: var(--text-muted);
}

.pub-section-header a {
  font-size: .8rem;
  color: var(--blue-mid);
  font-weight: 500;
  transition: color var(--transition);
}

.pub-section-header a:hover { color: var(--blue-dark); }

/* MOBILE FIX: pub-section-header — titolo+sottotitolo impilati e centrati */
@media (max-width: 640px) {
  .pub-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
  }
  .pub-section-header h2 {
    font-size: 1.25rem;
    line-height: 1.25;
  }
  .pub-section-header p {
    font-size: .82rem;
    line-height: 1.5;
  }
}

/* =====================================================
   NEWS GRID
   ===================================================== */
.pub-news-grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: .9rem;
}

.pub-news-main {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pub-news-main:hover {
  border-color: var(--blue-main);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pub-news-main-img {
  height: 160px;
  overflow: hidden;
  position: relative;
}

.pub-news-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.pub-news-main:hover .pub-news-main-img img { transform: scale(1.04); }

.pub-news-main-img-grad {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(4,44,83,.45), transparent);
}

.pub-news-body {
  padding: 1rem 1.1rem;
}

.pub-news-tag {
  font-size: .68rem;
  font-weight: 600;
  background: var(--blue-lightest);
  color: var(--blue-dark);
  padding: .2rem .6rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pub-news-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: .35rem;
}

.pub-news-meta {
  font-size: .72rem;
  color: var(--text-muted);
}

.pub-news-side {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.pub-news-small {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  flex: 1;
  transition: border-color var(--transition), transform var(--transition);
}

.pub-news-small:hover {
  border-color: var(--blue-main);
  transform: translateY(-2px);
}

.pub-news-small-img {
  height: 70px;
  overflow: hidden;
}

.pub-news-small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.pub-news-small:hover .pub-news-small-img img { transform: scale(1.05); }

.pub-news-small-body {
  padding: .7rem .9rem;
}

.pub-news-small-title {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
}

/* =====================================================
   CONTENUTI BLOCCATI (LOCKED)
   ===================================================== */
.pub-locked-section {
  padding: 1.75rem 2.5rem 0;
}

.pub-locked-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.pub-locked-header h2 {
  font-family: var(--font-primary);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pub-locked-badge {
  font-size: .72rem;
  font-weight: 600;
  background: var(--blue-lightest);
  color: var(--blue-dark);
  padding: .3rem .9rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.pub-locked-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.pub-locked-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.pub-locked-card-img {
  height: 90px;
  overflow: hidden;
}

.pub-locked-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px);
  transform: scale(1.08);
}

.pub-locked-card-body {
  padding: .8rem 1rem;
}

.pub-locked-card-title {
  font-size: .85rem;
  font-weight: 600;
  color: #ccc;
  margin-bottom: .2rem;
}

.pub-locked-card-meta {
  font-size: .72rem;
  color: #ddd;
}

.pub-locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,44,83,.68);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  backdrop-filter: blur(1px);
}

.pub-locked-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pub-locked-msg {
  font-size: .78rem;
  color: var(--blue-lightest);
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
}

.pub-locked-btn {
  background: var(--blue-main);
  color: var(--blue-darkest);
  border: none;
  border-radius: var(--radius-sm);
  padding: .35rem 1.1rem;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.pub-locked-btn:hover { background: var(--blue-light); }

/* =====================================================
   REFERTO CTA
   ===================================================== */
.pub-referto {
  margin: 1.75rem 2.5rem 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: box-shadow var(--transition);
}

.pub-referto:hover { box-shadow: var(--shadow-md); }

.pub-referto-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pub-referto-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-lightest);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-referto-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .2rem;
}

.pub-referto-text p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pub-referto-btn {
  background: var(--blue-darkest);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.pub-referto-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* =====================================================
   OFFERTE / ESAMI DEL MESE
   ===================================================== */
.pub-off-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.pub-off-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.pub-off-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background var(--transition);
}

.pub-off-card.hot::before { background: var(--blue-main); }

.pub-off-card:hover {
  border-color: var(--blue-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pub-off-badge {
  font-size: .68rem;
  font-weight: 600;
  background: var(--green-badge);
  color: var(--green-text);
  padding: .2rem .7rem;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.pub-off-card.hot .pub-off-badge {
  background: var(--blue-lightest);
  color: var(--blue-dark);
}

.pub-off-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: .3rem;
}

.pub-off-desc {
  font-size: .77rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.pub-off-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pub-off-price {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue-mid);
  line-height: 1;
}

.pub-off-old {
  font-size: .72rem;
  color: #aaa;
  text-decoration: line-through;
  display: block;
  margin-top: .15rem;
}

.pub-off-cta {
  font-size: .75rem;
  font-weight: 500;
  color: var(--blue-mid);
  border: 1px solid var(--blue-light);
  border-radius: var(--radius-sm);
  padding: .35rem .9rem;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.pub-off-card.hot .pub-off-cta {
  background: var(--blue-mid);
  color: var(--white);
  border-color: var(--blue-mid);
}

.pub-off-cta:hover {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}

/* =====================================================
   PERCHÉ NOI
   ===================================================== */
.pub-why {
  margin: 1.75rem 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pub-why-photo {
  overflow: hidden;
  min-height: 180px;
}

.pub-why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.pub-why:hover .pub-why-photo img { transform: scale(1.04); }

.pub-why-body {
  background: var(--blue-darkest);
  padding: 1.75rem 2rem;
}

.pub-why-body h3 {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-lightest);
  margin-bottom: 1rem;
}

.pub-why-pts {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.pub-why-pt {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .83rem;
  color: var(--blue-light);
}

.pub-why-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(55,138,221,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =====================================================
   RECENSIONI
   ===================================================== */
.pub-reviews {
  padding: 1.75rem 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.pub-review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.pub-review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pub-review-stars {
  color: var(--blue-main);
  font-size: .85rem;
  letter-spacing: 2px;
  margin-bottom: .6rem;
}

.pub-review-text {
  font-family: var(--font-primary);
  font-size: .88rem;
  font-style: italic;
  color: #42536b;
  line-height: 1.65;
  margin-bottom: .85rem;
}

.pub-review-author {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.pub-review-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-lightest);
  color: var(--blue-dark);
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-review-name {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pub-review-date {
  font-size: .68rem;
  color: var(--text-muted);
}

/* =====================================================
   NUDGE FINALE (REGISTRAZIONE)
   ===================================================== */
.pub-nudge {
  margin: 1.75rem 2.5rem 0;
  background: var(--blue-darkest);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.pub-nudge::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 22px 22px;
}

.pub-nudge-left { position: relative; z-index: 1; }

.pub-nudge-eyebrow {
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--blue-light);
  text-transform: uppercase;
  margin-bottom: .6rem;
}

.pub-nudge-h {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.pub-nudge-sub {
  font-size: .85rem;
  color: var(--blue-light);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.pub-nudge-benefits {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.pub-nudge-benefit {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .83rem;
  color: var(--blue-lightest);
}

.pub-nudge-benefit-chk {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(55,138,221,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pub-nudge-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.pub-nudge-btn {
  background: var(--blue-main);
  color: var(--blue-darkest);
  border: none;
  border-radius: var(--radius-sm);
  padding: .9rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.pub-nudge-btn:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(55,138,221,.5);
}

.pub-nudge-login {
  font-size: .8rem;
  color: var(--blue-light);
}

.pub-nudge-login a {
  color: var(--blue-lightest);
  text-decoration: underline;
  transition: color var(--transition);
}

.pub-nudge-login a:hover { color: var(--white); }

/* =====================================================
   FOOTER
   ===================================================== */
.pub-footer {
  margin-top: 2rem;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.1rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pub-footer-copy {
  font-size: .75rem;
  color: var(--text-muted);
}

.pub-footer-links {
  display: flex;
  gap: 1.25rem;
}

.pub-footer-links a {
  font-size: .75rem;
  color: var(--blue-mid);
  transition: color var(--transition);
}

.pub-footer-links a:hover { color: var(--blue-dark); }

/* =====================================================
   HELP BUTTON (fisso)
   ===================================================== */
.pub-help-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
}

.pub-help-btn a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-mid);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(24,95,165,.45);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.pub-help-btn a:hover {
  background: var(--blue-dark);
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(24,95,165,.6);
}

/* =====================================================
   FADE-IN ON SCROLL
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   RESPONSIVE (tablet/mobile base)
   ===================================================== */
@media (max-width: 900px) {
  .pub-hero-body     { max-width: 100%; padding: 2.5rem 1.5rem; }
  .pub-hero-photo    { width: 40%; opacity: .25; }
  .pub-strip         { grid-template-columns: repeat(2, 1fr); }
  .pub-news-grid     { grid-template-columns: 1fr; }
  .pub-locked-grid   { grid-template-columns: 1fr 1fr; }
  .pub-off-grid      { grid-template-columns: 1fr; }
  .pub-why           { grid-template-columns: 1fr; }
  .pub-reviews       { grid-template-columns: 1fr; }
  .pub-nudge         { flex-direction: column; text-align: center; }
  .pub-nudge-benefits{ align-items: center; }
  .pub-section,
  .pub-locked-section{ padding: 1.5rem 1.25rem 0; }
  .pub-referto,
  .pub-why,
  .pub-nudge         { margin-left: 1.25rem; margin-right: 1.25rem; }
  .pub-reviews       { padding: 1.5rem 1.25rem 0; }
  .pub-header-nav a  { display: none; }
}

@media (max-width: 600px) {
  .pub-hero-h1       { font-size: 2rem; }
  .pub-strip         { grid-template-columns: 1fr; }
  .pub-locked-grid   { grid-template-columns: 1fr; }
  .pub-referto       { flex-direction: column; text-align: center; }
  .pub-referto-left  { flex-direction: column; align-items: center; text-align: center; }
}
