/*!
 * Peraria Supporting Events - custom.css
 * Unico file di personalizzazione, caricato DOPO bootstrap.min.css e main.css (template Concept).
 *
 * PALETTE (da perariasupportingevents.com)
 *   --pse-primary      #0c7ec3  blu brand (link, titoli, bottoni sul sito attuale; blu del logo)
 *   --pse-primary-aa   #0a6ba8  blu brand scurito: testo/bottoni su bianco (contrasto 5.7:1, AA)
 *   --pse-primary-dark #20638f  hover, bordi
 *   --pse-primary-soft #5d96c5  azzurro chiaro (effetti hover dei riquadri)
 *   --pse-text         #6d6e70  testo corrente (5.1:1 su bianco)
 *   --pse-ink          #1a1a1a  titoli, footer, top bar
 *   --pse-light        #f4f4f4  sfondi alternati
 *
 * Il template non ha variabili SCSS ne' file "skin": i colori sono scritti a mano in main.css.
 * Per cambiare i colori basta modificare le variabili qui sotto (:root).
 *
 * TIPOGRAFIA: Inter (variabile, self-hosted) - alternativa libera a SF Pro Display di peraria.com.
 */

/* ---------- Font ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Variabili ---------- */
:root {
  --pse-primary: #0c7ec3;
  --pse-primary-aa: #0a6ba8;
  --pse-primary-dark: #20638f;
  --pse-primary-soft: #5d96c5;
  --pse-text: #6d6e70;
  --pse-ink: #1a1a1a;
  --pse-light: #f4f4f4;
  --pse-font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  --pse-topbar-h: 38px;
  --pse-gutter: clamp(20px, 5vw, 90px);
}

/* ---------- Base ---------- */
img { max-width: 100%; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--pse-font);
  font-weight: 400;
  color: var(--pse-text);
  letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--pse-font);
  color: var(--pse-ink);
  letter-spacing: -0.02em;
}
a { color: var(--pse-primary-aa); }
a:hover { color: var(--pse-primary-dark); }

.sr-only-focusable:focus,
/* main.css imposta "outline: none !important" su a/:focus: qui serve !important per rendere visibile il focus */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--pse-primary-soft) !important;
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000;
  background: #fff; color: var(--pse-ink); padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

.eyebrow {
  display: block;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pse-primary-aa);
}

/* Bottoni (stile peraria.com: quadrati, maiuscoli) */
.btn.btn-pse, .btn.btn-pse-ghost, .btn.btn-pse-light {
  border-radius: 0;
  font-family: var(--pse-font);
  font-size: 14px !important; /* main.css: .btn { font-size: 12px !important } */
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 30px;
  border-width: 2px;
  border-style: solid;
}
a.btn.btn-pse,
button.btn.btn-pse { background: var(--pse-primary-aa); border-color: var(--pse-primary-aa); color: #fff; }
a.btn.btn-pse:hover,
button.btn.btn-pse:hover,
a.btn.btn-pse:focus,
button.btn.btn-pse:focus { background: var(--pse-primary-dark); border-color: var(--pse-primary-dark); color: #fff; }
a.btn.btn-pse-ghost,
button.btn.btn-pse-ghost { background: transparent; border-color: #fff; color: #fff; }
a.btn.btn-pse-ghost:hover,
button.btn.btn-pse-ghost:hover,
a.btn.btn-pse-ghost:focus,
button.btn.btn-pse-ghost:focus { background: #fff; color: var(--pse-ink); }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1031;
  height: var(--pse-topbar-h);
  background: var(--pse-ink);
  color: #fff;
  font-size: 13px;
  line-height: var(--pse-topbar-h);
  transition: transform 0.35s ease;
}
.topbar a { color: #fff; opacity: 0.9; }
.topbar a:hover { color: #fff; opacity: 1; text-decoration: underline; }
.topbar .container { width: 100%; max-width: none; padding: 0 var(--pse-gutter); display: flex; justify-content: space-between; align-items: center; }
.topbar .container::before, .topbar .container::after { display: none; }
.topbar-contacts a { margin-right: 22px; white-space: nowrap; }
.topbar-contacts i { margin-right: 6px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-lang { font-weight: 700; letter-spacing: 0.08em; }
.topbar-lang [aria-current] { text-decoration: underline; }
.topbar-social a { display: inline-block; width: 28px; text-align: center; font-size: 15px; }
body.is-scrolled .topbar { transform: translateY(-100%); }

/* ---------- Header ---------- */
.navbar-custom.navbar-pse {
  top: var(--pse-topbar-h);
  padding: 12px var(--pse-gutter);
  font-family: var(--pse-font);
  transition: top 0.35s ease, padding 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}
.navbar-pse .container { width: 100%; max-width: none; padding: 0; }
/* main.css fissa .top-nav-collapse .container a 1170px (!important): qui il header resta a tutta larghezza */
@media (min-width: 1200px) { .navbar-pse.top-nav-collapse .container { width: 100% !important; } }
.navbar-custom.navbar-pse .navbar-brand { padding: 0; height: auto; margin: 0; }
.navbar-pse .navbar-brand img { height: 68px; width: auto; transition: height 0.35s ease; }
/* main.css (>=991px): .navbar-custom.top-nav-collapse { padding: 0 !important } -> serve !important */
.navbar-custom.navbar-pse.top-nav-collapse { top: 0; padding: 4px var(--pse-gutter) !important; box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1); }
.navbar-pse.top-nav-collapse .navbar-brand img { height: 46px; }
.navbar-pse .nav > li > a {
  font-family: var(--pse-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 24px 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.navbar-custom.navbar-pse.top-nav-collapse .nav > li > a { text-shadow: none; padding-top: 16px; padding-bottom: 16px; }
.navbar-pse .nav > li > a:hover,
.navbar-pse .nav > li > a:focus { text-decoration: underline; text-underline-offset: 6px; }
/* main.css: .navbar-custom .nav li.active a { color: #789 !important } -> serve !important anche qui */
.navbar-custom.navbar-pse .nav li.active a { color: #fff !important; text-decoration: underline; text-underline-offset: 6px; }
.navbar-custom.navbar-pse.top-nav-collapse .nav li.active a { color: var(--pse-primary-aa) !important; }
.navbar-pse .navbar-toggle { border: 0; margin: 14px 0; }
.navbar-pse .navbar-toggle .icon-bar { background: #fff; width: 28px; height: 3px; }
.navbar-pse.top-nav-collapse .navbar-toggle .icon-bar { background: var(--pse-ink); }

/* Fino a 991px il template mostra il menu hamburger: header sempre pieno e leggibile */
@media (max-width: 991px) {
  .navbar-custom.navbar-pse, .navbar-custom.navbar-pse.top-nav-collapse { padding: 6px 24px !important; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
  .navbar-pse .navbar-brand img, .navbar-pse.top-nav-collapse .navbar-brand img { height: 48px; }
  /* Bootstrap: .container > .navbar-header ha margine -15px, che porta logo e hamburger a filo schermo */
  .navbar-pse .navbar-header { margin-left: 0; margin-right: 0; }
  .navbar-pse .navbar-toggle .icon-bar { background: var(--pse-ink); }
  .navbar-pse .navbar-collapse { border-top: 1px solid #eee; max-height: calc(100vh - 64px); overflow-y: auto; padding: 0; box-shadow: none; }
  .navbar-pse .navbar-nav { margin: 0; float: none; }
  .navbar-pse .navbar-nav > li { float: none; }
  .navbar-custom.navbar-pse .nav > li > a,
  .navbar-custom.navbar-pse.top-nav-collapse .nav > li > a { color: var(--pse-ink); text-shadow: none; padding: 14px 4px; font-size: 15px; min-height: 48px; }
  .navbar-custom.navbar-pse .nav li.active a,
  .navbar-custom.navbar-pse.top-nav-collapse .nav li.active a { color: var(--pse-primary-aa) !important; }
  .hero .carousel-control { display: none; }
}
@media (max-width: 767px) {
  :root { --pse-topbar-h: 0px; }
  .topbar { display: none; }
  .navbar-custom.navbar-pse { top: 0; }
  .navbar-pse .navbar-brand img, .navbar-pse.top-nav-collapse .navbar-brand img { height: 44px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding: 0; background: var(--pse-ink); }
.hero .carousel-inner > .item { height: 100vh; min-height: 560px; max-height: 920px; }
.hero .hero-slide { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow: hidden; }
.hero .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
/* Una sola foto ad alta risoluzione disponibile: inquadrature diverse per le 5 slide */
.hero .hero-slide img.pos-a { object-position: 15% 50%; }
.hero .hero-slide img.pos-b { object-position: 85% 50%; }
.hero .hero-slide img.pos-c { object-position: 50% 20%; }
.hero .hero-slide img.pos-d { object-position: 50% 80%; }
.hero .hero-slide::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0.68) 100%);
}
.hero .hero-caption {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--pse-topbar-h) + 110px) var(--pse-gutter) 90px;
  max-width: 1100px;
  text-align: left;
}
.hero .hero-caption h2 {
  color: #fff; margin: 0 0 14px;
  font-size: clamp(32px, 5.2vw, 64px); line-height: 1.05; font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.01em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.hero .hero-caption h3 {
  color: #fff; margin: 0 0 34px; font-weight: 400;
  font-size: clamp(18px, 2.2vw, 26px); letter-spacing: 0;
}
.hero .hero-caption .btn { align-self: flex-start; }
.hero .carousel-control { width: 64px; background: none; opacity: 0.9; text-shadow: none; z-index: 3; }
.hero .carousel-control .fa { position: absolute; top: 50%; margin-top: -14px; left: 50%; margin-left: -9px; font-size: 28px; color: #fff; }
.hero .carousel-control:hover, .hero .carousel-control:focus { opacity: 1; }
.hero .carousel-indicators { bottom: 34px; z-index: 3; }
.hero .carousel-indicators li {
  width: 42px; height: 4px; margin: 0 5px; border: 0; border-radius: 0;
  background: rgba(255, 255, 255, 0.5); cursor: pointer;
}
.hero .carousel-indicators li.active { width: 42px; height: 4px; margin: 0 5px; background: #fff; }
@media (max-width: 767px) {
  .hero .carousel-inner > .item { height: 92vh; min-height: 520px; }
  .hero .hero-caption { padding: 110px 24px 90px; }
  .hero .carousel-indicators { left: 24px; right: 24px; width: auto; margin-left: 0; text-align: left; }
  .hero .carousel-indicators li, .hero .carousel-indicators li.active { width: 28px; margin: 0 4px 0 0; }
}


/* ---------- Sezioni ---------- */
section.section-pse { padding: 110px 0; z-index: 1; background: #fff; }
section.section-pse.section-light { background: var(--pse-light); }
.section-pse .container { width: 100%; max-width: 1530px; padding: 0 max(15px, calc(var(--pse-gutter) - 15px)); } /* min 15px: i .row/.split hanno margine -15px, con meno padding la pagina scorre in orizzontale */
.statement { font-size: clamp(28px, 3.6vw, 48px); line-height: 1.15; font-weight: 500; letter-spacing: -0.025em; color: var(--pse-ink); margin: 0 0 28px; }
.statement.statement-sm { font-size: clamp(26px, 3vw, 38px); margin-bottom: 28px; }
.lead-text { font-size: 18px; line-height: 1.7; max-width: 760px; margin: 0 0 36px; }
@media (max-width: 767px) { section.section-pse { padding: 70px 0; } }

/* Video: poster + play, iframe solo al click */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; background: #000; overflow: hidden; }
.video-wrap iframe, .video-poster { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.video-poster { padding: 0; background: #000; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: transform 0.6s ease, opacity 0.3s ease; }
.video-poster:hover img, .video-poster:focus-visible img { transform: scale(1.03); opacity: 1; }
.video-play { position: absolute; bottom: 24px; left: 24px; width: 68px; height: 68px; border-radius: 50%; background: var(--pse-primary-aa); color: #fff; font-size: 24px; line-height: 68px; text-align: center; padding-left: 4px; transition: transform 0.3s ease, background 0.3s ease; }
.video-poster:hover .video-play, .video-poster:focus-visible .video-play { background: var(--pse-primary-dark); transform: scale(1.08); }

/* Realizzazioni: griglia 3 colonne, 15 celle (Allestimenti 2x2, Musei & Mostre 2x1, 9 riquadri 1x1) */
.tiles-wrap { padding: 0 var(--pse-gutter); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 270px; gap: 16px; max-width: 1500px; margin: 0 auto; }
.tile { position: relative; display: block; overflow: hidden; background: var(--pse-ink); color: #fff; }
.tile.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile.tile-wide { grid-column: span 2; }
.tile img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.tile::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.78) 100%); transition: background 0.4s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:hover::after, .tile:focus-visible::after { background: linear-gradient(180deg, rgba(32, 99, 143, 0.15) 0%, rgba(32, 99, 143, 0.82) 100%); }
.tile, .tile:hover, .tile:focus { color: #fff; }
.tile-body { text-align: left; position: absolute; z-index: 2; left: 26px; right: 76px; bottom: 24px; }
.tile-title { display: block; font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.tile.tile-xl .tile-title { font-size: 34px; }
.tile-tag { display: block; margin-top: 4px; font-size: 15px; opacity: 0.95; }
.tile-arrow { position: absolute; z-index: 2; right: 22px; bottom: 22px; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 50%; font-size: 20px; line-height: 42px; text-align: center; transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.tile:hover .tile-arrow, .tile:focus-visible .tile-arrow { background: #fff; color: var(--pse-ink); transform: translate(2px, -2px); }
@media (max-width: 991px) {
  .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .tile.tile-xl, .tile.tile-wide { grid-column: span 2; }
  .tile.tile-xl { grid-row: span 1; }
}
@media (max-width: 575px) {
  .tiles { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile.tile-xl, .tile.tile-wide { grid-column: span 1; }
  .tile-title, .tile.tile-xl .tile-title { font-size: 22px; }
}

/* News */
.news-card { background: #fff; margin-bottom: 30px; height: calc(100% - 30px); }
.news-img { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--pse-ink); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 24px 26px 28px; }
.news-body time { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--pse-primary-aa); }
.news-body h3 { font-size: 22px; line-height: 1.25; margin: 0 0 18px; }
.news-body h3 a { color: var(--pse-ink); }
.news-body h3 a:hover { color: var(--pse-primary-aa); }
.news-more { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
#news .row + .row { margin-top: 20px; }

/* ---------- Footer ---------- */
.footer-pse { background: var(--pse-ink); color: #cfd1d4; padding: 70px 0 0; font-size: 14.5px; line-height: 1.8; }
.footer-pse .container { width: 100%; max-width: none; padding: 0 max(15px, var(--pse-gutter)); }
.footer-pse h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; }
.footer-pse a { color: #fff; opacity: 0.85; }
.footer-pse a:hover { color: #fff; opacity: 1; text-decoration: underline; }
.footer-pse .footer-logo { width: 165px; height: auto; margin-bottom: 22px; }
.footer-pse address { font-style: normal; margin: 0 0 14px; }
.footer-pse ul { list-style: none; margin: 0; padding: 0; }
.footer-pse li a { display: inline-block; padding: 2px 0; }
.footer-pse .social a { display: inline-block; width: 44px; height: 44px; line-height: 44px; margin-right: 8px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.35); font-size: 17px; opacity: 1; }
.footer-pse .social a:hover { background: var(--pse-primary-aa); border-color: var(--pse-primary-aa); text-decoration: none; }
.footer-pse .col-md-4, .footer-pse .col-md-3, .footer-pse .col-md-5 { margin-bottom: 36px; }
.footer-pse .footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 22px 0; font-size: 13px; color: #b5b8bd; }
.footer-pse .footer-legal p { margin: 0; }
@media (max-width: 991px) { .footer-pse { text-align: left; } }

/* ---------- Animazioni: rispetto di prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .wow { visibility: visible !important; animation-name: none !important; }
}

/* =====================================================================
   PAGINE INTERNE (chi-siamo, servizi, realizzazioni, news, contatti, 404)
   Componenti condivisi: intestazione pagina, blocchi immagine+testo, fascia CTA
   ===================================================================== */

/* Intestazione pagina: foto + velo scuro (testo bianco, contrasto AA) */
.page-header {
  position: relative; overflow: hidden; background: var(--pse-ink); color: #fff;
  padding: calc(var(--pse-topbar-h) + 150px) 0 60px;
  min-height: 420px; display: flex; align-items: flex-end;
}
.page-header .page-header-img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.page-header .page-header-img img { width: 100%; height: 100%; object-fit: cover; }
.page-header::after {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.78) 100%);
}
.page-header .container { position: relative; z-index: 2; width: 100%; max-width: none; padding: 0 var(--pse-gutter); }
.page-header h1 {
  color: #fff; margin: 12px 0 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.05;
  font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}
.page-header .page-header-sub { color: #fff; margin: 14px 0 0; font-size: clamp(17px, 2vw, 24px); }
.page-breadcrumb { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.page-breadcrumb li { display: inline; }
.page-breadcrumb li + li::before { content: "/"; margin: 0 10px; opacity: 0.7; }
.page-breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.page-breadcrumb a:hover { color: #fff; opacity: 0.8; }
.page-breadcrumb .active { opacity: 0.9; }
@media (max-width: 767px) {
  .page-header { padding: 130px 0 40px; min-height: 340px; }
  .page-header .container { padding: 0 24px; }
}

/* Blocchi immagine + testo (alternati con .split-reverse) */
.split { display: flex; flex-wrap: wrap; align-items: center; margin: 0 -15px; }
.split > * { width: 50%; padding: 0 15px; }
.split .split-media { margin-bottom: 0; }
.split .split-media img { display: block; width: 100%; height: auto; }
.split .split-text { padding-top: 10px; padding-bottom: 10px; }
.split .split-text p { font-size: 17px; line-height: 1.75; margin: 0 0 18px; }
.split.split-reverse { flex-direction: row-reverse; }
.split .split-logo { display: block; width: 110px; height: auto; margin: 6px 0 22px; }
@media (min-width: 992px) { .split .split-text { padding: 10px 50px; } }
@media (max-width: 767px) {
  .split > * { width: 100%; }
  .split .split-media { margin-bottom: 28px; }
  .split.split-reverse { flex-direction: row; }
}
.section-pse .subhead { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; color: var(--pse-ink); margin: 0 0 18px; letter-spacing: -0.02em; }
.section-pse .stack > * + * { margin-top: 90px; }
@media (max-width: 767px) { .section-pse .stack > * + * { margin-top: 56px; } }

/* Elenco di etichette (tipologie di evento) */
.label-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.label-list li { border: 1px solid #c9cdd2; padding: 10px 18px; font-size: 15px; font-weight: 600; color: var(--pse-ink); background: #fff; }

/* Fascia finale con inviti all'azione */
section.section-pse.cta-band { background: var(--pse-primary-aa); color: #fff; padding: 80px 0; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -0.025em; margin: 0 0 12px; }
.cta-band p { color: #fff; font-size: 18px; margin: 0 0 30px; }
.cta-band .btn + .btn { margin-left: 12px; }
a.btn.btn-pse-light,
button.btn.btn-pse-light { background: #fff; border-color: #fff; color: var(--pse-ink); }
a.btn.btn-pse-light:hover,
button.btn.btn-pse-light:hover,
a.btn.btn-pse-light:focus,
button.btn.btn-pse-light:focus { background: transparent; color: #fff; }
@media (max-width: 575px) { .cta-band .btn { display: block; margin: 0 0 12px; } .cta-band .btn + .btn { margin-left: 0; } }

/* Elenco servizi (servizi.html): voci numerate con ancora */
.service-list { list-style: none; margin: 0; padding: 0; }
.service-item { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px 30px; padding: 34px 0; border-top: 1px solid #d9dce0; scroll-margin-top: 130px; }
.service-item:last-child { border-bottom: 1px solid #d9dce0; }
.service-item .service-num { font-size: 15px; font-weight: 700; letter-spacing: 0.14em; color: var(--pse-primary-aa); padding-top: 8px; }
.service-item h3 { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.service-item p { margin: 0; font-size: 17px; line-height: 1.7; }
@media (max-width: 767px) {
  .service-item { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; scroll-margin-top: 90px; }
  .service-item .service-num { padding-top: 0; }
}

/* Galleria settore (realizzazioni-*.html): colonne CSS, miniature + lightbox swipebox */
.gallery-wrap { padding: 0 var(--pse-gutter); max-width: 1500px; margin: 0 auto; box-sizing: content-box; }
.gallery { column-count: 3; column-gap: 16px; }
.gallery .gallery-item { display: block; position: relative; overflow: hidden; margin: 0 0 16px; break-inside: avoid; background: var(--pse-ink); }
.gallery .gallery-item img { display: block; width: 100%; height: auto; transition: transform 0.6s ease; }
.gallery .gallery-item:hover img, .gallery .gallery-item:focus-visible img { transform: scale(1.05); }
.gallery .gallery-item[hidden] { display: none; }
.gallery-more { text-align: center; margin-top: 30px; }
.gallery-count { margin: 18px 0 0; font-size: 14px; }
@media (max-width: 991px) { .gallery { column-count: 2; } }
@media (max-width: 479px) { .gallery { column-gap: 10px; } .gallery .gallery-item { margin-bottom: 10px; } }

/* Navigazione tra settori */
.sector-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #d9dce0; padding-top: 30px; }
.sector-nav a { font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.sector-nav .sector-nav-prev, .sector-nav .sector-nav-next { min-width: 0; max-width: 100%; }
.sector-nav .sector-nav-back { order: 0; }
.sector-placeholder img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; }

/* Contatore del lightbox */
#swipebox-counter { position: absolute; left: 20px; top: 0; line-height: 50px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: #fff; }

/* News: articolo, condivisione, paginazione */
.page-header.page-header-article h1 { text-transform: none; font-size: clamp(30px, 4vw, 52px); max-width: 1000px; }
.page-header .page-header-date { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body p { font-size: 19px; line-height: 1.75; max-width: 70ch; margin: 0 0 24px; }
.article-body .article-figure { margin: 36px 0; }
.article-body .article-figure img { display: block; width: 100%; height: auto; }
.article-body .article-figure a { display: block; overflow: hidden; }
.article-body .article-figure a img { transition: transform 0.6s ease; }
.article-body .article-figure a:hover img { transform: scale(1.03); }
.article-share { max-width: 760px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid #d9dce0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; font-size: 14px; }
.article-share strong { color: var(--pse-ink); text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px; }
.article-share a { font-weight: 700; }
.article-back { max-width: 760px; margin: 30px auto 0; }
.pagination-pse { text-align: center; margin-top: 30px; }
.pagination-pse .pagination > li > a, .pagination-pse .pagination > li > span { border-radius: 0; color: var(--pse-primary-aa); min-width: 44px; min-height: 44px; line-height: 30px; text-align: center; font-weight: 600; }
.pagination-pse .pagination > .active > a { background: var(--pse-primary-aa); border-color: var(--pse-primary-aa); color: #fff; }
.pagination-pse .pagination > .disabled > span { color: #767676; }

/* Contatti: dati, modulo, mappa a caricamento su richiesta */
.contact-details h3 { font-size: 22px; margin: 0 0 12px; }
.contact-details address, .contact-details p { font-style: normal; font-size: 17px; line-height: 1.75; margin: 0 0 22px; }
.contact-details a { font-weight: 600; }
.form-pse .form-group { margin-bottom: 22px; }
.form-pse label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--pse-ink); }
.form-pse .req { color: #b3261e; }
/* main.css forza border-radius: 50px !important su input/textarea e 6px su select */
.form-pse .form-control, .form-pse input.form-control, .form-pse textarea.form-control, .form-pse select.form-control {
  border-radius: 0 !important; height: auto; min-height: 48px; padding: 12px 14px; font-size: 16px; color: var(--pse-ink);
  border: 1px solid #8a8d91; box-shadow: none; background-color: #fff;
}
.form-pse textarea.form-control { min-height: 160px; resize: vertical; }
.form-pse .form-control:focus { border-color: var(--pse-primary-aa); box-shadow: 0 0 0 3px rgba(12, 126, 195, 0.25); }
.form-pse .form-control[aria-invalid="true"] { border-color: #b3261e; }
.form-pse .field-error { display: none; margin-top: 6px; font-size: 14px; font-weight: 600; color: #b3261e; }
.form-pse .has-error .field-error { display: block; }
.form-pse .check { display: flex; gap: 12px; align-items: flex-start; }
.form-pse .check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; }
.form-pse .check label { margin: 0; font-weight: 400; font-size: 15px; color: var(--pse-text); }
.form-status { margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--pse-primary-aa); background: var(--pse-light); color: var(--pse-ink); font-size: 16px; }
.form-status[hidden] { display: none; }
.map-box { position: relative; min-height: 380px; background: var(--pse-light); border: 1px solid #d9dce0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.map-box iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.map-box .map-actions .btn { margin: 6px; }
.map-box p { margin: 0 0 18px; color: var(--pse-ink); font-size: 17px; }
a.btn.btn-pse-outline,
button.btn.btn-pse-outline { background: transparent; border-color: var(--pse-primary-aa); color: var(--pse-primary-aa); }
a.btn.btn-pse-outline:hover,
button.btn.btn-pse-outline:hover,
a.btn.btn-pse-outline:focus,
button.btn.btn-pse-outline:focus { background: var(--pse-primary-aa); color: #fff; }
.btn.btn-pse-outline { border-radius: 0; font-size: 14px !important; font-weight: 700; letter-spacing: 0.1em; padding: 14px 30px; border-width: 2px; border-style: solid; }
.notfound-code { font-size: clamp(80px, 16vw, 200px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; color: var(--pse-primary-aa); margin: 0 0 10px; }
