/* ===================================
   FONT LOCALI
   ================================= */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond/CormorantGaramond-SemiBold.ttf")
       format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/CormorantGaramond/CormorantGaramond-Bold.ttf")
       format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("assets/fonts/NunitoSans/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf")
       format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brush";
  src: url("assets/fonts/Brush/Brush.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ===========================
   VARIABILI
   =============================== */

:root {
  --sky: #78c9dc;
  --sky-dark: #47a9c1;

  --wood: #81552f;
  --wood-dark: #53351f;

  --paper: #fffaf2;
  --sand: #f1e4d2;

  --ink: #292623;
  --muted: #6b645e;

  --white: #ffffff;

  --shadow: 0 20px 60px rgba(83, 53, 31, 0.12);
  --radius: 24px;
}


/* ==================================================
   RESET E BASE
   ================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  font-family: "Nunito Sans", system-ui, sans-serif;
  line-height: 1.65;

  color: var(--ink);
  background: var(--paper);
}

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

a {
  color: inherit;
}

p {
  margin: 0 0 18px;
}


/* ==============================
   CONTENITORI
   =============================== */

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: none;
  text-align: left;
}

.narrow .lead,
.narrow > p {
  max-width: 820px;
}


/* Fasce compatte */

.section {
  padding: 20px 0;
}

.section-soft {
  background: #f8efe3;
}


/* ===========================
   TIPOGRAFIA
   ================================ */

h1,
h2,
h3,
blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
}

h2 {
  margin: 10px 0 22px;

  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.08;

  color: var(--wood-dark);
}

h3 {
  margin: 10px 0 12px;

  font-size: 2rem;

  color: var(--wood-dark);
}


/* Testo introduttivo principale */

.lead {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 1.65;

  color: #4f4944;
}


/* Testo introduttivo pagine interne */

.page-hero-lead {
  max-width: 820px;

  margin: 0;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;

  color: var(--muted);

  white-space: normal;
}


/* Etichette */

.eyebrow,
.section-label {
  display: inline-block;

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--sky-dark);
}

.section-label + .page-hero-lead {
  margin-top: 8px;
}


/* =======================
   ACCESSIBILITÀ
   ============================== */

.skip-link {
  position: absolute;
  top: 8px;
  left: -9999px;
  z-index: 999;

  padding: 10px 16px;

  color: white;
  background: var(--ink);
}

.skip-link:focus {
  left: 8px;
}

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);
}


/* ======================
   HEADER
   ============================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(255, 250, 242, 0.92);

  backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(129, 85, 47, 0.10);
}

/* LOGO HEADER PIÙ GRANDE */

.site-header .brand img {
  display: block;
  width: 120px;
  height: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 0;
} 

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 86px;
}

.brand {
  display: flex;
  align-items: center;

  gap: 12px;

  font-weight: 800;
  text-decoration: none;

  color: var(--wood-dark);
}

.brand img {
  width: 58px;
  height: 58px;

  object-fit: contain;

  border-radius: 50%;
}


/* =========================
   NAVIGAZIONE
   =============================== */

.main-nav {
  display: flex;
  align-items: center;

  gap: 30px;
}

.main-nav a {
  position: relative;

  font-weight: 700;
  text-decoration: none;

  color: #51483f;
}

.main-nav a::after {
  position: absolute;

  right: 100%;
  bottom: -8px;
  left: 0;

  height: 3px;

  content: "";

  background: var(--sky);

  border-radius: 10px;

  transition: right 0.25s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}


/* Menu mobile */

.menu-toggle {
  display: none;

  padding: 8px;

  background: none;
  border: 0;

  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;

  width: 26px;
  height: 2px;

  margin: 5px;

  background: var(--wood-dark);
}


/* ====================================
   HERO HOME
   =========================== */

.hero {
  position: relative;

  display: grid;
  align-items: center;

  height: 630px;
  min-height: 600px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(120, 201, 220, 0.28),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #fffaf2 0%,
      #f7ecdd 100%
    );
}


.hero-copy {
  align-self: start;
  padding-top: 20px;
}

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: center;

  height: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}
.hero-image {
  display: block;
  width: 100%;
  max-width: 420px;
  max-height: 450px;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
}
.hero-logo {
  display: block;
  width: 340px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 0 20px;

  transform: scale(1.35);
  transform-origin: left center;
}
}
/* Titolo home */

.hero h1 {
  max-width: 700px;

  margin: 16px 0 24px;

  font-size: clamp(2.5rem, 4.5vw, 4.4rem);
  line-height: 1.08;
}

.hero h1 strong {
  display: block;

  color: var(--wood);
}


/* Sottotitolo home */

.hero-subtitle {
  max-width: 720px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);

  color: var(--wood-dark);
}

.hero-text {
  max-width: 620px;

  font-size: 1.08rem;

  color: var(--muted);
}




/* ==================================================
   HOME - QUATTRO ACCESSI PRINCIPALI
   ================================================== */

.home-links {
  padding: 20px 0;
  background: var(--paper);
}

.home-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-link-card {
  display: flex;
  flex-direction: column;
  gap: 8px;

  min-height: 130px;
  padding: 20px;

  text-decoration: none;

  background: rgba(255, 255, 255, 0.78);

  border: 1px solid rgba(129, 85, 47, 0.12);
  border-radius: 18px;

  box-shadow:
    0 10px 28px rgba(83, 53, 31, 0.06);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.home-link-card:hover {
  transform: translateY(-3px);

  border-color: var(--sky);

  box-shadow:
    0 14px 32px rgba(83, 53, 31, 0.10);
}

.home-link-title {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;

  color: var(--wood-dark);
}

.home-link-title > span {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1.2rem;

  color: var(--sky-dark);

  transition: transform 0.2s ease;
}

.home-link-card:hover .home-link-title > span {
  transform: translateX(4px);
}

.home-link-card strong {
  max-width: 520px;

  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;

  color: var(--muted);
}


/* Smartphone */

@media (max-width: 700px) {

  .home-links-grid {
    grid-template-columns: 1fr;
  }

  .home-link-card {
    min-height: auto;
    padding: 18px;
  }

  .home-link-title {
    font-size: 1.5rem;
  }

  .hero-logo {
    width: 130px;
    margin-bottom: 16px;
  }
}
/* =========================
   PULSANTI
   ============================ */

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;

  padding: 0 24px;

  font-weight: 800;
  text-decoration: none;

  border-radius: 999px;

  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #173d46;
  background: var(--sky);

  box-shadow:
    0 10px 24px rgba(71, 169, 193, 0.24);
}

.button-primary:hover {
  background: #8bd3e2;
}

.button-secondary {
  color: var(--wood-dark);

  background: rgba(255, 255, 255, 0.50);

  border: 1px solid rgba(129, 85, 47, 0.32);
}

.full {
  width: 100%;
}


/* =============================
   SCADENZA HERO HOME
   =============================== */

.deadline {
  display: flex;
  flex-direction: column;

  margin-top: 32px;

  color: var(--muted);
}

.deadline strong {
  font-size: 1.25rem;

  color: var(--wood);
}


/* ==========================
   LOGO HERO
   ============================= */

.hero-visual {
  text-align: center;
}

.logo-card {
  max-width: 420px;

  padding: 38px;

  margin-inline: auto;

  background: rgba(255, 255, 255, 0.76);

  border: 1px solid rgba(255, 255, 255, 0.90);

  border-radius:
    50% 50% 48% 52% /
    44% 49% 51% 56%;

  box-shadow: var(--shadow);
}

.logo-card img {
  width: 100%;

  border-radius: 50%;
}

.patronage {
  margin-top: 22px;

  font-size: 0.9rem;
  font-weight: 700;

  color: var(--wood);
}


/* ============================
   ONDE HERO HOME
   =========================== */

.hero-wave {
  position: absolute;

  left: -10%;

  width: 120%;

  background: rgba(120, 201, 220, 0.22);

  border-radius: 50%;
}

.hero-wave-one {
  bottom: -120px;

  height: 180px;

  transform: rotate(-2deg);
}

.hero-wave-two {
  bottom: -105px;

  height: 150px;

  background: rgba(71, 169, 193, 0.18);

  transform: rotate(3deg);
}


/* ===========================
   SEZIONI GENERALI
   ================================= */

.text-link {
  display: inline-flex;

  gap: 8px;

  margin-top: 8px;

  font-weight: 800;
  text-decoration: none;

  color: var(--wood);
}

.text-link:hover {
  gap: 13px;
}

.section-heading {
  max-width: 760px;

  margin-bottom: 20px;
}

.section-heading .page-hero-lead {
  margin-top: 8px;
  margin-bottom: 0;
}


/* ===========================
   CARDS
   ========================= */

.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.info-card {
  padding: 20px;

  background: rgba(255, 255, 255, 0.75);

  border: 1px solid rgba(129, 85, 47, 0.09);

  border-radius: var(--radius);

  box-shadow:
    0 12px 34px rgba(83, 53, 31, 0.06);
}

.icon {
  display: grid;
  place-items: center;

  width: 52px;
  height: 52px;

  font-size: 1.5rem;

  color: var(--wood);

  background: rgba(120, 201, 220, 0.22);

  border-radius: 16px;
}


/* Lettera + titolo sulla stessa riga */

.card-title-row {
  display: flex;
  align-items: center;

  gap: 14px;

  margin-bottom: 14px;
}

.card-title-row .icon {
  flex: 0 0 42px;

  width: 42px;
  height: 42px;

  font-size: 1.05rem;
  font-weight: 800;
}

.card-title-row h3 {
  margin: 0;

  font-size: 1.75rem;
  line-height: 1.1;
}

.participation-sections .info-card > p {
  margin: 0;

  color: var(--muted);
}


/* ==========================================
   PARTECIPAZIONE HOME
   ================================================== */

.participation-grid {
  display: grid;

  grid-template-columns: 1fr 0.8fr;

  gap: 40px;

  align-items: center;
}

.facts {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 14px;

  margin-top: 20px;
}

.facts div {
  padding: 20px;

  background: white;

  border: 1px solid rgba(129, 85, 47, 0.10);

  border-radius: 18px;
}

.facts span {
  display: block;

  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  color: var(--muted);
}

.facts strong {
  display: block;

  margin-top: 6px;

  color: var(--wood-dark);

  overflow-wrap: anywhere;
}


/* Pannello limiti di partecipazione compatto */

.participation-panel {
  width: 100%;
  max-width: 360px;

  justify-self: end;

  padding: 20px;

  color: white;
  background: var(--wood-dark);

  border-radius: 18px;

  box-shadow: var(--shadow);
}

.participation-panel h3 {
  margin: 0 0 10px;

  font-size: 1.45rem;
  line-height: 1.1;

  color: white;
}

.participation-panel ul {
  display: grid;

  gap: 0;

  padding: 0;
  margin: 0;

  list-style: none;
}

.participation-panel li {
  display: flex;
  align-items: center;

  gap: 10px;

  padding: 8px 0;

  font-size: 0.9rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.participation-panel li:last-child {
  border-bottom: 0;
}

.participation-panel li span {
  display: grid;
  place-items: center;

  flex: 0 0 26px;

  width: 26px;
  height: 26px;

  font-size: 0.8rem;
  font-weight: 900;

  color: #173d46;
  background: var(--sky);

  border-radius: 50%;
}


/* =======================================
   CITAZIONE / SCADENZA
   ================================================== */

.quote-banner {
  padding: 20px 0;

  text-align: left;

  background: var(--sky);
}

.quote-banner .container {
  text-align: left;
}

.quote-banner blockquote {
  max-width: 820px;

  margin: 8px 0 0;

  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;

  color: #173d46;
}


/* ==================================================
   CALL TO ACTION
   ================================================== */

.cta.section {
  padding: 20px 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 20px;

  background:
    linear-gradient(
      135deg,
      #ffffff,
      #f5eadb
    );

  border: 1px solid rgba(129, 85, 47, 0.10);

  border-radius: 20px;

  box-shadow: var(--shadow);
}

.cta-box .section-label {
  margin: 0;
}

.cta-box .page-hero-lead {
  margin: 8px 0 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 0;
}

.cta-box .button {
  min-height: 44px;

  padding: 0 18px;

  font-size: 0.9rem;
}


/* ============================================
   FOOTER
   ======================= */

.site-footer {
  padding: 70px 0 20px;

  color: rgba(255, 255, 255, 0.78);

  background: #2f241c;
}

.footer-grid {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr 0.8fr;

  gap: 50px;
}

.footer-logo {
  display: block;
  width: 120px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  margin-bottom: 10px;
}

.site-footer h2 {
  margin-top: 0;

  font-size: 1.4rem;

  color: white;
}

.site-footer a {
  color: white;

  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  padding-top: 20px;
  margin-top: 45px;

  font-size: 0.9rem;

  border-top: 1px solid rgba(255, 255, 255, 0.12);
}


/* ==============================================
   ANIMAZIONI
   ================================================== */

.reveal {
  opacity: 0;

  transform: translateY(22px);

  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}


/* ===============================================
   PAGINE INTERNE
   ================================================== */

.page-hero {
  position: relative;

  overflow: hidden;

  padding: 20px 0;

  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(120, 201, 220, 0.30),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #fffaf2 0%,
      #f7ecdd 100%
    );
}

.page-hero-inner {
  position: relative;
  z-index: 2;

  max-width: none;
}

.page-hero h1 {
  margin: 12px 0 18px;

  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  line-height: 1.05;

  color: var(--wood);
}


/* Onda pagine interne */

.page-hero-wave {
  position: absolute;

  right: -15%;
  bottom: -115px;

  width: 85%;
  height: 190px;

  background: rgba(120, 201, 220, 0.20);

  border-radius: 50%;

  transform: rotate(-4deg);
}


/* ==============================================
   STORIA DEL PREMIO
   ================================================== */

.story-grid {
  display: grid;

  grid-template-columns: 1.1fr 0.65fr;

  gap: 80px;

  align-items: center;
}

.story-copy {
  max-width: 720px;
}

.story-card {
  padding: 35px;

  text-align: center;

  background: white;

  border: 1px solid rgba(129, 85, 47, 0.10);

  border-radius: 30px;

  box-shadow: var(--shadow);
}

.story-card img {
  width: min(100%, 300px);

  margin: 0 auto 28px;

  border-radius: 50%;
}

.story-card p {
  margin: 0;

  color: var(--muted);
}

.story-card strong {
  color: var(--wood-dark);
}


/* ==============================================
   TERRITORIO
   ================================================== */

.territory-section {
  padding: 20px 0;

  color: white;

  background: var(--wood-dark);
}

.territory-section h2 {
  color: white;
}

.territory-section .section-label {
  color: var(--sky);
}

.territory-grid {
  display: grid;

  grid-template-columns: 1fr 0.55fr;

  gap: 50px;

  align-items: center;
}

.territory-card {
  padding: 30px 24px;

  text-align: center;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 26px;
}

.territory-card span {
  display: block;

  margin-bottom: 8px;

  font-size: 0.85rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.72);
}

.territory-card strong {
  display: block;

  font-family: "Cormorant Garamond", Georgia, serif;

  font-size: 2.2rem;
  line-height: 1.1;

  color: white;
}


/* ===============================================
   GIURIA
   ================================================== */

.jury-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 22px;
}

.jury-card {
  padding: 28px;

  background: white;

  border: 1px solid rgba(129, 85, 47, 0.10);

  border-radius: 20px;

  box-shadow:
    0 10px 28px rgba(83, 53, 31, 0.06);
}

.jury-card h3 {
  margin-top: 0;

  font-size: 1.65rem;
}

.jury-card p {
  margin-bottom: 0;

  color: var(--muted);
}

.jury-role {
  display: inline-block;

  margin-bottom: 11px;

  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;

  color: var(--sky-dark);
}


/* ===============================================
   CRITERI DI VALUTAZIONE
   ================================================== */

.evaluation-section {
  padding: 20px 0;

  background: #f8efe3;
}

.evaluation-grid {
  display: grid;

  grid-template-columns: 0.8fr 1.2fr;

  gap: 50px;

  align-items: start;
}

.evaluation-list {
  display: grid;

  gap: 12px;
}

.evaluation-list div {
  padding: 20px 22px;

  background: white;

  border: 1px solid rgba(129, 85, 47, 0.10);

  border-radius: 16px;
}

.evaluation-list strong {
  display: block;

  margin-bottom: 4px;

  color: var(--wood-dark);
}

.evaluation-list span {
  color: var(--muted);
}


/* ==================================================
   COME PARTECIPARE - SEZIONI
   ================================================== */

.participation-sections {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px;

  width: 100%;
}

.participation-sections .info-card {
  width: 100%;

  margin: 0;
}


/* ==============================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

  .hero-grid,
  .participation-grid,
  .story-grid,
  .territory-grid,
  .evaluation-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 52px;
  }

  .participation-grid,
  .story-grid,
  .territory-grid,
  .evaluation-grid {
    gap: 30px;
  }

  .hero-visual {
    max-width: 460px;

    margin-inline: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .facts {
    grid-template-columns: 1fr;
  }

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

  .participation-panel {
    max-width: 360px;

    justify-self: start;
  }

  .cta-box {
    flex-direction: column;

    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }


  /* Navigazione mobile */

  .main-nav {
    position: absolute;

    top: 86px;
    right: 0;
    left: 0;

    display: none;

    flex-direction: column;
    align-items: flex-start;

    padding: 26px 20px;

    background: var(--paper);

    box-shadow:
      0 16px 34px rgba(0, 0, 0, 0.08);
  }

  .main-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


/* ==================================================
  SEZIONI PARTECIPAZIONE - UNA COLONNA
   =============================================== */

@media (max-width: 700px) {

  .participation-sections {
    grid-template-columns: 1fr;
  }
}


/* ========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 620px) {

  .container {
    width: min(100% - 28px, 1120px);
  }


  /* Manteniamo le fasce a 20px */

  .section {
    padding: 20px 0;
  }


  /* Header */

  .header-inner {
    height: 76px;
  }

  .brand span {
    display: none;
  }

.brand img {
  width: 150px;
  height: auto;
}

  .main-nav {
    top: 76px;
  }


  /* Hero home */

.hero {
  height: auto;
  min-height: auto;
}

.hero-grid {
  height: auto;
  gap: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

  .hero h1 {
    max-width: 100%;

    font-size: clamp(2.25rem, 11vw, 3.4rem);
    line-height: 1.05;
  }

  .hero-subtitle {
    font-size: 1.4rem;
  }

  .hero-actions {
    flex-direction: column;

    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .logo-card {
    padding: 22px;
  }


  /* Pagine interne */

  .page-hero {
    padding: 20px 0;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem, 9vw, 2.8rem);
    line-height: 1.05;
  }


  /* Partecipazione */

  .participation-panel {
    max-width: 100%;

    padding: 20px;
  }

  .card-title-row {
    gap: 12px;

    margin-bottom: 12px;
  }

  .card-title-row .icon {
    flex-basis: 38px;

    width: 38px;
    height: 38px;
  }

  .card-title-row h3 {
    font-size: 1.55rem;
  }


  /* Giuria */

  .jury-grid {
    grid-template-columns: 1fr;
  }


  /* Cards */

  .story-card {
    padding: 20px;
  }

  .territory-card {
    padding: 20px;
  }


  /* CTA */

  .cta.section {
    padding: 20px 0;
  }

  .cta-box {
    padding: 20px;

    gap: 16px;
  }

  .cta-actions {
    flex-direction: column;

    align-items: stretch;

    width: 100%;

    margin-top: 0;
  }


  /* Footer */

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}


/* ====================================
  ACCESSIBILITÀ - RIDUZIONE ANIMAZIONI
   ===================================== */

@media (prefers-reduced-motion: reduce) {

  * {
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;

    transform: none;

    transition: none;
  }
}

/* ==================================================
   HOME - 4 PULSANTI PRINCIPALI
   ================================================== */

.home-menu-section {
  display: block;
  width: 100%;
  padding: 20px 0;
  background: #fffaf2;
}

.home-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.home-menu-box {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;

  width: 100%;
  min-height: 140px;
  padding: 20px;

  color: #292623 !important;
  text-decoration: none !important;

  background: #ffffff;

  border: 1px solid rgba(129, 85, 47, 0.16);
  border-radius: 18px;

  box-shadow: 0 10px 28px rgba(83, 53, 31, 0.08);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.home-menu-box:hover {
  transform: translateY(-3px);

  border-color: #78c9dc;

  box-shadow: 0 14px 34px rgba(83, 53, 31, 0.12);
}

.home-menu-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  width: 100%;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;

  color: #53351f;
}

.home-menu-arrow {
  flex: 0 0 auto;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;

  color: #47a9c1;

  transition: transform 0.2s ease;
}

.home-menu-box:hover .home-menu-arrow {
  transform: translateX(4px);
}

.home-menu-description {
  display: block;

  max-width: 520px;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;

  color: #6b645e;
}


/* TABLET E SMARTPHONE */

@media (max-width: 700px) {

  .home-menu-grid {
    grid-template-columns: 1fr;
  }

  .home-menu-box {
    min-height: auto;
    padding: 18px;
  }

  .home-menu-heading {
    font-size: 1.5rem;
  }

}

/* ==================================================
   IL PROGETTO - LE TRE REALTÀ
   ================================================== */

.project-partners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-partner-card {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid rgba(129, 85, 47, 0.12);
  border-radius: 20px;

  box-shadow: 0 12px 34px rgba(83, 53, 31, 0.07);
}

.project-partner-photo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  aspect-ratio: 0.765 / 1;

  overflow: hidden;
  background: #f1e4d2;
}

.project-partner-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.project-partner-photo > span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #81552f;
}

.project-partner-content {
  padding: 20px;
}

.project-partner-content h3 {
  margin: 8px 0 12px;

  font-size: 1.7rem;
}

.project-partner-content p {
  margin: 0;

  color: var(--muted);
}


/* TABLET */

@media (max-width: 900px) {

  .project-partners {
    grid-template-columns: 1fr;
  }

  .project-partner-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .project-partner-photo {
    width: 220px;
    height: auto;
    min-height: 0;
    aspect-ratio: 0.765 / 1;
  }

}


@media (max-width: 620px) {

  .project-partner-card {
    display: block;
  }

  .project-partner-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 0.765 / 1;
  }

}

/* ==================================================
   IL PROGETTO - HERO CON LOGO
   ================================================== */

.page-hero-project {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: center;
  gap: 40px;
}

.page-hero-project-text {
  min-width: 0;
}

.page-hero-project-text h1 {
  margin: 12px 0 18px;

  font-size: clamp(2.3rem, 3.8vw, 3.5rem);
  line-height: 1.05;

  color: var(--wood);
}

.page-hero-project-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.page-hero-project-logo img {
  display: block;

  width: 190px;
  height: auto;

  object-fit: contain;
}


/* SMARTPHONE */

@media (max-width: 620px) {

  .page-hero-project {
    grid-template-columns: 1fr 100px;
    gap: 15px;
  }

  .page-hero-project-logo img {
    width: 100px;
  }

  .page-hero-project-text h1 {
    font-size: 2.1rem;
  }

}



/* ==================================================
   TESTIMONIAL - FOTO E VIDEO
   ================================================== */

.testimonial-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.testimonial-media-box {
  overflow: hidden;

  background: #ffffff;

  border: 1px solid rgba(129, 85, 47, 0.14);
  border-radius: 20px;

  box-shadow: 0 12px 34px rgba(83, 53, 31, 0.08);
}

.testimonial-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 360px;

  background: #f1e4d2;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #81552f;
}


/* VIDEO */

.testimonial-video-placeholder {
  flex-direction: column;
  gap: 15px;

  background:
    linear-gradient(
      135deg,
      #fffaf2 0%,
      #f1e4d2 100%
    );
}

.testimonial-play {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 70px;
  height: 70px;

  padding-left: 5px;

  border-radius: 50%;

  background: #78c9dc;
  color: #ffffff;

  font-size: 1.6rem;
  line-height: 1;
}


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 700px) {

  .testimonial-media {
    grid-template-columns: 1fr;
  }

  .testimonial-placeholder {
    height: 300px;
  }

}

/* ==================================================
   DOCUMENTI - CARD E PULSANTI ALLINEATI
   ================================================== */

.document-cards {
  align-items: stretch;
}

.document-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.document-card p {
  margin-bottom: 20px;
}

.document-card-action {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;

  margin-top: auto;
  padding-top: 15px;
}

.document-card-action .button {
  margin: 0;
}


/* PULSANTI NON ANCORA DISPONIBILI */

.button-disabled,
.button-disabled:hover {
  opacity: 1;
  cursor: not-allowed;
  transform: none !important;
}

/* PULSANTE COME PARTECIPARE - ROSSO */

.button-soft-red {
  background: #c94f46;
  color: #ffffff;
  border: 1px solid #b9433b;
  box-shadow: 0 8px 20px rgba(160, 55, 48, 0.22);
}

.button-soft-red:hover {
  background: #b9433b;
  color: #ffffff;
  border-color: #a63b34;
  transform: translateY(-2px);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}
.cta-actions .button {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* TEMA HOME */

.hero-theme-label {
  color: #292623;
}

.hero-theme-title,
.hero-theme-title * {
  font-family: "Brush", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

//* ==================================================
   HOME HERO - FRAGONARD SINISTRA / LOGO DESTRA
   ================================================== */

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


/* FRAGONARD A SINISTRA - PIÙ PICCOLA */

.hero-copy .hero-image {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin: 0 auto 20px 0;
  object-fit: contain;
}


/* LOGO A DESTRA - PIÙ GRANDE */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .hero-logo {
  display: block;
  width: 400px;
  max-width: none;
  height: auto;
  margin: 0;
  object-fit: contain;

  transform: scale(1.15);
  transform-origin: center;
}


/* TESTO */

.hero-subtitle {
  margin-top: 10px;
}

.hero-theme {
  max-width: 700px;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.25;
}

/* ==================================================
   HOME HERO - TESTO SINISTRA / LOGO DESTRA
   ================================================== */

.hero-grid {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;

  align-items: center;

  height: 100%;

  padding-top: 20px;
  padding-bottom: 20px;
}


/* TESTO SINISTRA */

.hero-copy {
  align-self: center;
  padding-top: 0;
}

.hero-subtitle {
  margin: 0 0 25px;

  font-family: "Cormorant Garamond", Georgia, serif;
}

.hero-theme {
  max-width: 650px;
  margin: 0;

  line-height: 1.25;
}

.hero-theme-label {
  color: #292623;
}

.hero-theme-title,
.hero-theme-title * {
  font-family: "Brush", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
}


/* LOGO DESTRA */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual .hero-logo {
  display: block;

  width: 500px;
  max-width: 100%;
  height: auto;

  margin: 0;

  object-fit: contain;
  transform: none;
}


/* HERO HOME PIÙ BASSA */

.hero {
  height: 480px;
  min-height: 480px;
}

/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 700px) {

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;

    height: auto;

    padding-top: 30px;
    padding-bottom: 50px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    justify-content: flex-start;
  }

  .hero-visual .hero-logo {
    width: 280px;
  }

  .hero-theme {
    max-width: 100%;
  }

}

@media (max-width: 700px) {

  .hero {
    height: auto;
    min-height: auto;
  }

}

.theme-colon {
  display: inline-block;
  transform: translateY(7px);
}

/* IMMAGINE NOTIZIE NEL MENU */

.main-nav .nav-notizie {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  margin-left: 5px;

  border: 0;
  text-decoration: none;
}

.main-nav .nav-notizie img {
  display: block;
width: 80px;
  height: auto;

  transition: transform 0.2s ease;
}

.main-nav .nav-notizie:hover img {
  transform: scale(1.08);
}

/* ==================================================
   PAGINA NOTIZIE
   ================================================== */

.news-article {
  width: 100%;
  max-width: 900px;
  margin: 0;
}


/* ==================================================
   DATA E TITOLO
   ================================================== */

.news-article-header {
  margin-bottom: 30px;
}

.news-date {
  display: block;
  margin-bottom: 8px;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;

  color: #6b645e;
}

.news-article-header h2 {
  margin: 0;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;

  color: #53351f;
}


/* ==================================================
   TESTO ARTICOLO
   ================================================== */

.news-article-content {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;

  color: #292623;
}

.news-article-content p {
  margin: 0 0 20px;
}


/* INTRO */

.news-intro {
  font-size: 1.2rem;
  line-height: 1.6;
}


/* ==================================================
   LINK
   ================================================== */

.news-article-content a {
  color: #47a9c1;
  font-weight: 800;

  text-decoration: underline;
  text-underline-offset: 3px;

  transition: color 0.2s ease;
}

.news-article-content a:hover {
  color: #81552f;
}


/* ==================================================
   ARGOMENTI
   ================================================== */

.news-topics {
  display: block;
  margin: 35px 0;
}

.news-topic {
  display: block;

  margin: 0 0 30px;
  padding: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.news-topic:last-child {
  margin-bottom: 0;
}

.news-topic h3 {
  margin: 0 0 8px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;

  color: #53351f;
}

.news-topic p {
  margin: 0 0 12px;
}

.news-topic p:last-child {
  margin-bottom: 0;
}


/* ==================================================
   CHIUSURA
   ================================================== */

.news-closing {
  margin-top: 35px !important;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.3;

  color: #53351f;
}


/* ==================================================
   COMMUNITY
   ================================================== */

.news-community {
  margin: 20px 0 30px;
}

.news-community p {
  margin: 8px 0;
}


/* ==================================================
   AUTORE
   ================================================== */

.news-author {
  margin-top: 35px;
  padding-top: 20px;

  border-top: 1px solid rgba(129, 85, 47, 0.18);

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 0.95rem;
}

.news-author span {
  margin-right: 6px;
  color: #6b645e;
}


/* ==================================================
   SEPARAZIONE TRA LE NOTIZIE
   ================================================== */

.news-article + .news-article {
  margin-top: 60px;
  padding-top: 50px;

  border-top: 1px solid rgba(129, 85, 47, 0.18);
}


/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 620px) {

  .news-article-header {
    margin-bottom: 25px;
  }

  .news-article-header h2 {
    font-size: 2rem;
  }

  .news-article-content {
    font-size: 0.95rem;
  }

  .news-intro {
    font-size: 1.1rem;
  }

  .news-topics {
    margin: 30px 0;
  }

  .news-topic {
    margin-bottom: 25px;
  }

  .news-topic h3 {
    font-size: 1.35rem;
  }

  .news-article + .news-article {
    margin-top: 45px;
    padding-top: 40px;
  }

}

/* ==================================================
   PAGINA IL PREMIO
   ================================================== */

.premio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 60px;

  align-items: start;
}


/* TESTO */

.premio-text {
  max-width: 760px;
}

.premio-text p {
  margin: 0 0 22px;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;

  color: #4f4944;
}

.premio-text .premio-intro {
  font-size: 1.2rem;
  line-height: 1.65;

  color: #292623;
}

.premio-text em {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15em;
  font-weight: 700;

  color: #53351f;
}


/* ==================================================
   FRAGONARD
   ================================================== */

.premio-fragonard {
  position: static;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.premio-fragonard img {
  display: block;

  width: 100%;
  max-width: 340px;
  height: auto;

  object-fit: contain;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

  .premio-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 35px;
  }

  .premio-fragonard img {
    max-width: 250px;
  }

}


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 700px) {

  .premio-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .premio-text {
    max-width: 100%;
  }

  .premio-fragonard {
    justify-content: flex-start;
  }

  .premio-fragonard img {
    width: 260px;
    max-width: 100%;
  }

}

/* ==================================================
   AMICI DEL PREMIO
   ================================================== */

.friends-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;

  width: 100%;
}


/* SCHEDA */

.friend-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;

  min-height: 240px;
  padding: 25px 20px 20px;

  background: #ffffff;

  border: 1px solid rgba(129, 85, 47, 0.14);
  border-radius: 18px;

  box-shadow: 0 10px 28px rgba(83, 53, 31, 0.07);

  color: #292623;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}


/* SOLO LE SCHEDE CLICCABILI */

a.friend-card:hover {
  transform: translateY(-4px);

  border-color: #78c9dc;

  box-shadow: 0 14px 34px rgba(83, 53, 31, 0.12);
}


/* ==================================================
   LOGHI
   ================================================== */

.friend-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 145px;

  padding: 10px;
}

.friend-logo img {
  display: block;

  max-width: 100%;
  max-height: 125px;

  width: auto;
  height: auto;

  object-fit: contain;
}


/* ==================================================
   NOMI
   ================================================== */

.friend-card h3 {
  margin: 15px 0 0;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;

  text-align: center;

  color: #53351f;
}

.friend-card h3 span {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;

  color: #6b645e;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 900px) {

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

}


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 620px) {

  .friends-grid {
    grid-template-columns: 1fr;
  }

  .friend-card {
    min-height: 210px;
  }

  .friend-logo {
    height: 125px;
  }

  .friend-logo img {
    max-height: 110px;
  }

}


/* TESTO FINALE A LARGHEZZA PIENA */

.premio-full-text {
  width: 100%;
  margin-top: 25px;
}

.premio-full-text p {
  width: 100%;
  max-width: none;

  margin: 0 0 22px;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;

  color: #4f4944;
}

.testimonial-video {
  display: block;

  width: 100%;
  height: 100%;

  aspect-ratio: 16 / 9;

  object-fit: cover;

  border-radius: 18px;

  background: #000;
}

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

h2 a:hover {
  color: #47a9c1;
}

/* ==================================================
   PAGINA LA GIURIA
   ================================================== */

.jury-list {
  width: 100%;
  max-width: 900px;
}


/* SINGOLO COMPONENTE */

.jury-member {
  padding: 22px 0;

  border-bottom: 1px solid rgba(129, 85, 47, 0.18);
}

.jury-member:first-child {
  padding-top: 0;
}


/* NOME */

.jury-member h2 {
  margin: 0 0 7px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;

  color: #53351f;
}


/* LINK SUL NOME */

.jury-name-link {
  color: inherit;
  text-decoration: none;

  transition: color 0.2s ease;
}

.jury-name-link:hover {
  color: #47a9c1;
}


/* PRESIDENTE */

.jury-role {
  display: inline-block;

  margin-left: 10px;
  padding: 5px 10px;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;

  text-transform: uppercase;
  letter-spacing: 0.06em;

  color: #ffffff;
  background: #47a9c1;

  border-radius: 20px;

  vertical-align: middle;
}


/* DESCRIZIONE */

.jury-member p {
  max-width: 780px;

  margin: 0;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;

  color: #6b645e;
}


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 620px) {

  .jury-member {
    padding: 18px 0;
  }

  .jury-member h2 {
    font-size: 1.55rem;
  }

  .jury-role {
    display: table;

    margin-top: 8px;
    margin-left: 0;
  }

}

/* ==================================================
   PAGINA CONTATTI
   ================================================== */

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  gap: 70px;

  align-items: start;
}


/* ==================================================
   TESTO INTRODUTTIVO
   ================================================== */

.contacts-intro {
  max-width: 650px;
}

.contacts-intro h2 {
  margin: 10px 0 18px;

  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.1;

  color: #53351f;
}

.contacts-intro .lead {
  margin: 0;
}


/* ==================================================
   RIFERIMENTI
   ================================================== */

.contacts-details {
  width: 100%;
}

.contact-item {
  padding: 18px 0;

  border-bottom: 1px solid rgba(129, 85, 47, 0.18);
}

.contact-item:first-child {
  padding-top: 0;
}


/* ETICHETTA */

.contact-label {
  display: block;

  margin-bottom: 5px;

  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: #81552f;
}


/* TESTO */

.contact-item a,
.contact-item strong,
.contact-item address {
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;

  color: #292623;
}


/* LINK */

.contact-item a {
  text-decoration: none;

  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: #47a9c1;
}


/* INDIRIZZO */

.contact-item address {
  margin: 0;

  font-style: normal;
}


/* ==================================================
   TABLET / SMARTPHONE
   ================================================== */

@media (max-width: 800px) {

  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}


@media (max-width: 620px) {

  .contacts-layout {
    gap: 30px;
  }

  .contact-item {
    padding: 15px 0;
  }

  .contact-item a,
  .contact-item strong,
  .contact-item address {
    font-size: 1rem;
  }

}

/* LOGO ADIUVARE - CONTATTI */

.contact-adiuvare {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.contact-adiuvare-logo {
  display: block;
  width: 80px;
 margin-left: 15px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.contact-adiuvare-link {
  display: inline-block;
  line-height: 0;
}

.contact-adiuvare-link:hover .contact-adiuvare-logo {
  opacity: 0.8;
}

.contact-adiuvare-logo {
  transition: opacity 0.2s ease;
}

/* ==================================================
   FOOTER MOLTO PIÙ COMPATTO
   ================================================== */

.site-footer {
  padding-top: 10px;
  padding-bottom: 5px;
}

.footer-grid {
  gap: 20px;
}

.site-footer h2 {
  margin-top: 0;
  margin-bottom: 5px;
}

.site-footer p {
  margin-top: 3px;
  margin-bottom: 3px;
  line-height: 1.35;
}

.footer-bottom {
  margin-top: 8px;
  padding-top: 6px;
  padding-bottom: 0;
}

.footer-bottom p {
  margin: 2px 0;
}

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

strong a:hover {
  color: #47a9c1;
}

/* ==================================================
   PREMI - ICONA COPPA/ZAMPA
   ================================================== */

.premi-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.premi-heading-image {
  display: block;
  width: 65px;
  height: auto;
  object-fit: contain;
  transform: rotate(8deg);
}

/* NUOVO LOGO HEADER */

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: visible;
}

.brand img {
  display: block;
  width: 300px;
  max-width: none;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

/* SOCIAL FOOTER */

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.footer-social a,
.footer-social .social-disabled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.footer-social img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-social a img {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer-social a:hover img {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* Icone non ancora cliccabili */
.footer-social .social-disabled {
  cursor: default;
}

/* WHATSAPP - PAGINA CONTATTI */

.contact-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-phone-row .contact-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.contact-phone-row .contact-whatsapp img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;

  transition: transform 0.2s ease;
}

.contact-phone-row .contact-whatsapp:hover img {
  transform: scale(1.08);
}

/* WHATSAPP + TELEFONO - PAGINA CONTATTI */

.contact-phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-whatsapp,
.contact-call {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.contact-whatsapp {
  line-height: 0;
}

.contact-whatsapp img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.contact-call {
  gap: 7px;
}

.contact-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  font-size: 24px;
  line-height: 1;

  color: #47a9c1;
}

.contact-whatsapp img,
.contact-phone-icon {
  transition: transform 0.2s ease;
}

.contact-whatsapp:hover img,
.contact-call:hover .contact-phone-icon {
  transform: scale(1.08);
}

/* FOTO TESTIMONIAL */

.testimonial-photo {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
}

/* PRIVACY E COOKIE POLICY */

.legal-page {
  max-width: 900px;
}

.legal-page h2 {
  margin-top: 30px;
  margin-bottom: 10px;
  color: #53351f;
  font-size: 1.55rem;
}

.legal-page h3 {
  margin-top: 20px;
  margin-bottom: 8px;
  color: #81552f;
  font-size: 1.15rem;
}

.legal-page p {
  line-height: 1.7;
}

.legal-page a {
  color: #47a9c1;
  font-weight: 700;
  text-decoration: none;
}

.legal-page a:hover {
  text-decoration: underline;
}

.legal-update {
  color: #6b645e;
  font-size: 0.9rem;
  font-style: italic;
}