/* ==========================================================================
   SISTEMA BILATERALE CONFAPI–FEDERMANAGER - LANDING PAGE STYLES
   Design moderno, bilanciato e raffinato per la bilateralità manageriale.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Palette Principale Corporate */
  --navy-950: #061524;
  --navy-900: #0a1f33;
  --navy-850: #0e273f;
  --navy-800: #13314f;
  --ink: #142838;
  --slate-dark: #334a5d;
  --slate: #475e72;
  --slate-light: #647d94;
  --paper: #f8fafc;
  --paper-tint: #f1f6fa;
  --border: #e2e8f0;
  --border-light: #edf2f7;

  /* Tonalità Istituzionali / Enti campionate dai Loghi Ufficiali */
  --c-previndapi: #30a048;
  --c-previndapi-hover: #25853b;
  --c-previndapi-bg: #eff8f1;
  --c-previndapi-border: #c0e8c8;
  --c-previndapi-glow: rgba(48, 160, 72, 0.22);

  --c-fasdapi: #2d72aa;
  --c-fasdapi-hover: #225885;
  --c-fasdapi-bg: #edf5fc;
  --c-fasdapi-border: #bddcf6;
  --c-fasdapi-glow: rgba(45, 114, 170, 0.22);

  --c-pmi: #c82d3b;
  --c-pmi-hover: #a61f2c;
  --c-pmi-bg: #fdf1f2;
  --c-pmi-border: #f8c8cc;
  --c-pmi-glow: rgba(200, 45, 59, 0.22);

  --c-idi: #023e7c;
  --c-idi-hover: #012c58;
  --c-idi-bg: #edf3fa;
  --c-idi-border: #bfd3ec;
  --c-idi-glow: rgba(2, 62, 124, 0.22);

  /* Colori di azione / CTA */
  --action-green: #146944;
  --action-green-hover: #0d4e32;
  --mint: #8ce6d3;
  --mint-light: #bbf3e7;
  --mint-glow: rgba(140, 230, 211, 0.4);

  /* Ombre diffuse e multistrato */
  --shadow-xs: 0 1px 2px rgba(11, 31, 51, 0.04);
  --shadow-sm: 0 2px 6px -1px rgba(11, 31, 51, 0.05), 0 1px 3px rgba(11, 31, 51, 0.03);
  --shadow-md: 0 8px 20px -3px rgba(11, 31, 51, 0.07), 0 3px 8px -1px rgba(11, 31, 51, 0.04);
  --shadow-lg: 0 18px 42px -6px rgba(11, 31, 51, 0.09), 0 6px 16px -2px rgba(11, 31, 51, 0.04);
  --shadow-xl: 0 28px 58px -12px rgba(11, 31, 51, 0.14), 0 10px 24px -4px rgba(11, 31, 51, 0.06);

  /* Transizioni */
  --tr-fast: 0.16s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-normal: 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  --tr-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Resets & Base Globals
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: #ffffff;
  line-height: 1.62;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  font-size: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

h1, h2, h3, p {
  margin: 0;
}

h1, h2, h3 {
  color: var(--navy-900);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 750;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
}

h3 {
  font-size: 1.45rem;
  font-weight: 750;
}

article, [id="enti"] {
  scroll-margin-top: 6rem;
}

:focus-visible {
  outline: 3px solid var(--action-green);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: min(100% - 44px, 1200px);
  margin-inline: auto;
}

.symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 750;
  color: var(--action-green);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Header / Top Navigation
   -------------------------------------------------------------------------- */
.top,
#inizio {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 4px rgba(11, 31, 51, 0.02);
  transition: box-shadow var(--tr-fast);
}

.top:hover {
  box-shadow: 0 4px 20px rgba(11, 31, 51, 0.05);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 340px;
  min-width: 0;
  transition: opacity var(--tr-fast);
}

.brand:hover {
  opacity: 0.88;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 100px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--ink);
  line-height: 1.35;
  text-align: right;
  box-shadow: var(--shadow-xs);
  transition: all var(--tr-fast);
}

.nav span {
  font-weight: 750;
  color: var(--navy-900);
}

.nav:hover {
  background: var(--paper-tint);
  border-color: var(--action-green);
  color: var(--action-green);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 50% at 5% -5%, rgba(0, 158, 212, 0.09), transparent 60%),
    radial-gradient(ellipse 65% 50% at 95% 20%, rgba(38, 156, 85, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 90%, rgba(34, 66, 137, 0.04), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  gap: 44px;
  align-items: center;
  padding-block: 58px 74px;
}

.slogan-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(20, 105, 68, 0.08);
  border: 1px solid rgba(20, 105, 68, 0.18);
  box-shadow: 0 2px 8px rgba(20, 105, 68, 0.06);
  margin-bottom: 22px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--action-green);
  box-shadow: 0 0 0 3px rgba(20, 105, 68, 0.2);
  flex-shrink: 0;
  animation: pulse-dot 2.4s infinite ease-in-out;
}

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

.hero .slogan {
  color: var(--action-green);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.hero h1 em {
  font-style: normal;
  color: #1e4592;
  background: linear-gradient(135deg, #1b3d84 0%, #0087b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .sub {
  color: var(--slate);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 54ch;
  margin: 22px 0 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-visual {
  position: relative;
  align-self: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(34, 66, 137, 0.12), rgba(0, 158, 212, 0.12), rgba(38, 156, 85, 0.12), rgba(217, 35, 66, 0.09));
  z-index: 0;
  filter: blur(16px);
  transform: translate3d(0, 10px, 0);
}

.hero-visual-frame {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #ffffff;
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-frame:hover img {
  transform: scale(1.025);
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--tr-normal);
  white-space: nowrap;
}

.btn-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--tr-fast);
}

.button:hover .btn-icon {
  transform: translateX(3px);
}

.button.outline:hover .btn-icon {
  transform: translate(2px, -2px);
}

.button.mint {
  background: var(--action-green);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 105, 68, 0.32);
}

.button.mint:hover {
  background: var(--action-green-hover);
  box-shadow: 0 8px 24px rgba(20, 105, 68, 0.4);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Stand Art Transition (Banner policromatico con onde bilanciate)
   -------------------------------------------------------------------------- */
.stand-art {
  height: clamp(100px, 13vw, 160px);
  background: #ffffff url("media/linee-stand.webp") center 60% / cover no-repeat;
  position: relative;
  opacity: 0.98;
}

.stand-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 40%, rgba(255, 255, 255, 0.8) 100%);
}

/* --------------------------------------------------------------------------
   Quick-Access Entity Logos (Navbar 4 Enti)
   -------------------------------------------------------------------------- */
.logo-row {
  position: relative;
  z-index: 10;
  margin-top: -52px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
  padding: 8px;
}

.logo-item {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 14px;
  background: #ffffff;
}

.logo-item:hover {
  background: #ffffff;
}

.logo-item img {
  width: 155px;
  max-height: 50px;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   Strategy Section
   -------------------------------------------------------------------------- */
.strategy {
  display: grid;
  gap: 36px;
  padding-block: 88px 60px;
}

.strategy-intro h2 {
  max-width: 18ch;
}

.strategy-text .lead {
  font-size: 1.25rem;
  font-weight: 650;
  line-height: 1.58;
  color: var(--navy-900);
  margin-bottom: 20px;
}

.strategy-text p:not(.lead) {
  font-size: 1.025rem;
  color: var(--slate);
  line-height: 1.74;
}

.benefits {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
  grid-column: 1 / -1;
}

.benefit-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--tr-normal);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--action-green), var(--mint));
  opacity: 0;
  transition: opacity var(--tr-fast);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 105, 68, 0.3);
  box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
  opacity: 1;
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--paper-tint);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  transition: background var(--tr-fast), border-color var(--tr-fast);
}

.benefit-card:hover .benefit-icon-box {
  background: rgba(20, 105, 68, 0.1);
  border-color: rgba(20, 105, 68, 0.22);
}

.benefit-icon-box svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--action-green);
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 750;
  color: var(--navy-900);
  margin-bottom: 10px;
  line-height: 1.35;
}

.benefit-card span {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   Institutional Video Section
   -------------------------------------------------------------------------- */
.video-wrap {
  padding-block: 28px 78px;
}

.video-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 48px 38px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 85% 30%, rgba(0, 158, 212, 0.22), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(20, 105, 68, 0.24), transparent 50%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-panel .eyebrow {
  color: var(--mint);
}

.video-panel h2 {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  max-width: 22ch;
  margin-bottom: 28px;
}

.video-panel .button.mint {
  background: var(--mint);
  color: var(--navy-950);
  box-shadow: 0 4px 18px rgba(140, 230, 211, 0.35);
}

.video-panel .button.mint:hover {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(140, 230, 211, 0.5);
  transform: translateY(-2px);
}

.play-symbol {
  font-size: 0.9rem;
  margin-right: 4px;
}

.video-mark {
  display: none;
}

.video-mark-pulse {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(140, 230, 211, 0.14);
  border: 1.5px solid rgba(140, 230, 211, 0.5);
  display: grid;
  place-items: center;
  color: var(--mint);
  font-size: 34px;
  box-shadow:
    0 0 0 16px rgba(140, 230, 211, 0.08),
    0 0 0 36px rgba(140, 230, 211, 0.04);
  animation: pulse-ring 3s infinite ease-out;
}

@keyframes pulse-ring {
  0% {
    box-shadow:
      0 0 0 0 rgba(140, 230, 211, 0.3),
      0 0 0 18px rgba(140, 230, 211, 0.12),
      0 0 0 36px rgba(140, 230, 211, 0.04);
  }
  50% {
    box-shadow:
      0 0 0 16px rgba(140, 230, 211, 0.2),
      0 0 0 32px rgba(140, 230, 211, 0.08),
      0 0 0 52px rgba(140, 230, 211, 0);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(140, 230, 211, 0.3),
      0 0 0 18px rgba(140, 230, 211, 0.12),
      0 0 0 36px rgba(140, 230, 211, 0.04);
  }
}

/* Dialog Video */
dialog {
  border: 0;
  border-radius: 22px;
  padding: 26px;
  color: var(--ink);
  background: #ffffff;
  width: min(760px, calc(100% - 32px));
  box-shadow: var(--shadow-xl);
}

dialog::backdrop {
  background: rgba(6, 20, 34, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.dialog-header h2 {
  font-size: 1.35rem;
}

.dialog-header button {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--paper-tint);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--slate);
  transition: all var(--tr-fast);
}

.dialog-header button:hover {
  background: var(--border);
  color: var(--navy-900);
}

#video-content p {
  padding: 44px 20px;
  text-align: center;
  color: var(--slate);
  background: var(--paper);
  border-radius: 14px;
  border: 1px dashed var(--border);
  font-weight: 500;
}

iframe {
  border: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  display: block;
}

/* --------------------------------------------------------------------------
   The 4 Entities Section (I 4 Enti del Sistema)
   -------------------------------------------------------------------------- */
.entities {
  background: var(--paper);
  padding-block: 84px 96px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.entities-header {
  text-align: center;
  margin-bottom: 42px;
}

.entities-header .eyebrow {
  margin-bottom: 8px;
}

.cards {
  display: grid;
  gap: 24px;
}

.card-entity {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal), border-color var(--tr-normal);
  overflow: hidden;
}

/* Striscia superiore colorata esattamente come i loghi */
.card-entity::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: height var(--tr-fast);
}

.card-previndapi::before { background: var(--c-previndapi); }
.card-fasdapi::before    { background: var(--c-fasdapi); }
.card-pmi::before        { background: var(--c-pmi); }
.card-idi::before        { background: var(--c-idi); }

.card-entity:hover {
  transform: translateY(-6px);
}

.card-previndapi:hover {
  border-color: var(--c-previndapi-border);
  box-shadow: 0 20px 45px -10px var(--c-previndapi-glow), var(--shadow-md);
}

.card-fasdapi:hover {
  border-color: var(--c-fasdapi-border);
  box-shadow: 0 20px 45px -10px var(--c-fasdapi-glow), var(--shadow-md);
}

.card-pmi:hover {
  border-color: var(--c-pmi-border);
  box-shadow: 0 20px 45px -10px var(--c-pmi-glow), var(--shadow-md);
}

.card-idi:hover {
  border-color: var(--c-idi-border);
  box-shadow: 0 20px 45px -10px var(--c-idi-glow), var(--shadow-md);
}

.identity {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.identity img {
  width: 135px;
  height: 50px;
  object-fit: contain;
  object-position: left;
}

.entity-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--tr-fast);
}

.card-previndapi .entity-icon-pill {
  background: var(--c-previndapi-bg);
  border: 1px solid var(--c-previndapi-border);
}
.card-previndapi .entity-icon-pill svg { stroke: var(--c-previndapi); }

.card-fasdapi .entity-icon-pill {
  background: var(--c-fasdapi-bg);
  border: 1px solid var(--c-fasdapi-border);
}
.card-fasdapi .entity-icon-pill svg { stroke: var(--c-fasdapi); }

.card-pmi .entity-icon-pill {
  background: var(--c-pmi-bg);
  border: 1px solid var(--c-pmi-border);
}
.card-pmi .entity-icon-pill svg { stroke: var(--c-pmi); }

.card-idi .entity-icon-pill {
  background: var(--c-idi-bg);
  border: 1px solid var(--c-idi-border);
}
.card-idi .entity-icon-pill svg { stroke: var(--c-idi); }

.card-entity:hover .entity-icon-pill {
  transform: scale(1.08);
}

.entity-icon-pill svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-entity h3 {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.card-entity p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.68;
  margin-bottom: 28px;
}

/* Pulsanti coordinati cromaticamente con i loghi dei 4 enti */
.card-entity .button {
  margin-top: auto;
  width: 100%;
  color: #ffffff;
  border: 1px solid transparent;
  font-weight: 700;
  transition: all var(--tr-normal);
}

.card-entity .button .btn-icon {
  stroke: #ffffff;
}

.card-previndapi .button {
  background: var(--c-previndapi);
  box-shadow: 0 4px 14px rgba(48, 160, 72, 0.28);
}

.card-previndapi .button:hover {
  background: var(--c-previndapi-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(48, 160, 72, 0.38);
  transform: translateY(-2px);
}

.card-fasdapi .button {
  background: var(--c-fasdapi);
  box-shadow: 0 4px 14px rgba(45, 114, 170, 0.28);
}

.card-fasdapi .button:hover {
  background: var(--c-fasdapi-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(45, 114, 170, 0.38);
  transform: translateY(-2px);
}

.card-pmi .button {
  background: var(--c-pmi);
  box-shadow: 0 4px 14px rgba(200, 45, 59, 0.28);
}

.card-pmi .button:hover {
  background: var(--c-pmi-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(200, 45, 59, 0.38);
  transform: translateY(-2px);
}

.card-idi .button {
  background: var(--c-idi);
  box-shadow: 0 4px 14px rgba(2, 62, 124, 0.28);
}

.card-idi .button:hover {
  background: var(--c-idi-hover);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(2, 62, 124, 0.38);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Closing Section (Invito finale bilaterale)
   -------------------------------------------------------------------------- */
.closing {
  position: relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(34, 66, 137, 0.25), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(38, 156, 85, 0.2), transparent 45%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  color: #ffffff;
  overflow: hidden;
}

.closing-ribbon {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, #224289 0%, #009ed4 31%, #269c55 64%, #d92342 100%);
}

.close-inner {
  text-align: center;
  padding-block: 84px 92px;
}

.close-inner h2 {
  color: #ffffff;
  max-width: 22ch;
  margin: 0 auto;
}

.close-inner p {
  max-width: 58ch;
  margin: 22px auto 36px;
  color: #c9d8e4;
  font-size: 1.1rem;
  line-height: 1.7;
}

.close-inner .button.mint {
  background: var(--mint);
  color: var(--navy-950);
  box-shadow: 0 4px 20px rgba(140, 230, 211, 0.35);
}

.close-inner .button.mint:hover {
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(140, 230, 211, 0.5);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding-block: 42px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 54px);
}

.footer-content img {
  width: clamp(120px, 22vw, 175px);
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity var(--tr-fast), transform var(--tr-fast);
}

.footer-content img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* --------------------------------------------------------------------------
   Media Queries & Responsiveness
   -------------------------------------------------------------------------- */
@media (min-width: 680px) {
  .logo-row {
    grid-template-columns: repeat(4, 1fr);
    padding: 10px 14px;
  }

  .logo-item {
    border-right: 1px solid var(--border-light);
    min-height: 96px;
  }

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

  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 56px;
  }

  .video-mark {
    display: grid;
    place-items: center;
  }
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 58px;
    padding-block: 76px 92px;
  }

  .strategy {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 52px;
    padding-block: 108px 68px;
  }

  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 679px) {
  .bar {
    justify-content: center;
    min-height: 72px;
    padding-block: 10px;
  }

  .brand {
    flex: 0 1 auto;
    margin-inline: auto;
    justify-content: center;
  }

  .brand img {
    max-width: min(270px, 85vw);
    height: auto;
    margin-inline: auto;
  }

  .nav {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .brand img {
    max-width: min(240px, 82vw);
  }

  .hero-grid {
    padding-block: 38px 52px;
  }

  .video-panel {
    padding: 32px 24px;
  }

  .card-entity {
    padding: 26px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
