:root {
  --inchiostro: #1a3148;
  --blu: #1a4f86;
  --tenue: #5d6d7c;
  --carta: #ffffff;
  --linea: #e3ddd4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--carta);
  color: var(--inchiostro);
  font-family: Outfit, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.6;
}

.testata {
  padding: 2.75rem 1.5rem 1.25rem;
  text-align: center;
}

.logo {
  width: min(420px, 86vw);
  height: auto;
  background: #fff;
}

.mare {
  margin: 0.5rem auto 0;
  width: min(1040px, calc(100% - 2rem));
}

.mare img {
  display: block;
  width: 100%;
  height: min(58vh, 560px);
  object-fit: cover;
  object-position: center 62%;
}

main {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.25rem 0 2rem;
}

.luogo {
  margin: 0 0 0.85rem;
  color: var(--blu);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.6rem, 6vw, 4.1rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.intro {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  color: var(--inchiostro);
}

.punti {
  list-style: none;
  margin: 2.75rem 0 0;
  padding: 0.35rem 0 0;
  border-top: 1px solid var(--linea);
}

.punti li {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--linea);
}

.punti h2 {
  margin: 0 0 0.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 500;
}

.punti p {
  margin: 0;
  color: var(--tenue);
  font-size: 1.05rem;
}

.chiusura {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.75rem;
  margin: 2.4rem 0 0;
}

.chiusura a {
  color: var(--blu);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--blu);
  padding-bottom: 0.12rem;
}

.chiusura a:hover {
  color: #123860;
}

footer {
  padding: 0.5rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--tenue);
  font-size: 0.92rem;
}

footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .testata {
    padding-top: 1.75rem;
  }

  .mare {
    width: 100%;
  }

  .mare img {
    height: 46vh;
  }

  main {
    padding-top: 2.25rem;
  }
}
