:root {
  --blue: #3c8ce8;
  --dark: #252f78;
  --text: #142264;
  --block-shadow: rgba(36, 47, 120, .18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.page2 {
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 0 22px rgba(0, 0, 0, .08);
}

.page {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  box-shadow: 0 0 22px rgba(0, 0, 0, .08);
}
.site-header {
  height: 64px;
  background: var(--blue);
  position: relative;
  z-index: 5;
}

.hero-logo-link {
  position: absolute;
  left: 19px;
  top: 19px;
  z-index: 10;
  display: block;
  transition: transform .25s ease, filter .25s ease;
}

.hero-logo-link:hover,
.hero-logo-link:focus-visible {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  outline: none;
}
.logo-top {
  width: 206px;
  height: auto;
  display: block;
}

nav {
  height: 64px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 34px;
  padding-right: 48px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}

nav a {
  color: #10205f;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a[aria-current="page"] { text-decoration: underline; }

.hero {
  min-height: 350px;
  background: url("immagini_chisiamo/hero.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  margin: 0;
  color: #1d2d79;
  font-size: 54px;
  line-height: 1;
  font-weight: 400;
}

.content {
  padding: 36px 34px 38px;
}

.content h2 {
  text-align: center;
  margin: 0 0 28px;
  color: #202d79;
  font-size: 40px;
  font-weight: 400;
}

.pdf-carousel2 {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.pdf-carousel {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
}

.carousel-window {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform .55s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 46px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  align-items: center;
}

.story-block {
  width: 100%;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 28px var(--block-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.story-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 36px rgba(36, 47, 120, .25);
}

.story-block img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dark);
  font-size: 62px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  opacity: 1;
  transition: opacity .28s ease, transform .28s ease, filter .28s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  transform: translateY(-50%) scale(1.08);
  filter: brightness(1.15);
  outline: none;
}

.carousel-arrow-left { left: -10px; }
.carousel-arrow-right { right: -10px; }
.carousel-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

footer {
  background: var(--dark);
  color: #fff;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px 88px;
  padding: 48px 36px 35px;
  font-size: 15px;
  line-height: 1.22;
}

.footer-brand img {
  width: 92px;
  height: auto;
  margin-bottom: 12px;
}

.footer-brand p,
.footer-details p { margin: 0; }
.footer-details p { margin-bottom: 24px; }

@media (max-width: 760px) {
  .page { max-width: none; }
  .site-header { height: auto; padding-top: 105px; }
  .hero-logo-link { left: 50%; transform: translateX(-50%); }
  .hero-logo-link:hover,
  .hero-logo-link:focus-visible { transform: translateX(-50%) translateY(-2px) scale(1.02); }
  nav { height: auto; justify-content: center; flex-wrap: wrap; gap: 16px; padding: 12px; }
  .hero { min-height: 260px; }
  .hero h1 { font-size: 42px; }
  .content { padding: 30px 14px 42px; }
  .content h2 { font-size: 32px; }
  .carousel-slide { padding: 0 28px; gap: 24px; }
  .carousel-arrow { width: 42px; height: 42px; font-size: 42px; }
  .carousel-arrow-left { left: -8px; }
  .carousel-arrow-right { right: -8px; }
  footer { grid-template-columns: 1fr; gap: 25px; text-align: center; }
}
