/* Pagina di scelta gscdavvocati.com — mockup HDRA (Federica Pallotta) 26/11/2026 */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("poppins-400-latin.woff2") format("woff2");
}

:root {
  --blu: #0c2340;   /* blu del footer del sito Guerini (dictum-child/style.css, #qodef-page-footer) */
  --bianco: #fff;
}

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

html, body { height: 100%; }

body {
  background: var(--blu);
  color: var(--bianco);
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.lingue {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px 32px 0;
  font-size: 14px;
  letter-spacing: .04em;
}

.lingue a, .lingue span {
  color: var(--bianco);
  text-decoration: none;
  opacity: .6;
}

.lingue [aria-current] { opacity: 1; }
.lingue a:hover, .lingue a:focus-visible { opacity: 1; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px 204px;
  text-align: center;
}

h1 {
  font-size: clamp(18px, 2.2vw, 34px);
  font-weight: 400;
  line-height: 1.4;
  max-width: 1240px;
}

.studi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(64px, 14vw, 212px);
  margin-top: clamp(56px, 8vw, 120px);
  list-style: none;
}

.studi a {
  position: relative;
  display: block;
  padding-bottom: 44px;
}

/* linea bianca sotto il logo al passaggio del mouse (mockup 11.21.58) */
.studi a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--bianco);
  transform: scaleX(0);
  transition: transform .25s ease;
}

.studi a:hover::after,
.studi a:focus-visible::after { transform: scaleX(1); }

.studi a:focus-visible { outline: none; }

.studi img { display: block; height: auto; }
.studi .guerini img { width: 300px; }
.studi .salodini img { width: 200px; }

@media (max-width: 720px) {
  .lingue { padding: 20px 20px 0; }
  .studi { flex-direction: column; gap: 40px; }
  .studi a { padding-bottom: 24px; }
  .studi .guerini img { width: 240px; }
  .studi .salodini img { width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .studi a::after { transition: none; }
}
