
/* ===================================
   SERPICO PRODUCTION
   SITO UFFICIALE 2026
=================================== */

:root {
  --nero: #080b0d;
  --nero-chiaro: #11191b;
  --bianco: #b10303;
  --grigio: #aab4b5;
  --ottanio: #af0513;
  --ottanio-chiaro: hsl(0, 0%, 97%);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--nero);
  color: var(--bianco);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* BARRA SUPERIORE */

.navbar {
  min-height: 85px;
  padding: 20px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  background: rgba(8, 11, 13, 0.96);
  border-bottom: 1px solid #ffffff1a;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(15px);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
}

.logo span {
  color: var(--ottanio-chiaro);
  font-weight: 400;
}

nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

nav a {
  font-size: 13px;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--ottanio-chiaro);
}

/* COPERTINA PRINCIPALE */

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 100px 9%;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 78% 45%,
      #117c7459,
      transparent 45%
    ),
    linear-gradient(
      120deg,
      #050708,
      #142426,
      #080b0d
    );
}

.hero-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
  animation: entrata 1s ease-out;
}

.sottotitolo {
  color: var(--ottanio-chiaro);
  font-size: 13px;
  letter-spacing: 4px;
  font-weight: 700;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(45px, 7vw, 100px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -3px;
}

.hero h1 span {
  color: var(--ottanio-chiaro);
}

.hero-content > p:not(.sottotitolo) {
  color: var(--grigio);
  font-size: 19px;
  max-width: 600px;
  margin-top: 30px;
}

/* PULSANTE PRINCIPALE */

.pulsante {
  display: inline-block;
  margin-top: 35px;
  padding: 16px 30px;
  background: var(--ottanio);
  border: 1px solid var(--ottanio);
  color: white;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.pulsante:hover {
  background: transparent;
  border-color: var(--ottanio-chiaro);
  color: var(--ottanio-chiaro);
  transform: translateY(-3px);
}

/* SEZIONI DEL SITO */

.sezione {
  padding: 100px 9%;
  border-top: 1px solid #ffffff12;
}

.sezione h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 25px;
}

.sezione > p {
  max-width: 750px;
  color: var(--grigio);
  font-size: 18px;
}

/* LE NOSTRE AREE */

.griglia {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  min-height: 230px;
  padding: 30px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(
    145deg,
    #1c3032,
    #0d1517
  );
  border: 1px solid #ffffff20;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.35s;
}

.card {
  min-height: 230px;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(145deg, #162628, #0c1416);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.30s ease, border-color 0.30s ease, box-shadow 0.30s ease, background 0.30s ease;
}

/* VERSIONE SMARTPHONE */

@media (max-width: 768px) {

  .navbar {
    padding: 20px 6%;
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    font-size: 18px;
  }

  nav {
    gap: 15px;
  }

  nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 75vh;
    padding: 80px 7%;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 60px);
    letter-spacing: -1px;
  }

  .sottotitolo {
    letter-spacing: 2px;
  }

  .sezione {
    padding: 70px 7%;
  }

  .griglia {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* LOGO SERPICO A DESTRA DELLA HOMEPAGE */

.hero {
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-logo {
  width: min(36vw, 520px);
  max-width: 45%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;

  /* Nasconde il nero del logo sullo sfondo scuro */
  mix-blend-mode: screen;

  animation: entrata 1.3s ease-out;
}

/* VERSIONE SMARTPHONE */

@media (max-width: 800px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 35px;
  }

  .hero-logo {
    width: min(75vw, 380px);
    max-width: 100%;
    align-self: center;
  }
}

/* PRESIDENTE - FOTO PICCOLA A DESTRA */

#chisiamo {
  padding-right: 9%;
  min-height: 0;
}

.foto-presidente {
  position: static;
  float: right;
  width: 250px;
  max-width: 45%;
  margin: 0 0 20px 35px;
}

.foto-presidente img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
}

.foto-presidente figcaption {
  text-align: center;
  margin-top: 12px;
}

.foto-presidente strong {
  display: block;
  color: white;
}

.foto-presidente span {
  color: #4ad2c8;
  font-size: 12px;
}

@media (max-width: 768px) {
  #chisiamo {
    padding-right: 7%;
  }

  .foto-presidente {
    float: none;
    position: static;
    width: 180px;
    max-width: 100%;
    margin: 20px auto 30px;
  }

  .foto-presidente img {
    height: 225px;
  }
}

/* ===============================
   PAGINA CINETEATRO
================================ */

/* COPERTINA */

.ct-hero {
  padding: 125px 9%;
  background:
    radial-gradient(
      circle at 85% 45%,
      #14665a55,
      transparent 55%
    ),
    #0b1113;
  border-bottom: 1px solid #ffffff15;
}

.ct-hero h1 {
  max-width: 1000px;
  font-size: clamp(45px, 6vw, 85px);
  line-height: 1.1;
  letter-spacing: -2px;
}

.ct-hero h1 span {
  color: var(--ottanio-chiaro);
}

.ct-intro {
  max-width: 650px;
  margin-top: 30px;
  color: var(--grigio);
  font-size: 19px;
  line-height: 1.8;
}

/* SEZIONI */

.ct-sezione {
  padding: 90px 9%;
  border-bottom: 1px solid #ffffff15;
}

.ct-etichetta {
  color: var(--ottanio-chiaro);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.ct-sezione h2,
.ct-chiusura h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  margin-bottom: 30px;
}

.ct-sezione > p:not(.ct-etichetta) {
  color: var(--grigio);
  max-width: 850px;
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 18px;
}

/* SCHEDE INFORMAZIONI */

.ct-griglia {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.ct-scheda {
  min-height: 190px;
  padding: 28px;
  background: #121c1e;
  border: 1px solid #ffffff19;
  border-radius: 10px;
  transition: transform .3s, border-color .3s;
}

.ct-scheda:hover {
  transform: translateY(-5px);
  border-color: var(--ottanio-chiaro);
}

.ct-scheda span {
  display: block;
  color: var(--ottanio-chiaro);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.ct-scheda h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 10px;
}

.ct-scheda p {
  color: var(--grigio);
  font-size: 15px;
  line-height: 1.7;
}

/* CHIUSURA */

.ct-chiusura {
  padding: 100px 9%;
  text-align: center;
  background: #0d1718;
}

.ct-chiusura p {
  color: var(--grigio);
}

.ct-chiusura .ct-etichetta {
  color: var(--ottanio-chiaro);
}

.ct-chiusura .pulsante {
  margin-top: 35px;
}

/* TABLET E SMARTPHONE */

@media (max-width: 900px) {
  .ct-griglia {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .ct-hero {
    padding: 85px 7%;
  }

  .ct-sezione,
  .ct-chiusura {
    padding: 70px 7%;
  }

  .ct-griglia {
    grid-template-columns: 1fr;
  }

  .ct-scheda {
    min-height: 155px;
  }

  .ct-intro {
    font-size: 16px;
  }
}
/* =========================
   CINETEATRO - VERSIONE MODERNA
========================= */

.ct-modern-hero {
  min-height: 72vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  padding: 110px 9%;
  background: #ffffff;
  border-bottom: 1px solid #ffffff12;
}.ct-modern-content {
  max-width: 760px;
  animation: ctFadeLeft 1s ease-out both;
}

.ct-modern-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: ctFadeRight 1.15s ease-out both;
}

.ct-modern-image {
  width: min(100%, 460px);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 45px rgba(0, 0, 0, 0.35));
  transform: translateY(0);
  animation: ctFadeRight 1.15s ease-out both, ctFloat 4.5s ease-in-out infinite;
}@keyframes ctFadeLeft {
  from {
    opacity: 0;
    transform: translateX(-35px) translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes ctFadeRight {
  from {
    opacity: 0;
    transform: translateX(45px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes ctFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.ct-modern-content {
  max-width: 760px;
}

.ct-mini {
  color: var(--ottanio-chiaro);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.ct-modern-hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 25px;
}

.ct-modern-hero h1 span {
  color: var(--ottanio-chiaro);
}

.ct-testo-hero {
  max-width: 620px;
  font-size: 19px;
  color: var(--grigio);
  line-height: 1.8;
  margin-bottom: 34px;
}

.ct-modern-section {
  padding: 95px 9%;
}

.ct-box {
  max-width: 900px;
  padding: 50px;
  background: linear-gradient(145deg, rgba(20, 30, 32, 0.9), rgba(10, 16, 17, 0.96));
  border: 1px solid #ffffff14;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.ct-box h2 {
  font-size: clamp(30px, 4vw, 50px);
  margin-bottom: 22px;
  line-height: 1.15;
}

.ct-box p:not(.ct-mini) {
  color: var(--grigio);
  font-size: 18px;
  line-height: 1.9;
  margin-bottom: 18px;
}

.ct-modern-finale {
  padding: 90px 9% 110px;
  text-align: center;
  border-top: 1px solid #ffffff10;
}

.ct-modern-finale h2 {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.2;
}

@media (max-width: 768px) {
  .ct-modern-hero {
    min-height: auto;
    padding: 85px 7%;
  }

  .ct-modern-section,
  .ct-modern-finale {
    padding: 70px 7%;
  }

  .ct-box {
    padding: 30px 24px;
    border-radius: 14px;
  }

  .ct-testo-hero,
  .ct-box p:not(.ct-mini) {
    font-size: 16px;
  }
}
/* TESTI NERI - PAGINA CINETEATRO */

.ct-modern-hero h1 {
  color: #111111;
}

.ct-modern-hero h1 span {
  color: #087e79;
}

.ct-modern-hero .ct-mini {
  color: #111111;
}

.ct-modern-hero .ct-testo-hero {
  color: #333333;
}

/* NUOVO MENU SERPICO - ROSSO CINEMATOGRAFICO */

.navbar .logo span {
  color: #e32636;
}

.navbar nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px;

  background: rgba(25, 27, 31, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

.navbar nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border-radius: 40px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.navbar nav a:hover,
.navbar nav a:focus-visible {
  background: linear-gradient(135deg, #f03848, #ad1424);
  color: white;
  box-shadow: 0 5px 20px rgba(230, 38, 54, 0.35);
  transform: translateY(-2px);
}

/* MENU CENTRATO SU DESKTOP */

@media (min-width: 1101px) {
  .navbar nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* TABLET E SMARTPHONE */

@media (max-width: 1100px) {
  .navbar nav {
    position: static;
    left: auto;
    transform: none;
    flex-wrap: wrap;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .navbar nav {
    width: 100%;
    border-radius: 18px;
  }

  .navbar nav a {
    padding: 9px 12px;
    font-size: 12px;
  }
}

/* SCRITTA CINEMA TEATRO EVENTI ARTE CENTRATA */


/* SCRITTA CENTRATA SOTTO IL MENU */


.hero .sottotitolo {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 20px;

  text-align: center;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  z-index: 3;
}

/* =====================================
   SERPICO - TRANSIZIONE 3D CHI SIAMO
===================================== */

@media (prefers-reduced-motion: no-preference) {

  html.serpico-3d-ready #chisiamo {
    opacity: 0;

    transform:
      perspective(1200px)
      rotateX(10deg)
      rotateY(-5deg)
      translateY(75px)
      scale(0.94);

    transform-origin: center top;

    filter: blur(6px);

    transition:
      transform 1.1s cubic-bezier(.16, 1, .3, 1),
      opacity 0.9s ease,
      filter 1.1s ease;
  }

  /* COMPARSA CINEMATOGRAFICA */

  html.serpico-3d-ready #chisiamo.serpico-in-view {
    opacity: 1;
    transform:
      perspective(1200px)
      rotateX(0deg)
      rotateY(0deg)
      translateY(0)
      scale(1);

    filter: blur(0);
  }

}

/* =====================================
   SERPICO - ANIMAZIONE 3D DELLE AREE
===================================== */

@media (prefers-reduced-motion: no-preference) {

  html.serpico-card-3d #attivita .griglia {
    perspective: 1200px;
    perspective-origin: center top;
  }

  /* PARTENZA DALL'ALTO */

  html.serpico-card-3d #attivita .card {
    opacity: 0;

    transform:
      translate3d(0, -110px, 120px)
      rotateX(-16deg)
      scale(0.94);

    transform-origin: center top;

    transition:
      opacity 0.8s ease,
      transform 1.05s cubic-bezier(.18,.85,.25,1.06),
      box-shadow 0.35s ease;

    will-change: transform, opacity;
  }

  /* ARRIVO NELLA POSIZIONE ORIGINALE */

  html.serpico-card-3d
  #attivita .griglia.cards-visible .card {
    opacity: 1;

    transform:
      translate3d(0, 0, 0)
      rotateX(0deg)
      scale(1);
  }

  /* COMPARSA A CASCATA */

  html.serpico-card-3d
  #attivita .griglia.cards-visible .card:nth-child(1) {
    transition-delay: 0s;
  }

  html.serpico-card-3d
  #attivita .griglia.cards-visible .card:nth-child(2) {
    transition-delay: 0.16s;
  }

  html.serpico-card-3d
  #attivita .griglia.cards-visible .card:nth-child(3) {
    transition-delay: 0.32s;
  }

  /* EFFETTO AL PASSAGGIO DEL MOUSE */

  html.serpico-card-3d
  #attivita .griglia.cards-visible .card:hover {
    transform: translate3d(0, -7px, 0) scale(1.015);
    transition-delay: 0s;

    box-shadow:
      0 20px 45px rgba(0,0,0,0.30);
  }

}

/* WHATSAPP ROTONDO FISSO */

.whatsapp-fisso {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;

  width: 62px;
  height: 62px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25D366;
  color: #ffffff;
  border-radius: 50%;

  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.whatsapp-fisso svg {
  width: 34px;
  height: 34px;
}

.whatsapp-fisso:hover {
  color: #ffffff;
  transform: translateY(-5px) scale(1.07);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* VERSIONE SMARTPHONE */

@media (max-width: 600px) {
  .whatsapp-fisso {
    width: 55px;
    height: 55px;
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-fisso svg {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fisso {
    transition: none;
  }

  .whatsapp-fisso:hover {
    transform: none;
  }
}
/* IMMAGINI DENTRO LE CARD */

.card {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
}

/* OMBRA SOPRA L'IMMAGINE PER LEGGERE IL TESTO */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.70) 0%,
    rgba(0, 0, 0, 0.30) 45%,
    rgba(0, 0, 0, 0.10) 100%
  );
  z-index: 1;
}

/* TESTO SOPRA */
.card span {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #e00000;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.3px;
}


/* IMMAGINI DELLE TRE AREE */



.card:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(0, 0, 0, 0.05) 100%
  );
}
/* CORREZIONE LARGHEZZA TRE AREE */

#attivita .griglia {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

#attivita .griglia .card {
  width: 100%;
  min-width: 0;
  min-height: 230px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* SMARTPHONE */

@media (max-width: 768px) {
  #attivita .griglia {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   LE NOSTRE AREE - VERSIONE PREMIUM
========================================= */

#attivita h2 {
  color: #ffffff;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -1px;
  margin-bottom: 38px;
  position: relative;
}

#attivita h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin-top: 14px;
  border-radius: 20px;
  background: linear-gradient(90deg, #b5121f, #ff3b4a);
}

#attivita .griglia {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* CARD */

#attivita .card {
  position: relative;
  min-height: 330px;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0;
  text-decoration: none;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);

  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

/* overlay premium più cinematografico */
#attivita .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(4, 4, 5, 0.88) 0%,
      rgba(4, 4, 5, 0.55) 38%,
      rgba(4, 4, 5, 0.18) 68%,
      rgba(4, 4, 5, 0.05) 100%
    );
  z-index: 1;
}

/* luce soft sopra */
#attivita .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.10),
      transparent 30%
    );
  z-index: 1;
  pointer-events: none;
}

#attivita .card:hover {
  transform: translateY(-10px) scale(1.015);
  border-color: rgba(220, 30, 45, 0.35);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.36);
}

/* contenuto interno */
.card-contenuto {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.card-etichetta {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
}

.card-contenuto h3 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.8px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-testo {
  margin: 14px 0 0;
  max-width: 80%;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.card-freccia {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #d61e2f, #8d0f19);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;

  box-shadow: 0 10px 25px rgba(214, 30, 47, 0.28);
}

/* immagini */
.card-cineteatro {
  background-image: url("LE NOSTRE AREE/cineteatro-card.jpg");
}

.card-selezioni {
  background-image: url("LE NOSTRE AREE/selezioni-talenti.jpg");
}

.card-abi {
  background-image: url("LE NOSTRE AREE/artist-booking-italia.jpg");
}

/* mobile */
@media (max-width: 900px) {
  #attivita .griglia {
    grid-template-columns: 1fr;
  }

  #attivita .card {
    min-height: 300px;
  }

  .card-contenuto h3 {
    font-size: 24px;
  }

  .card-testo {
    max-width: 100%;
  }
}

/* CENTRATURA MODERNA TESTI DELLE TRE AREE */

#attivita .griglia .card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* CENTRA ANCHE LE DESCRIZIONI */

#attivita .card .card-contenuto {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

/* TITOLI BIANCHI E MODERNI */

#attivita .card > span,
#attivita .card .card-contenuto h3 {
  position: relative;
  z-index: 3;
  color: #ffffff;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

/* DESCRIZIONE CENTRATA */

#attivita .card .card-testo {
  text-align: center;
  max-width: 90%;
  margin: 12px auto 0;
}

/* =========================================
   SERPICO PRODUCTION
   CHI SIAMO - LUXURY EDITORIAL
========================================= */

#chisiamo.about-premium {
  position: relative;
  padding: 110px 9%;
  min-height: auto;
  background: #090d0f;
  overflow: hidden;
  isolation: isolate;
}

/* CONTENITORE */

#chisiamo .about-container {
  max-width: 1350px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: clamp(45px, 7vw, 115px);
}

/* TESTI */

#chisiamo .about-copy {
  min-width: 0;
}


/* LA NOSTRA IDENTITÀ - CENTRATA */

#chisiamo .about-label {
  display: block;
  width: 100%;
  margin: 0 0 30px;

  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
}

/* VERSIONE SMARTPHONE */

@media (max-width: 768px) {
  #chisiamo .about-label {
    font-size: 16px;
    letter-spacing: 2px;
  }
}



#chisiamo .about-title {
  color: #ffffff;
  font-size: clamp(48px, 5.5vw, 78px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 0;
}

#chisiamo .about-title span {
  color: #c51d2c;
}

#chisiamo .about-line {
  width: 65px;
  height: 3px;
  margin: 30px 0;
  background: #c51d2c;
  border-radius: 10px;
}

/* PRESENTAZIONE */

#chisiamo .about-lead {
  max-width: 670px;
  color: #ffffff;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 25px;
}

#chisiamo .about-description {
  max-width: 700px;
  color: #aeb5b7;
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 20px;
}

#chisiamo .about-description strong {
  color: #ffffff;
  font-weight: 700;
}

/* IL TEAM */

#chisiamo .about-team {
  display: flex;
  gap: 22px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

#chisiamo .about-team-line {
  width: 3px;
  flex-shrink: 0;
  background: #c51d2c;
  border-radius: 10px;
}

#chisiamo .about-team h3 {
  font-size: 21px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 12px;
}

#chisiamo .about-team p {
  color: #aeb5b7;
  font-size: 15px;
  line-height: 1.8;
}

/* FOTOGRAFIA PRESIDENTE */

#chisiamo .about-portrait {
  width: 100%;
  max-width: 340px;
  margin: 0;
  justify-self: end;
}

#chisiamo .about-image-wrap {
  position: relative;
  overflow: hidden;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.15);

  box-shadow: 0 25px 65px rgba(0,0,0,0.35);
}

#chisiamo .about-image-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;

  object-fit: cover;
  object-position: center;

  transition: transform 0.7s ease;
}

#chisiamo .about-portrait:hover img {
  transform: scale(1.035);
}

/* NOME SOTTO LA FOTO */

#chisiamo .about-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 22px;
}

#chisiamo .about-caption strong {
  display: block;
  font-size: 21px;
  color: #ffffff;
}

#chisiamo .about-caption span:not(.about-symbol) {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #aeb5b7;
}

#chisiamo .about-symbol {
  color: #d72c3c;
  font-size: 29px;
}

/* VERSIONE SMARTPHONE */

@media (max-width: 850px) {

  #chisiamo.about-premium {
    padding: 80px 7%;
  }

  #chisiamo .about-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  #chisiamo .about-portrait {
    justify-self: center;
    width: 100%;
    max-width: 300px;
  }

  #chisiamo .about-lead {
    font-size: 21px;
  }

  #chisiamo .about-description {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #chisiamo .about-image-wrap img {
    transition: none;
  }

  #chisiamo .about-portrait:hover img {
    transform: none;
  }
}

/* =====================================
   SERPICO - BORDI PREMIUM CINEMATOGRAFICI
===================================== */

#attivita .card {
  border: 1px solid rgba(215, 220, 225, 0.35);
  border-radius: 22px;

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 14px 38px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);

  transition:
    transform 0.45s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* EFFETTO PREMIUM AL PASSAGGIO DEL MOUSE */

#attivita .card:hover {
  border-color: rgba(230, 45, 58, 0.85);

  box-shadow:
    0 0 0 1px rgba(230, 45, 58, 0.30),
    0 0 25px rgba(190, 20, 35, 0.18),
    0 22px 55px rgba(0, 0, 0, 0.45);
}

/* BORDO LUMINOSO SUPERIORE */

#attivita .card {
  background-clip: padding-box;
}

/* =====================================
   SERPICO PRODUCTION - FOOTER PREMIUM
===================================== */

.footer-premium {
  background:
    radial-gradient(
      ellipse at 15% 20%,
      rgba(180, 22, 35, 0.09),
      transparent 45%
    ),
    #090d0f;

  border-top: 1px solid #ffffff20;
  padding: 90px 9% 25px;
  color: #ffffff;
  text-align: left;
}

/* STRUTTURA */

.footer-contenitore {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 55px;
  max-width: 1450px;
  margin: auto;
  align-items: start;
}

/* BRAND */

.footer-brand {
  max-width: 420px;
}

.footer-etichetta {
  display: block;
  color: #e23645;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

.footer-brand h2 {
  color: #ffffff;
  font-size: clamp(35px, 4vw, 53px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.footer-brand h2 span {
  color: #d12535;
}

.footer-brand p {
  color: #aab2b5;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
}

/* PULSANTE */

.footer-pulsante {
  display: inline-flex;
  align-items: center;
  padding: 14px 23px;
  border-radius: 50px;

  background: #b71929;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;

  transition: all 0.3s ease;
}

.footer-pulsante:hover {
  background: #e02b3d;
  transform: translateY(-3px);
}

/* COLONNE */

.footer-colonna {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-colonna h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 13px;
}

.footer-colonna a,
.footer-colonna p,
.footer-colonna span {
  color: #aab2b5;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-colonna a {
  transition: color 0.3s ease;
}

.footer-colonna a:hover {
  color: #e23645;
}

/* BARRA INFERIORE */

.footer-finale {
  max-width: 1450px;
  margin: 85px auto 0;
  padding-top: 26px;

  border-top: 1px solid #ffffff20;

  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-finale span {
  font-size: 12px;
  color: #7e898d;
}

/* VERSIONE TABLET */

@media (max-width: 1100px) {
  .footer-contenitore {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
  }
}

/* VERSIONE SMARTPHONE */

@media (max-width: 650px) {
  .footer-premium {
    padding: 65px 7% 25px;
  }

  .footer-contenitore {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand h2 {
    font-size: 38px;
  }

  .footer-finale {
    margin-top: 60px;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-pulsante {
    transition: none;
  }

  .footer-pulsante:hover {
    transform: none;
  }
}


/* =====================================
   SERPICO PRODUCTION - FOOTER PREMIUM
===================================== */

.footer-premium {
  background:
    radial-gradient(
      ellipse at 15% 20%,
      rgba(180, 22, 35, 0.09),
      transparent 45%
    ),
    #090d0f;

  border-top: 1px solid #ffffff20;
  padding: 90px 9% 25px;
  color: #ffffff;
  text-align: left;
}

/* STRUTTURA */

.footer-contenitore {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 55px;
  max-width: 1450px;
  margin: auto;
  align-items: start;
}

/* BRAND */

.footer-brand {
  max-width: 420px;
}

.footer-etichetta {
  display: block;
  color: #e23645;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 22px;
}

.footer-brand h2 {
  color: #ffffff;
  font-size: clamp(35px, 4vw, 53px);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.footer-brand h2 span {
  color: #d12535;
}

.footer-brand p {
  color: #aab2b5;
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 30px;
}

/* PULSANTE */

.footer-pulsante {
  display: inline-flex;
  align-items: center;
  padding: 14px 23px;
  border-radius: 50px;

  background: #b71929;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;

  transition: all 0.3s ease;
}

.footer-pulsante:hover {
  background: #e02b3d;
  transform: translateY(-3px);
}

/* COLONNE */

.footer-colonna {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.footer-colonna h3 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 13px;
}

.footer-colonna a,
.footer-colonna p,
.footer-colonna span {
  color: #aab2b5;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.footer-colonna a {
  transition: color 0.3s ease;
}

.footer-colonna a:hover {
  color: #e23645;
}

/* BARRA INFERIORE */

.footer-finale {
  max-width: 1450px;
  margin: 85px auto 0;
  padding-top: 26px;

  border-top: 1px solid #ffffff20;

  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-finale span {
  font-size: 12px;
  color: #7e898d;
}

/* VERSIONE TABLET */

@media (max-width: 1100px) {
  .footer-contenitore {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px;
  }
}

/* VERSIONE SMARTPHONE */

@media (max-width: 650px) {
  .footer-premium {
    padding: 65px 7% 25px;
  }

  .footer-contenitore {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand h2 {
    font-size: 38px;
  }

  .footer-finale {
    margin-top: 60px;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-pulsante {
    transition: none;
  }

  .footer-pulsante:hover {
    transform: none;
  }
}

/* =====================================
   SERPICO - CINEMATIC LUXURY HOMEPAGE
===================================== */

.hero.hero-cinema {
  position: relative;
  isolation: isolate;
  display: block;
  min-height: 85vh;
  padding: 115px 8% 85px;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 77% 48%,
      rgba(140, 18, 30, 0.20),
      transparent 48%
    ),
    linear-gradient(
      120deg,
      #050608 0%,
      #101316 55%,
      #08090b 100%
    );

  border-bottom: 1px solid #ffffff17;
}

/* LUCE CINEMATOGRAFICA */

.hero.hero-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at 72% 40%,
      rgba(230, 35, 50, 0.10),
      transparent 42%
    );
}

/* SOTTILE LINEA ROSSA FINALE */

.hero.hero-cinema::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 2px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 1;

  background: linear-gradient(
    90deg,
    transparent,
    #a81727,
    transparent
  );
}

/* SCRITTA SUPERIORE */

.hero.hero-cinema .sottotitolo {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 20px;
  z-index: 3;

  text-align: center;
  color: #dddddd;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 4px;

  animation: cinemaApparizione 1s ease both;
}

/* STRUTTURA A DUE COLONNE */

.hero-cinema-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1450px;
  min-height: 55vh;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

/* PRESENTAZIONE */

.hero.hero-cinema .hero-content {
  max-width: 780px;
  min-width: 0;
  animation: cinemaApparizione 1.2s ease both;
}

.hero.hero-cinema .cinema-etichetta {
  margin: 0 0 23px;
  color: #e53b49;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

/* TITOLO PRINCIPALE */

.hero.hero-cinema h1 {
  margin: 0;
  color: #ffffff;

  font-size: clamp(52px, 6.7vw, 100px);
  font-weight: 850;
  line-height: 1.04;
  letter-spacing: -3px;
}

.hero.hero-cinema h1 span {
  color: #c51729;
}

/* DESCRIZIONE */

.hero.hero-cinema .cinema-descrizione {
  margin: 27px 0 0;
  color: #b5b9bc;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

/* PULSANTE CINEMATOGRAFICO */

.hero.hero-cinema .cinema-pulsante {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  margin-top: 38px;
  padding: 18px 30px;

  min-width: 290px;

  background: linear-gradient(
    180deg,
    #c61d2e 0%,
    #a51423 52%,
    #7f0e19 100%
  );

  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;

  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.28),
    0 8px 18px rgba(125, 10, 24, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.22);

  transition:
    transform 0.30s ease,
    box-shadow 0.30s ease,
    border-color 0.30s ease,
    filter 0.30s ease;
}.hero.hero-cinema .cinema-pulsante::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.16) 0%,
    rgba(255,255,255,0.05) 28%,
    rgba(255,255,255,0) 55%
  );

  pointer-events: none;
}

.hero.hero-cinema .cinema-pulsante:hover {
  color: #ffffff;
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(255, 255, 255, 0.22);

  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.34),
    0 10px 22px rgba(150, 18, 32, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25);

  filter: brightness(1.05);
}

/* LOGO A DESTRA */

.hero.hero-cinema .cinema-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero.hero-cinema .cinema-visual::before {
  content: "";
  position: absolute;

  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;

  background: rgba(180, 20, 35, 0.12);
  filter: blur(75px);

  pointer-events: none;
}

.hero.hero-cinema .hero-logo {
  position: relative;
  display: block;

  width: min(100%, 490px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 1;

  mix-blend-mode: screen;

  filter:
    drop-shadow(0 25px 45px rgba(0,0,0,0.35));

  animation:
    cinemaLogoEntrata 1.4s ease both,
    cinemaLogoFloat 7s ease-in-out 1.5s infinite;
}

/* DETTAGLI INFERIORI */

.cinema-bottom {
  position: relative;
  z-index: 2;

  max-width: 1450px;
  margin: 35px auto 0;

  display: flex;
  justify-content: space-between;
  gap: 20px;

  color: #757b80;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
}

/* ANIMAZIONI */

@keyframes cinemaApparizione {
  from {
    opacity: 0;
    transform: translateY(45px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cinemaLogoEntrata {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.88)
      rotateY(-12deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
      rotateY(0deg);
  }
}

@keyframes cinemaLogoFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* SMARTPHONE */

@media (max-width: 850px) {

  .hero.hero-cinema {
    padding: 115px 7% 45px;
  }

  .hero-cinema-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: auto;
  }

  .hero.hero-cinema h1 {
    font-size: clamp(45px, 10vw, 75px);
    letter-spacing: -2px;
  }

  .hero.hero-cinema .sottotitolo {
    top: 35px;
    font-size: 12px;
    letter-spacing: 1.5px;
  }

  .hero.hero-cinema .hero-logo {
    width: min(75vw, 350px);
  }

  .cinema-bottom {
    font-size: 9px;
    letter-spacing: 1px;
  }
}

/* ACCESSIBILITÀ */

@media (prefers-reduced-motion: reduce) {
  .hero.hero-cinema .hero-content,
  .hero.hero-cinema .hero-logo,
  .hero.hero-cinema .sottotitolo {
    animation: none;
  }

  .hero.hero-cinema .cinema-pulsante {
    transition: none;
  }

  .hero.hero-cinema .cinema-pulsante:hover {
    transform: none;
  }
}
.hero.hero-cinema .cinema-pulsante span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.12);

  font-size: 12px;
  line-height: 1;
}

/* FOTO OSTIA SULLO SFONDO DI CHI SIAMO */

#chisiamo.about-premium::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("ostia.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Trasparenza fotografica */
  opacity: 0.28;

  z-index: 0;
  pointer-events: none;
}

/* TESTI E FOTO PRESIDENTE IN PRIMO PIANO */

#chisiamo .about-container {
  position: relative;
  z-index: 1;
}

/* =====================================
   SERPICO PRODUCTION
   NAVBAR LUXURY CINEMA 2026
===================================== */

header.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  flex-direction: row;
  gap: 24px;

  width: 100%;
  min-height: 88px;
  padding: 16px 7%;

  background: rgba(8, 10, 13, 0.96);
  backdrop-filter: blur(24px);

  border-bottom: 1px solid rgba(255,255,255,0.09);
  box-shadow: 0 12px 35px rgba(0,0,0,0.18);
}

/* LINEA CINEMATOGRAFICA SOTTO LA BARRA */

header.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent 10%,
    rgba(200,32,46,0.45) 50%,
    transparent 90%
  );

  pointer-events: none;
}

/* LOGO TESTUALE */

header.navbar .logo {
  position: relative;
  justify-self: start;

  color: #d52a39;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 2px;
  white-space: nowrap;

  transition: opacity 0.3s ease;
}

header.navbar .logo span {
  color: #eeeeee;
  font-weight: 400;
}

header.navbar .logo:hover {
  opacity: 0.75;
}

/* MENU CENTRALE SENZA CAPSULA */

header.navbar nav {
  position: static;
  left: auto;
  transform: none;

  grid-column: 2;
  justify-self: center;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;

  width: auto;
  max-width: 100%;
  padding: 0;
  margin: 0;

  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

/* COLLEGAMENTI */

header.navbar nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 13px 3px;
  border-radius: 0;

  background: transparent;
  color: #d0d2d5;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;

  box-shadow: none;
  transform: none;

  transition: color 0.3s ease;
}

/* LINEA ROSSA ANIMATA SOTTO OGNI VOCE */

header.navbar nav a::after {
  content: "";
  position: absolute;

  bottom: 4px;
  left: 50%;

  width: 0;
  height: 2px;
  border-radius: 3px;

  background: #d32338;

  transform: translateX(-50%);

  transition: width 0.35s ease;
}

/* HOVER ELEGANTE */

header.navbar nav a:hover,
header.navbar nav a:focus-visible {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  transform: none;
}

header.navbar nav a:hover::after,
header.navbar nav a:focus-visible::after {
  width: 75%;
}

/* EVENTUALE VOCE ATTIVA */

header.navbar nav a.active,
header.navbar nav a[aria-current="page"] {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
}

header.navbar nav a.active::after,
header.navbar nav a[aria-current="page"]::after {
  width: 75%;
}

/* TABLET */

@media (max-width: 1100px) {
  header.navbar {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  header.navbar .logo {
    justify-self: center;
  }

  header.navbar nav {
    grid-column: 1;
    justify-self: center;
    gap: 18px;
  }
}

/* SMARTPHONE */

@media (max-width: 600px) {
  header.navbar {
    padding: 15px 5%;
  }

  header.navbar .logo {
    font-size: 17px;
  }

  header.navbar nav {
    width: 100%;
    gap: 8px 17px;
  }

  header.navbar nav a {
    padding: 10px 2px;
    font-size: 12px;
  }

  html {
    scroll-padding-top: 145px;
  }
}

/* RIDUZIONE MOVIMENTO */

@media (prefers-reduced-motion: reduce) {
  header.navbar .logo,
  header.navbar nav a,
  header.navbar nav a::after {
    transition: none;
  }
}
