:root {
  --blue: #0b3440;
  --blue-soft: #164a57;
  --gold: #c5a15a;
  --gold-dark: #9d7b38;
  --gold-soft: #e8ddb0;
  --paper: #f7f4ec;
  --paper-2: #edf4f2;
  --white: #ffffff;
  --text: #102c36;
  --muted: #5d6f77;
  --danger: #922f2f;
  --border: rgba(16, 44, 54, 0.14);
  --shadow: 0 22px 60px rgba(11, 52, 64, 0.12);
  --shadow-small: 0 12px 32px rgba(11, 52, 64, 0.09);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: linear-gradient(135deg, var(--paper) 0%, #fbfaf6 45%, var(--paper-2) 100%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, var(--paper) 0%, #fbfaf6 45%, var(--paper-2) 100%);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.legal-inline-link,
.legal-inline-link:hover,
.legal-inline-link:focus-visible {
  text-decoration: none;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(11, 52, 64, 0.11);
  background: rgba(247, 244, 236, 0.9);
  box-shadow: 0 8px 28px rgba(11, 52, 64, 0.07);
  backdrop-filter: blur(16px);
}

.brand-mini {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mini img {
  display: block;
  width: 112px;
  height: auto;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(11, 52, 64, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 28px rgba(11, 52, 64, 0.08);
  backdrop-filter: blur(12px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  border-radius: 10px;
  background: var(--blue);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: 68px;
  right: clamp(18px, 4vw, 64px);
  min-width: 255px;
  max-width: calc(100vw - 28px);
  max-height: calc(100vh - 88px);
  max-height: calc(100dvh - 88px);
  overflow-y: auto;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  display: none;
}

.site-nav.is-open {
  display: grid;
}

.site-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(197, 161, 90, 0.17);
}

@media (min-width: 1500px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    min-width: 0;
    max-width: none;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .site-nav a {
    padding: 9px 10px;
    font-size: 13px;
  }
}

main {
  min-height: calc(100vh - 78px);
}

.page-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 126px 22px 70px;
}

.page-shell.narrow {
  width: min(840px, 100%);
}

.page-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.35rem, 7vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 900;
}

h2 {
  color: var(--blue);
}

.lead,
.intro {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  line-height: 1.62;
}

.surface {
  padding: clamp(24px, 4.6vw, 46px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.btn-row,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 48px;
  padding: 13px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold-soft);
  border-color: rgba(197, 161, 90, 0.78);
}

.btn-primary:hover {
  background: #ddca91;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.68);
  border-color: var(--border);
}

.btn-dark {
  background: var(--blue);
  color: var(--white);
}

.home-shell {
  width: min(940px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 126px 30px 74px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.home-logo {
  display: block;
  width: min(500px, 72vw);
  margin: 0 auto;
}

.home-copy h1 {
  max-width: 650px;
}

.home-copy p {
  color: var(--blue-soft);
  font-size: clamp(1.03rem, 1.7vw, 1.2rem);
  line-height: 1.62;
}

.home-copy .first-line {
  color: var(--muted);
  font-weight: 700;
}

.home-actions {
  justify-content: flex-start;
}

.quota-grid {
  width: min(680px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 13px;
}

.quota-card {
  min-height: 105px;
  padding: 22px 28px;
  border: 1px solid rgba(197, 161, 90, 0.76);
  border-radius: 30px;
  background: rgba(232, 221, 176, 0.8);
  box-shadow: 0 10px 26px rgba(197, 161, 90, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--blue);
  text-decoration: none;
}

.quota-card:hover {
  background: rgba(232, 221, 176, 1);
}

.quota-card.main {
  min-height: 128px;
}

.quota-name {
  font-size: clamp(1.3rem, 4vw, 2.35rem);
  line-height: 1.08;
  font-weight: 900;
}

.quota-price {
  color: var(--gold-dark);
  font-size: clamp(2.25rem, 7vw, 4.3rem);
  font-weight: 900;
  white-space: nowrap;
}

.quota-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.quota-pair .quota-card {
  min-height: 148px;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.quota-pair .quota-name {
  font-size: clamp(1.08rem, 3vw, 1.55rem);
}

.quota-pair .quota-price {
  font-size: clamp(2rem, 5vw, 3rem);
}

.payment-box,
.notice-box {
  width: min(680px, 100%);
  margin: 22px auto 0;
  padding: 18px 22px;
  border: 1px solid rgba(197, 161, 90, 0.52);
  border-radius: 22px;
  background: rgba(197, 161, 90, 0.13);
  color: var(--blue);
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

.price-options {
  width: min(720px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.price-option {
  min-height: 190px;
  padding: 28px 20px;
  border: 1px solid rgba(197, 161, 90, 0.58);
  border-radius: 28px;
  background: rgba(232, 221, 176, 0.66);
  box-shadow: var(--shadow-small);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  text-align: center;
  text-decoration: none;
}

.price-option strong {
  font-size: clamp(1.15rem, 3vw, 1.65rem);
}

.price-option span {
  margin-top: 8px;
  color: var(--gold-dark);
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 900;
}

.info-list {
  margin: 0;
  display: grid;
}

.info-row {
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) 1fr;
  gap: 22px;
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row dt {
  color: var(--muted);
  font-weight: 800;
}

.info-row dd {
  margin: 0;
  color: var(--blue);
  font-weight: 900;
}

.support-intro {
  margin-bottom: 24px;
  text-align: center;
}

.support-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
}

.support-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.62;
}

.support-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.support-card {
  padding: 25px 22px;
  border: 1px solid rgba(197, 161, 90, 0.46);
  border-radius: 24px;
  background: rgba(232, 221, 176, 0.4);
  text-align: center;
}

.support-card h3 {
  margin: 0 0 9px;
  color: var(--blue);
}

.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.form-card {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(197, 161, 90, 0.4);
  border-radius: var(--radius);
  background: rgba(247, 244, 236, 0.82);
  box-shadow: var(--shadow-small);
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(16, 44, 54, 0.2);
  border-radius: 13px;
  outline: none;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(197, 161, 90, 0.94);
  box-shadow: 0 0 0 4px rgba(197, 161, 90, 0.14);
}

.membership-box {
  padding: 20px;
  border: 1px solid rgba(197, 161, 90, 0.44);
  border-radius: 20px;
  background: rgba(197, 161, 90, 0.12);
}

.quota-preview {
  margin-top: 12px;
  padding: 13px 15px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--blue);
  font-weight: 900;
  line-height: 1.45;
}

.payment-note,
.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.checks {
  display: grid;
  gap: 12px;
}

.check-line {
  grid-template-columns: 21px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.4;
}

.check-line input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  padding: 0;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.form-status {
  min-height: 1.3em;
  margin: 2px 0 0;
  color: var(--blue-soft);
  font-weight: 800;
  line-height: 1.4;
}

.form-status.is-error {
  color: var(--danger);
}

.btn-submit {
  justify-self: start;
  min-width: 180px;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.thanks-card {
  text-align: center;
}

.thanks-card h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
}

.thanks-card p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.62;
}


.project-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  min-height: 100%;
  padding: 27px 23px;
  border: 1px solid rgba(197, 161, 90, 0.48);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-small);
}

.project-card h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.15;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.project-status {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(197, 161, 90, 0.58);
  border-radius: 999px;
  background: rgba(232, 221, 176, 0.5);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.activity-section {
  margin-top: 34px;
}

.activity-section > h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
}

.activity-section > p {
  max-width: 760px;
  margin: 0 auto 22px;
  color: var(--muted);
  line-height: 1.62;
  text-align: center;
}

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

.activity-card {
  padding: 23px 21px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(247, 244, 236, 0.72);
}

.activity-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
}

.activity-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 860px) {
  .project-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  padding: 22px 20px 30px;
  color: rgba(16, 44, 54, 0.78);
}

.footer-inner {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 44, 54, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
}

.footer-inner strong,
.footer-inner a {
  color: var(--blue);
}

.footer-inner a {
  font-weight: 800;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .home-shell {
    min-height: auto;
    padding-top: 145px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-logo {
    width: min(400px, 72vw);
  }

  .home-copy h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .home-actions {
    justify-content: center;
  }

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

@media (max-width: 680px) {
  .site-header {
    height: 70px;
    padding: 8px 14px;
  }

  .brand-mini img {
    width: 96px;
    max-width: 46vw;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .site-nav {
    top: 62px;
    right: 14px;
    left: 14px;
    min-width: 0;
  }

  .page-shell {
    padding: 104px 16px 48px;
  }

  .home-shell {
    padding: 104px 18px 48px;
    gap: 26px;
  }

  .home-logo {
    width: min(300px, 78vw);
  }

  .home-copy p {
    font-size: 1rem;
  }

  .btn-row,
  .page-actions,
  .home-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .quota-card,
  .quota-card.main {
    min-height: 100px;
    padding: 19px 20px;
    border-radius: 25px;
  }

  .quota-pair {
    grid-template-columns: 1fr;
  }

  .quota-pair .quota-card {
    min-height: 115px;
  }

  .price-options {
    grid-template-columns: 1fr;
  }

  .price-option {
    min-height: 150px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-card,
  .surface {
    padding: 21px 17px;
    border-radius: 22px;
  }

  .membership-box {
    padding: 17px 14px;
  }

  .btn-submit {
    width: 100%;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .footer-inner {
    display: grid;
    gap: 5px;
    font-size: 0.82rem;
  }
}



/* ===== Nuove pagine Attività e Progetti ===== */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.highlight-card {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-small);
}

.highlight-card h2,
.highlight-card h3 {
  margin: 0 0 10px;
  color: var(--blue);
}

.highlight-card p,
.project-copy p,
.project-page p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.project-summary-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-summary-card {
  overflow: hidden;
  border: 1px solid rgba(197, 161, 90, 0.42);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-small);
  display: flex;
  flex-direction: column;
}

.project-summary-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.project-copy {
  padding: 22px 20px 24px;
  display: grid;
  gap: 12px;
  flex: 1;
}

.project-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.project-meta {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(197, 161, 90, 0.6);
  background: rgba(232, 221, 176, 0.5);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-link {
  margin-top: auto;
  font-weight: 900;
  color: var(--blue);
  text-decoration: none;
}

.project-link:hover {
  text-decoration: underline;
}

.project-hero {
  display: grid;
  gap: 24px;
}

.project-hero-image {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.project-hero-image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 24px;
}

.project-panel {
  padding: 24px 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-small);
}

.project-panel h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.project-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.68;
}

.project-list li + li {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .project-summary-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .highlight-grid {
    grid-template-columns: 1fr;
  }
}



/* ===== Loghi definitivi dei progetti ===== */

.project-summary-card img.project-wide-logo,
.project-hero-image img.project-wide-logo {
  object-fit: contain;
  background: #ffffff;
}

.project-summary-card img.project-wide-logo {
  padding: clamp(22px, 4vw, 38px);
}

.project-hero-image img.project-wide-logo {
  padding: clamp(28px, 6vw, 70px);
}

.project-summary-card img.project-cinematic-logo,
.project-hero-image img.project-cinematic-logo {
  object-fit: cover;
  background: #030c1d;
}

.project-summary-card img.project-square-logo,
.project-hero-image img.project-square-logo {
  object-fit: contain;
  background: #071426;
}

.project-summary-card img.project-square-logo {
  padding: clamp(14px, 2.5vw, 24px);
}

.project-hero-image img.project-square-logo {
  padding: clamp(22px, 5vw, 58px);
}


/* ===== Home: collegamenti diretti ad Attività e Progetti ===== */

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

.home-feature-grid {
  margin: 26px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.home-feature-card {
  min-height: 210px;
  padding: 22px 20px;
  border: 1px solid rgba(197, 161, 90, 0.54);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-small);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--blue);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.home-feature-card:hover,
.home-feature-card:focus-visible {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(11, 52, 64, 0.13);
}

.home-feature-card-projects {
  background: rgba(232, 221, 176, 0.48);
}

.home-feature-label {
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-feature-card strong {
  margin-bottom: 9px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.05;
}

.home-feature-card > span:not(.home-feature-label) {
  color: var(--muted);
  line-height: 1.5;
}

.home-feature-card b {
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-size: 0.94rem;
}

.home-membership-note {
  margin-top: 0;
  font-size: 0.98rem !important;
}

@media (max-width: 680px) {
  .home-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-feature-card {
    min-height: 180px;
  }
}


/* ===== Home v2: testo più ampio e titolo più equilibrato ===== */

.page-home .home-shell {
  width: min(940px, 100%);
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.page-home .home-copy {
  max-width: 860px;
  margin: 0 auto;
}

.page-home .home-copy h1 {
  max-width: 760px;
  font-size: clamp(2rem, 4.5vw, 3.65rem);
  line-height: 1.04;
}

.page-home .home-copy p {
  max-width: 760px;
}

.page-home .home-logo {
  width: min(420px, 68vw);
}

@media (max-width: 860px) {
  .page-home .home-shell {
    grid-template-columns: 1fr;
  }

  .page-home .home-copy {
    max-width: 780px;
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .page-home .home-copy h1 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }
}


/* ===== OzoSteam in evidenza nella home ===== */

.page-home .home-shell {
  width: min(1180px, 100%);
}

.home-spotlight {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(42px, 7vw, 72px) 0 38px;
  border: 1px solid rgba(197, 161, 90, 0.48);
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 18%, rgba(0, 145, 220, 0.14), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7f4ec 56%, #edf4f2 100%);
  box-shadow: 0 28px 75px rgba(11, 52, 64, 0.16);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.home-spotlight::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -145px;
  z-index: -1;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(197, 161, 90, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(197, 161, 90, 0.05),
    0 0 0 78px rgba(11, 52, 64, 0.035);
}

.home-spotlight-visual {
  position: relative;
  min-height: 470px;
  padding: clamp(34px, 5vw, 62px);
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(11, 52, 64, 0.98), rgba(22, 74, 87, 0.94));
}

.home-spotlight-rings,
.home-spotlight-rings::before,
.home-spotlight-rings::after {
  position: absolute;
  border: 1px solid rgba(232, 221, 176, 0.16);
  border-radius: 50%;
  content: "";
}

.home-spotlight-rings {
  width: 340px;
  height: 340px;
}

.home-spotlight-rings::before {
  inset: 38px;
}

.home-spotlight-rings::after {
  inset: 84px;
}

.home-spotlight-logo {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
}

.maker-stamp {
  position: absolute;
  top: 25px;
  right: 22px;
  z-index: 3;
  width: 158px;
  aspect-ratio: 1;
  padding: 24px 12px;
  border: 4px double var(--gold-soft);
  border-radius: 50%;
  outline: 2px solid rgba(232, 221, 176, 0.52);
  outline-offset: 5px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(7deg);
}

.maker-stamp span {
  color: var(--gold-soft);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.maker-stamp strong {
  margin: 5px 0 3px;
  font-size: 1.14rem;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.maker-stamp b {
  padding-top: 5px;
  border-top: 1px solid rgba(232, 221, 176, 0.62);
  color: var(--gold-soft);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
}

.home-spotlight-copy {
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-copy .spotlight-kicker {
  margin: 0 0 10px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-spotlight h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.home-copy .spotlight-lead {
  margin: 18px 0 0;
  color: var(--blue-soft);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.62;
}

.spotlight-features {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.spotlight-features li {
  padding: 8px 12px;
  border: 1px solid rgba(11, 52, 64, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
}

.home-copy .spotlight-event {
  margin: 25px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  display: grid;
  gap: 3px;
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1.3;
}

.spotlight-event span {
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 700;
}

.spotlight-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.spotlight-text-link {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration-color: rgba(197, 161, 90, 0.75);
  text-underline-offset: 4px;
}

.spotlight-text-link span {
  color: var(--gold-dark);
}

@media (max-width: 900px) {
  .home-spotlight {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .home-spotlight-visual {
    min-height: 390px;
  }

  .home-spotlight-copy {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .home-spotlight {
    margin-top: 34px;
    border-radius: 26px;
  }

  .home-spotlight-visual {
    min-height: 300px;
    padding: 50px 25px 36px;
  }

  .home-spotlight-rings {
    width: 250px;
    height: 250px;
  }

  .home-spotlight-logo {
    padding: 14px;
    border-radius: 16px;
  }

  .maker-stamp {
    top: 15px;
    right: 14px;
    width: 112px;
    padding: 16px 8px;
    border-width: 3px;
    outline-offset: 3px;
  }

  .maker-stamp span {
    font-size: 0.49rem;
  }

  .maker-stamp strong {
    font-size: 0.82rem;
  }

  .maker-stamp b {
    font-size: 0.56rem;
  }

  .home-spotlight-copy {
    padding: 30px 22px 34px;
  }

  .spotlight-actions,
  .spotlight-actions .btn {
    width: 100%;
  }
}


/* ===== OzoSteam subito in apertura + timbro forte ===== */

body.page-home .home-shell {
  width: min(1180px, 100%);
  align-items: start;
}

body.page-home .home-spotlight {
  margin: 0 0 clamp(52px, 7vw, 82px);
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  border-color: rgba(11, 52, 64, 0.18);
  box-shadow: 0 30px 84px rgba(11, 52, 64, 0.2);
}

body.page-home .home-spotlight-visual {
  min-height: 545px;
  overflow: visible;
}

body.page-home .maker-stamp {
  top: 28px;
  right: -28px;
  width: 238px;
  height: 158px;
  aspect-ratio: auto;
  padding: 22px 20px;
  border: 6px solid #b20f1b;
  border-radius: 8px;
  outline: 3px solid rgba(178, 15, 27, 0.92);
  outline-offset: 5px;
  background:
    repeating-linear-gradient(
      96deg,
      rgba(255, 255, 255, 0.035) 0 3px,
      rgba(0, 0, 0, 0.055) 3px 7px
    ),
    #c11120;
  box-shadow:
    0 13px 0 rgba(38, 0, 4, 0.28),
    0 20px 38px rgba(0, 0, 0, 0.42);
  color: #fff8e8;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  transform: rotate(-8deg);
  clip-path: polygon(
    2% 8%, 7% 3%, 14% 6%, 20% 1%, 27% 5%, 35% 2%, 43% 6%,
    51% 1%, 58% 5%, 66% 2%, 73% 6%, 81% 1%, 89% 5%, 97% 3%,
    99% 12%, 96% 20%, 100% 29%, 97% 38%, 100% 47%, 96% 56%,
    100% 66%, 97% 75%, 100% 85%, 95% 97%, 87% 94%, 79% 99%,
    70% 95%, 62% 99%, 53% 95%, 44% 100%, 35% 96%, 27% 99%,
    18% 95%, 10% 99%, 2% 93%, 5% 83%, 1% 74%, 4% 64%,
    0 54%, 4% 44%, 1% 34%, 5% 25%, 1% 16%
  );
}

body.page-home .maker-stamp::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 3px solid rgba(255, 248, 232, 0.9);
  border-radius: 3px;
  opacity: 0.92;
  pointer-events: none;
}

body.page-home .maker-stamp::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(12deg, transparent 0 17%, rgba(30, 0, 0, 0.22) 18% 20%, transparent 21% 55%, rgba(255,255,255,0.14) 56% 58%, transparent 59%),
    repeating-linear-gradient(174deg, transparent 0 12px, rgba(62, 0, 5, 0.13) 13px 15px, transparent 16px 25px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

body.page-home .maker-stamp span,
body.page-home .maker-stamp strong,
body.page-home .maker-stamp b {
  position: relative;
  z-index: 1;
  color: #fff8e8;
  text-shadow: 2px 2px 0 rgba(75, 0, 7, 0.38);
}

body.page-home .maker-stamp span {
  font-size: 0.86rem;
  letter-spacing: 0.2em;
}

body.page-home .maker-stamp strong {
  margin: 7px 0 5px;
  font-size: 1.86rem;
  line-height: 0.86;
  letter-spacing: 0.015em;
}

body.page-home .maker-stamp b {
  width: 84%;
  padding-top: 6px;
  border-top: 3px solid #fff8e8;
  font-size: 0.98rem;
  letter-spacing: 0.14em;
}

@media (max-width: 900px) {
  body.page-home .home-spotlight {
    grid-template-columns: 1fr;
  }

  body.page-home .home-spotlight-visual {
    min-height: 430px;
  }

  body.page-home .maker-stamp {
    right: 18px;
  }
}

@media (max-width: 560px) {
  body.page-home .home-shell {
    padding-top: 92px;
  }

  body.page-home .home-spotlight {
    margin-bottom: 48px;
  }

  body.page-home .home-spotlight-visual {
    min-height: 335px;
    padding-top: 94px;
  }

  body.page-home .maker-stamp {
    top: 14px;
    right: 9px;
    width: 172px;
    height: 112px;
    padding: 15px 13px;
    border-width: 4px;
    outline-width: 2px;
    outline-offset: 3px;
  }

  body.page-home .maker-stamp::before {
    inset: 6px;
    border-width: 2px;
  }

  body.page-home .maker-stamp span {
    font-size: 0.6rem;
  }

  body.page-home .maker-stamp strong {
    margin: 5px 0 3px;
    font-size: 1.24rem;
  }

  body.page-home .maker-stamp b {
    padding-top: 4px;
    border-top-width: 2px;
    font-size: 0.7rem;
  }
}


/* ===== Sigillo Maker Faire e testo celebrativo ===== */

body.page-home .home-spotlight-visual {
  min-height: 610px;
  padding-top: 295px;
}

body.page-home .home-spotlight-logo {
  width: min(92%, 400px);
}

body.page-home .maker-stamp {
  top: 24px;
  right: 50%;
  width: 292px;
  height: 292px;
  padding: 48px 28px;
  border: 8px solid #b20f1b;
  border-radius: 50%;
  outline: 4px solid rgba(178, 15, 27, 0.92);
  outline-offset: 7px;
  box-shadow:
    0 0 0 8px rgba(255, 248, 232, 0.82) inset,
    0 0 0 15px rgba(178, 15, 27, 0.96) inset,
    0 17px 0 rgba(38, 0, 4, 0.25),
    0 26px 48px rgba(0, 0, 0, 0.44);
  transform: translateX(50%) rotate(-9deg);
  clip-path: circle(50% at 50% 50%);
}

body.page-home .maker-stamp::before {
  inset: 18px;
  border: 5px dashed rgba(255, 248, 232, 0.94);
  border-radius: 50%;
}

body.page-home .maker-stamp::after {
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 19%, rgba(35, 0, 4, 0.35) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 31%, rgba(255, 248, 232, 0.25) 0 3px, transparent 4px),
    radial-gradient(circle at 62% 78%, rgba(35, 0, 4, 0.28) 0 4px, transparent 5px),
    repeating-linear-gradient(173deg, transparent 0 14px, rgba(62, 0, 5, 0.16) 15px 18px, transparent 19px 29px);
}

body.page-home .maker-stamp span {
  font-size: 1rem;
  letter-spacing: 0.23em;
}

body.page-home .maker-stamp strong {
  margin: 12px 0 10px;
  font-size: 2.38rem;
  line-height: 0.88;
}

body.page-home .maker-stamp b {
  width: 78%;
  padding-top: 9px;
  border-top-width: 4px;
  font-size: 1.16rem;
}

.maker-result {
  position: relative;
  margin: -24px 34px clamp(62px, 8vw, 92px);
  padding: clamp(30px, 4.5vw, 48px);
  border-left: 8px solid #c11120;
  border-radius: 0 24px 24px 0;
  background:
    linear-gradient(110deg, rgba(193, 17, 32, 0.095), rgba(255, 255, 255, 0.72) 48%, rgba(232, 221, 176, 0.2));
  box-shadow: 0 18px 42px rgba(11, 52, 64, 0.1);
}

.home-copy .maker-result-label {
  margin: 0 0 11px;
  color: #aa101b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.home-copy .maker-result > p:last-child {
  max-width: 990px;
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.16rem, 2vw, 1.55rem);
  font-weight: 650;
  line-height: 1.54;
}

.maker-result strong {
  color: #a50e18;
  font-weight: 900;
}

@media (max-width: 900px) {
  body.page-home .home-spotlight-visual {
    min-height: 570px;
    padding-top: 285px;
  }

  body.page-home .maker-stamp {
    right: 50%;
  }

  .maker-result {
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (max-width: 560px) {
  body.page-home .home-spotlight-visual {
    min-height: 465px;
    padding-top: 240px;
  }

  body.page-home .maker-stamp {
    top: 18px;
    right: 50%;
    width: 224px;
    height: 224px;
    padding: 36px 20px;
    border-width: 6px;
    outline-width: 3px;
    outline-offset: 5px;
    transform: translateX(50%) rotate(-9deg);
  }

  body.page-home .maker-stamp::before {
    inset: 13px;
    border-width: 3px;
  }

  body.page-home .maker-stamp span {
    font-size: 0.75rem;
  }

  body.page-home .maker-stamp strong {
    margin: 9px 0 7px;
    font-size: 1.76rem;
  }

  body.page-home .maker-stamp b {
    padding-top: 6px;
    border-top-width: 3px;
    font-size: 0.86rem;
  }

  .maker-result {
    margin: -14px 8px 54px;
    padding: 27px 21px 29px;
    border-left-width: 6px;
    border-radius: 0 20px 20px 0;
  }

  .home-copy .maker-result > p:last-child {
    font-size: 1.08rem;
    line-height: 1.55;
  }
}


/* ===== Timbro autentico SVG ===== */

body.page-home .home-spotlight-visual {
  min-height: 660px;
  padding-top: 375px;
}

body.page-home .maker-stamp-image {
  position: absolute;
  top: -3px;
  right: 50%;
  z-index: 4;
  width: 380px;
  height: 380px;
  max-width: none;
  object-fit: contain;
  filter:
    drop-shadow(0 4px 0 rgba(61, 0, 6, 0.28))
    drop-shadow(0 14px 18px rgba(0, 0, 0, 0.26));
  transform: translateX(50%) rotate(-8deg);
  transform-origin: center;
}

@media (max-width: 900px) {
  body.page-home .home-spotlight-visual {
    min-height: 625px;
    padding-top: 355px;
  }

  body.page-home .maker-stamp-image {
    width: 355px;
    height: 355px;
  }
}

@media (max-width: 560px) {
  body.page-home .home-spotlight-visual {
    min-height: 510px;
    padding-top: 292px;
  }

  body.page-home .maker-stamp-image {
    top: 5px;
    width: 285px;
    height: 285px;
  }
}


/* Navigazione a scomparsa anche sui monitor grandi. */
@media (min-width: 1500px) {
  .menu-toggle { display: inline-flex; }
  .site-nav { position: fixed; top: 68px; right: clamp(18px, 4vw, 64px); min-width: 255px; max-width: calc(100vw - 28px); padding: 14px; border: 1px solid var(--border); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); display: none; }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 14px; font-size: 15px; }
}

.page-home { background: #f8f6f1; color: #2d332f; }
.page-home .site-header { background: rgba(248,246,241,.97); border-bottom: 1px solid #deded7; box-shadow: none; }
.page-home .menu-toggle { background: #fff; border-color: #d8ddd5; box-shadow: none; }
.page-home .menu-toggle span { background: #2d332f; }
.page-home .site-nav { background: #fffdf9; }
.page-home .site-footer { background: #f8f6f1; }
.alma-home-compact { width: min(1160px, 100%); margin: 0 auto; padding: 78px clamp(22px, 5vw, 55px) 20px; }
.alma-home-compact h1, .alma-home-compact h2 { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.038em; line-height: 1.06; color: #2c322e; }
.alma-home-compact p { color: #48534b; line-height: 1.62; }
.alma-home-feature { min-height: 510px; display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(240px, .62fr); gap: clamp(35px, 6vw, 85px); align-items: center; padding: clamp(50px, 6vw, 85px) 0 70px; border-bottom: 1px solid #dce0d8; }
.alma-home-label { margin: 0 0 24px; color: #4b6953 !important; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.alma-home-label span { color: #b4bbb2; padding: 0 8px; }
.alma-home-feature h1 { max-width: 680px; font-size: clamp(3.5rem, 6.3vw, 6.2rem); }
.alma-home-lead { max-width: 640px; margin: 27px 0 24px; font-size: clamp(1.07rem, 1.75vw, 1.27rem); }
.alma-home-lead strong { color: #2c322e; }
.alma-home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; padding: 14px 21px; background: #334b3b; color: white; font-weight: 700; text-decoration: none; }
.alma-home-button:hover, .alma-home-button:focus-visible { background: #243a2b; }
.alma-home-place { margin: 20px 0 0; color: #747d75 !important; font-size: .82rem; letter-spacing: .02em; }
.alma-home-image { margin: 0; padding: 22px; background: #efeee8; }
.alma-home-image img { display: block; width: 100%; max-height: 270px; object-fit: contain; }
.alma-home-spirit { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(230px, .7fr); gap: clamp(25px, 7vw, 90px); align-items: end; padding: 62px 0 54px; }
.alma-home-spirit .alma-home-label { margin-bottom: 17px; }
.alma-home-spirit h2 { max-width: 680px; font-size: clamp(2.5rem, 4.5vw, 4.1rem); }
.alma-home-spirit em { color: #6e796f; font-weight: 400; }
.alma-home-spirit-side p { margin: 0 0 18px; font-size: 1.03rem; }
.alma-home-spirit-side a { color: #334b3b; font-weight: 800; text-decoration: none; border-bottom: 1px solid #93a497; padding-bottom: 6px; }
.alma-home-spirit-side a:hover { border-color: #334b3b; }

/* Approfondimenti raggiungibili dal menu. */
.alma-editorial { width: min(920px, 100%); margin: 0 auto; padding: 143px 24px 85px; color: #2e3530; }
.alma-editorial .alma-eyebrow { color: #637b68; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.alma-editorial h1, .alma-editorial h2 { color: #2c322e; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -.03em; line-height: 1.13; }
.alma-editorial h1 { margin: 12px 0 25px; font-size: clamp(2.8rem, 6vw, 5rem); }
.alma-editorial h2 { margin: 0 0 17px; font-size: clamp(2rem, 4vw, 3rem); }
.alma-editorial p { max-width: 720px; color: #48534b; font-size: 1.08rem; line-height: 1.75; }
.alma-editorial .alma-editorial-intro { max-width: 780px; font-size: 1.25rem; }
.alma-editorial section { padding: 45px 0; border-top: 1px solid #dce0d8; }
.alma-editorial .alma-editorial-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 20px; }
.alma-editorial a { color: #35523b; font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 760px) {
  .alma-home-compact { padding: 70px 20px 0; }
  .alma-home-feature { min-height: 0; grid-template-columns: 1fr; gap: 35px; padding: 55px 0 48px; }
  .alma-home-feature h1 { font-size: clamp(3.1rem, 11.5vw, 5rem); }
  .alma-home-image { width: min(265px, 70%); padding: 15px; }
  .alma-home-image img { max-height: 205px; }
  .alma-home-spirit { grid-template-columns: 1fr; gap: 18px; padding: 44px 0 42px; }
  .alma-home-spirit h2 { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .alma-editorial { padding: 115px 20px 60px; }
}


/* Schede fotografiche della home. */
.alma-home-compact { width: min(1160px, 100%); padding-top: 118px; padding-bottom: 44px; }
.alma-home-feature, .alma-home-spirit { overflow: hidden; border: 1px solid #dddcd2; border-radius: 16px; background: #fffdf8; box-shadow: 0 12px 34px rgba(28, 44, 33, .045); }
.alma-home-feature { min-height: 0; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 0; align-items: stretch; padding: 0; border-bottom: 1px solid #dddcd2; }
.alma-home-feature-copy { align-self: center; padding: clamp(34px, 5vw, 64px); }
.alma-home-feature h1 { font-size: clamp(3rem, 5.2vw, 5.2rem); }
.alma-home-lead { margin-top: 22px; font-size: clamp(1rem, 1.45vw, 1.16rem); }
.alma-home-button { border-radius: 4px; }
.alma-home-image { position: relative; min-width: 0; min-height: 470px; padding: 0; background: #ddd9cd; }
.alma-home-image img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 50% 50%; }
.alma-home-image figcaption { position: absolute; right: 12px; bottom: 12px; padding: 6px 9px; border-radius: 3px; background: rgba(24, 35, 30, .8); color: #fff; font-size: .7rem; }
.alma-home-spirit { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0; align-items: stretch; margin-top: 22px; padding: 0; }
.alma-home-spirit-image { min-height: 295px; margin: 0; background: #e5e3d7; }
.alma-home-spirit-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.alma-home-spirit-copy { align-self: center; padding: clamp(30px, 4vw, 48px); }
.alma-home-spirit h2 { max-width: 520px; font-size: clamp(2.35rem, 3.7vw, 3.8rem); }
.alma-home-spirit-side { margin-top: 24px; }
.alma-home-spirit-side p { margin-bottom: 12px; }
.alma-editorial-photo { overflow: hidden; margin: 30px 0 42px; border: 1px solid #dddcd2; border-radius: 14px; background: #e5e2d7; }
.alma-editorial-photo img { display: block; width: 100%; max-height: 340px; object-fit: cover; object-position: center 45%; }
.alma-editorial-photo figcaption { padding: 9px 14px; color: #647168; font-size: .78rem; }
@media (max-width: 760px) {
  .alma-home-compact { padding: 92px 16px 36px; }
  .alma-home-feature, .alma-home-spirit { grid-template-columns: 1fr; }
  .alma-home-image { order: -1; width: 100%; min-height: 0; height: clamp(210px, 58vw, 340px); }
  .alma-home-image img { height: 100%; }
  .alma-home-feature-copy { padding: 28px 25px 34px; }
  .alma-home-feature h1 { font-size: clamp(2.7rem, 10vw, 4.5rem); }
  .alma-home-label { margin-bottom: 16px; }
  .alma-home-lead { margin: 17px 0 20px; }
  .alma-home-spirit { gap: 0; margin-top: 16px; padding: 0; }
  .alma-home-spirit-image { height: clamp(175px, 48vw, 280px); min-height: 0; }
  .alma-home-spirit-copy { padding: 27px 25px 35px; }
  .alma-home-spirit h2 { font-size: clamp(2.2rem, 8.4vw, 3.5rem); }
  .alma-home-spirit-side { margin-top: 16px; }
}


/* Linguaggio visivo delle pagine interne: carta chiara, fotografie e titoli editoriali. */
body:not(.page-home) { background: #f8f6f1; color: #2d332f; }
body:not(.page-home) .site-header { background: rgba(248,246,241,.97); border-bottom: 1px solid #deded7; box-shadow: none; }
body:not(.page-home) .menu-toggle { background: #fff; border-color: #d8ddd5; box-shadow: none; }
body:not(.page-home) .menu-toggle span { background: #2d332f; }
body:not(.page-home) .site-nav { background: #fffdf9; }
body:not(.page-home) .site-footer { background: #f8f6f1; }
.page-shell { width: min(1160px,100%); padding: 122px clamp(20px,5vw,55px) 76px; }
.page-shell.narrow { width: min(900px,100%); }
.page-heading { max-width: 920px; margin: 0 0 30px; text-align: left; }
.page-shell .eyebrow { margin-bottom: 15px; color: #4b6953; font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.page-shell h1, .page-shell h2, .page-shell h3 { color: #2c322e; font-family: Georgia,'Times New Roman',serif; font-weight: 400; letter-spacing: -.033em; }
.page-shell h1 { font-size: clamp(3.2rem,6vw,5.4rem); line-height: 1.06; }
.page-shell .lead { max-width: 800px; margin: 20px 0 0; color: #48534b; font-size: clamp(1.08rem,1.7vw,1.3rem); line-height: 1.65; }
.page-shell p, .page-shell li { color: #48534b; }
.page-shell .btn { border-radius: 4px; font-weight: 700; }
.page-shell .btn-primary, .page-shell .btn-dark { background: #334b3b; border-color: #334b3b; color: #fff; }
.page-shell .btn-primary:hover, .page-shell .btn-dark:hover { background: #243a2b; }
.page-shell .btn-secondary { background: #fffdf8; border-color: #cdd5cb; color: #334b3b; }
.page-shell .page-actions { justify-content: flex-start; margin-top: 28px; }
.alma-page-photo { position: relative; overflow: hidden; margin: 0 0 22px; border: 1px solid #dddcd2; border-radius: 15px; background: #ddd9cd; }
.alma-page-photo img { display: block; width: 100%; height: clamp(260px,34vw,440px); object-fit: cover; object-position: center 50%; }
.alma-page-photo figcaption { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 4px; background: rgba(24,35,30,.82); color: #fff; font-size: .72rem; }
.highlight-grid { margin-top: 0; gap: 16px; }
.highlight-card, .project-summary-card, .project-panel, .page-shell .surface, .page-shell .form-card { border: 1px solid #dddcd2; border-radius: 15px; background: #fffdf8; box-shadow: 0 12px 34px rgba(28,44,33,.045); }
.highlight-card { min-height: 215px; padding: 29px 30px; }
.highlight-card h2, .highlight-card h3 { font-size: clamp(1.6rem,2.4vw,2.15rem); line-height: 1.18; }
.highlight-card p { color: #48534b; }
.project-summary-grid { gap: 18px; margin-top: 28px; }
.project-summary-card img { aspect-ratio: 16/10; }
.project-summary-card img.project-photo { object-fit: cover; object-position: center; }
.project-summary-card img.project-cinematic-logo, .project-summary-card img.project-square-logo { object-fit: contain; }
.project-copy { padding: 23px 25px 28px; gap: 12px; }
.project-copy h2 { font-size: clamp(1.7rem,2.4vw,2.25rem); line-height: 1.1; }
.project-copy p { color: #48534b; }
.project-meta { padding: 0; border: 0; border-radius: 0; background: none; color: #4b6953; font-size: .72rem; letter-spacing: .12em; }
.project-link { color: #334b3b; text-underline-offset: 5px; }
.project-photo-credit { display: block; padding: 7px 12px; background: #f6f5ee; color: #647168; font-size: .7rem; }
.project-hero-image { margin: 0; border: 1px solid #dddcd2; border-radius: 15px; box-shadow: 0 12px 34px rgba(28,44,33,.045); background: #fffdf8; }
.project-hero-image img { aspect-ratio: auto; height: clamp(260px,36vw,430px); }
.project-hero-image img.project-photo { object-fit: cover; object-position: center 45%; }
.project-hero-image img.project-square-logo, .project-hero-image img.project-cinematic-logo { object-fit: contain; }
.project-hero-image figcaption { padding: 10px 16px; color: #647168; font-size: .79rem; }
.project-content-grid { gap: 16px; margin-top: 16px; }
.project-panel { padding: 29px 30px; }
.project-panel h2 { font-size: clamp(1.8rem,2.8vw,2.4rem); }
.project-panel .eyebrow { font-family: Arial,Helvetica,sans-serif; font-size: .72rem; font-weight: 800; }
.project-panel p, .project-list { color: #48534b; }
.alma-editorial section { margin-top: 16px; padding: clamp(26px,4vw,40px); border: 1px solid #dddcd2; border-radius: 15px; background: #fffdf8; box-shadow: 0 12px 34px rgba(28,44,33,.045); }
.alma-editorial section h2 { font-size: clamp(1.9rem,3.5vw,2.75rem); }
.alma-editorial section p { margin-bottom: 0; }
.alma-editorial .alma-editorial-links { margin-top: 18px; }
.alma-editorial .alma-editorial-photo { margin-bottom: 22px; }
.page-shell .surface { backdrop-filter: none; }
.support-intro { text-align: left; }
.support-intro p { margin: 0; }
.support-card { border-color: #dddcd2; border-radius: 12px; background: #f6f5ef; text-align: left; }
.support-card h3 { font-size: 1.5rem; }
.quota-grid, .price-options { width: min(920px,100%); margin: 0; }
.quota-card, .price-option { border: 1px solid #dddcd2; border-radius: 15px; background: #fffdf8; box-shadow: 0 12px 34px rgba(28,44,33,.045); color: #2c322e; }
.quota-card:hover, .price-option:hover { background: #f1f4ee; }
.quota-name, .price-option strong { font-family: Georgia,'Times New Roman',serif; font-weight: 400; }
.quota-price, .price-option span { color: #35583f; font-family: Georgia,'Times New Roman',serif; font-weight: 400; }
.payment-box, .notice-box { width: min(920px,100%); margin-left: 0; border: 1px solid #d6dfd5; border-radius: 12px; background: #eaf0e9; color: #334b3b; font-weight: 600; text-align: left; }
.form-card { margin-left: 0; }
.form-card label { color: #2d4033; }
.form-card input, .form-card select, .form-card textarea { border-color: #cdd5cb; border-radius: 7px; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: #4b6953; box-shadow: 0 0 0 3px #cfe0cf; }
.membership-box { border-color: #d6dfd5; border-radius: 12px; background: #eef2eb; }
.quota-preview { color: #334b3b; }
@media (max-width: 760px) {
  .page-shell { padding: 102px 20px 58px; }
  .page-shell h1 { font-size: clamp(2.8rem,10vw,4.4rem); }
  .page-shell .lead { margin-top: 16px; }
  .alma-page-photo img { height: clamp(205px,56vw,330px); }
  .highlight-card { min-height: 0; padding: 24px; }
  .project-summary-grid { grid-template-columns: 1fr; }
  .project-panel { padding: 25px; }
  .project-hero-image img { height: clamp(230px,55vw,350px); }
  .alma-editorial section { padding: 27px 24px; }
  .page-shell .page-actions { gap: 10px; }
}


/* Alma Tellus: condivisione, idee e progetti */
.alma-activities .page-heading { max-width: 1050px; margin-bottom: 35px; }
.alma-activities h1 { max-width: 1050px; font-size: clamp(3.15rem, 6.5vw, 6.2rem); }
.alma-activities h1 em, .alma-activity-panel h2 em { color: #66836c; font-weight: 400; }
.alma-activities .lead { max-width: 860px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.alma-activity-sections { border-top: 1px solid #d9ddd4; }
.alma-activity-panel { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: clamp(12px, 3vw, 45px); padding: clamp(36px, 5vw, 70px) clamp(12px, 4vw, 55px); border-bottom: 1px solid #d9ddd4; }
.alma-activity-panel:nth-child(2) { background: #f1f2eb; }
.alma-activity-number { color: #79917c; font: 400 clamp(2.7rem, 4vw, 4.4rem)/1 Georgia, serif; }
.alma-activity-panel h2 { margin: 0; max-width: 800px; font-size: clamp(2.25rem, 4.2vw, 4.2rem); line-height: 1.08; }
.alma-activity-panel p:not(.eyebrow) { max-width: 790px; margin: 22px 0 0; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.66; }
.alma-activity-panel a { display: inline-block; margin-top: 24px; color: #334b3b; font-weight: 800; text-underline-offset: 5px; }
.alma-activity-invite { margin-top: 34px; padding: clamp(30px, 5vw, 60px); border-radius: 15px; background: #e9eee6; }
.alma-activity-invite h2 { margin: 0; font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.alma-activity-invite p:not(.eyebrow) { max-width: 700px; font-size: 1.2rem; line-height: 1.55; }

.alma-projects .page-heading { max-width: 980px; }
.alma-projects h1 { max-width: 980px; }
.alma-project-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.alma-project-story { min-width: 0; overflow: hidden; border: 1px solid #dddcd2; border-radius: 15px; background: #fffdf8; box-shadow: 0 12px 34px rgba(28,44,33,.045); }
.alma-project-story-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 43% 57%; }
.alma-project-story figure { position: relative; overflow: hidden; width: 100%; height: 260px; margin: 0; background: #e6e4da; }
.alma-project-story-featured figure { height: 100%; min-height: 410px; }
.alma-project-story figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.alma-project-story figure.alma-project-logo { background: #f6f5ef; }
.alma-project-story figure.alma-project-logo img { padding: 28px; object-fit: contain; }
.alma-project-story figcaption { position: absolute; bottom: 10px; right: 10px; max-width: calc(100% - 20px); padding: 6px 9px; border-radius: 4px; background: rgba(25,35,29,.78); color: #fff; font-size: .72rem; line-height: 1.3; }
.alma-project-story-copy { padding: clamp(25px, 3vw, 42px); }
.alma-project-story .project-meta { margin: 0 0 15px; color: #52705a; font: 800 .78rem/1.4 Arial, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.alma-project-story h2 { margin: 0 0 16px; font-size: clamp(2.15rem, 3.15vw, 3.6rem); line-height: 1.08; }
.alma-project-story p:not(.project-meta) { font-size: 1.08rem; line-height: 1.6; }
.alma-project-story-note { padding-top: 12px; border-top: 1px solid #d9ddd4; font-size: .96rem !important; }
.alma-project-story-links { display: flex; gap: 12px 23px; flex-wrap: wrap; margin-top: 25px; }
.alma-project-story-links a, .alma-projects-invite a { color: #334b3b; font-weight: 800; text-underline-offset: 5px; }
.alma-projects-invite { margin-top: 26px; padding: 25px 29px; border-radius: 12px; background: #e9eee6; }
.alma-projects-invite p { margin: 0; font-size: 1.2rem; line-height: 1.5; }
.alma-home-spirit h2 { max-width: 650px; }
@media (max-width: 760px) {
  .alma-activity-panel { grid-template-columns: 1fr; gap: 8px; padding: 35px 20px; }
  .alma-activity-number { font-size: 2.5rem; }
  .alma-activity-panel p:not(.eyebrow) { margin-top: 17px; }
  .alma-project-stories { grid-template-columns: 1fr; gap: 16px; }
  .alma-project-story-featured { grid-column: auto; display: block; }
  .alma-project-story-featured figure, .alma-project-story figure { height: clamp(215px, 55vw, 330px); min-height: 0; }
  .alma-project-story-copy { padding: 26px 23px 30px; }
  .alma-project-story h2 { font-size: clamp(2.1rem, 8vw, 3.1rem); }
}

/* Foto ShareGames: stessa indicazione visiva delle anteprime del catalogo. */
.share-games-photo { position: relative; }
.alma-editorial-photo.share-games-photo img { height: clamp(270px, 34vw, 370px); max-height: none; object-fit: cover; object-position: center 60%; }
.alma-project-story-featured .share-games-photo img { object-position: center 60%; }
.share-games-photo .share-game-pointer { position: absolute; z-index: 1; left: 50%; top: 53%; display: grid; place-items: center; width: 72px; height: 72px; transform: translate(-50%, -50%); border: 4px solid #fff; border-radius: 50%; background: linear-gradient(145deg, #ffcf33, #ff4c36); box-shadow: 0 0 0 5px #ff4c36aa, 0 10px 24px #0006; font-size: 43px; line-height: 1; pointer-events: none; }
.alma-project-story-featured .share-games-photo .share-game-pointer { left: 45%; top: 39%; }
@media (max-width: 760px) {
  .alma-editorial-photo.share-games-photo img { height: clamp(245px, 57vw, 340px); }
  .share-games-photo .share-game-pointer { width: 58px; height: 58px; font-size: 35px; }
  .alma-project-story-featured .share-games-photo .share-game-pointer { left: 45%; top: 52%; }
}


/* Invito Maker Faire Rome 2026 nella pagina OzoSteam. */
.mfr-invitation { margin-top: 26px; padding: clamp(28px,5vw,52px); border: 1px solid #d7dfd5; border-radius: 16px; background: #e9f0e8; }
.mfr-invitation-top { display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 25px; align-items: start; }
.mfr-invitation h2, .mfr-promo h2 { max-width: 700px; margin: 0; font-size: clamp(2.6rem,5.5vw,5.2rem); line-height: 1.04; }
.mfr-invitation-copy > p:not(.eyebrow), .mfr-promo-intro > p:not(.eyebrow) { max-width: 660px; margin: 19px 0 0; color: #48534b; font-size: clamp(1.12rem,1.7vw,1.38rem); line-height: 1.55; }
.mfr-official-brand { display: grid; align-content: center; gap: 10px; min-height: 135px; padding: 16px; border: 1px solid #d7dfd5; border-radius: 12px; background: #fff; color: #2d4033; font-weight: 800; text-decoration: none; text-align: center; }
.mfr-official-brand img { display: block; width: 100%; height: 85px; object-fit: contain; }
.mfr-official-brand span { font-size: .85rem; }
.mfr-event-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 32px; }
.mfr-event-details p { display: grid; align-content: center; gap: 6px; min-height: 110px; margin: 0; padding: 16px 18px; border: 1px solid #d7dfd5; border-radius: 10px; background: #fffdf8; }
.mfr-event-details strong { color: #2d4033; font-size: 1.12rem; }
.mfr-event-details span { color: #66736a; font-size: .9rem; line-height: 1.35; }
.mfr-invitation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 25px; }
.mfr-text-link, .mfr-video-caption a { color: #2d4033; font-weight: 800; text-underline-offset: 4px; }
.mfr-social-note { margin: 19px 0 0 !important; color: #526459 !important; font-size: .9rem; }
.mfr-promo { margin-top: 20px; padding: clamp(24px,4vw,38px); border: 1px solid #dddcd2; border-radius: 16px; background: #fffdf8; }
.mfr-promo h2 { font-size: clamp(2.1rem,4vw,3.8rem); }
.mfr-promo-video { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 26px; border-radius: 10px; background: #172a21; object-fit: cover; }
.mfr-video-caption { margin: 12px 0 0 !important; color: #66736a !important; font-size: .88rem; line-height: 1.5; }
.alma-editorial-photo.share-games-photo img { object-position: center bottom; }
.alma-editorial-photo.share-games-photo .share-game-pointer { left: 43%; top: 64%; }
@media (max-width: 760px) {
  .mfr-invitation-top { grid-template-columns: 1fr; }
  .mfr-official-brand { width: min(245px,100%); }
  .mfr-event-details { grid-template-columns: 1fr; }
  .mfr-event-details p { min-height: 80px; }
  .alma-editorial-photo.share-games-photo .share-game-pointer { top: 69%; }
}
.alma-project-story-featured .share-games-photo img { object-position: center bottom; }
.alma-project-story-featured .share-games-photo .share-game-pointer { left: 43%; top: 64%; }
@media (max-width: 760px) { .alma-project-story-featured .share-games-photo .share-game-pointer { top: 69%; } }


/* Grafica ufficiale MFR 2026 nella vetrina della home. */
.alma-home-official-poster { display: flex; flex-direction: column; min-height: 0; padding: 15px; background: #eff1e9; }
.alma-home-official-poster .alma-home-poster-frame { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: #fff; }
.alma-home-official-poster .alma-home-poster-frame img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; transform: scale(1.13); }
.alma-home-official-poster figcaption { position: static; margin-top: 10px; padding: 0; background: transparent; color: #607066; font-size: .74rem; text-align: center; }
@media (max-width: 760px) {
  .alma-home-feature .alma-home-official-poster { width: 100%; height: auto; min-height: 0; padding: 12px; }
  .alma-home-official-poster .alma-home-poster-frame img { max-height: none; }
}

/* Quote speciali per l'inaugurazione. */
.alma-inauguration-page .page-heading { max-width: 950px; }
.alma-inauguration-page .page-heading h1 { max-width: 920px; }
.alma-inauguration-page .page-heading .lead { max-width: 850px; }
.alma-inauguration-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 38px; }
.alma-inauguration-card { display: flex; flex-direction: column; min-height: 230px; padding: 27px 30px; border: 1px solid #d7dfd5; border-radius: 14px; background: #fffdf8; box-shadow: 0 12px 34px rgba(28,44,33,.05); color: #2d4033; text-decoration: none; transition: transform .18s ease, background .18s ease; }
.alma-inauguration-card:hover, .alma-inauguration-card:focus-visible { transform: translateY(-3px); background: #f4f8f1; }
.alma-inauguration-card.main { background: #e9f0e8; }
.alma-inauguration-name { font-family: Georgia,'Times New Roman',serif; font-size: clamp(1.6rem,2.3vw,2.15rem); line-height: 1.15; }
.alma-inauguration-price { margin-top: 15px; color: #35583f; font-family: Georgia,'Times New Roman',serif; font-size: clamp(2.7rem,4vw,4.2rem); line-height: 1; }
.alma-inauguration-price small { font: 600 1rem/1.5 Arial,Helvetica,sans-serif; color: #66736a; }
.alma-inauguration-action { margin-top: auto; padding-top: 23px; font-size: .96rem; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.alma-inauguration-note { margin-top: 22px; padding: clamp(24px,4vw,42px); border: 1px solid #d7dfd5; border-radius: 14px; background: #f1f5ee; }
.alma-inauguration-note h2 { margin: 0 0 12px; font-size: clamp(1.8rem,3vw,2.55rem); }
.alma-inauguration-note p { max-width: 850px; margin: 0; color: #48534b; font-size: 1.05rem; line-height: 1.65; }
.alma-inauguration-note a { display: inline-block; margin-top: 18px; color: #2d4033; font-weight: 800; text-underline-offset: 4px; }
.alma-editorial .alma-inauguration-promo { background: #edf3eb; border-radius: 12px; border: 1px solid #d7dfd5; padding: clamp(25px,4vw,42px); }
.alma-editorial .alma-inauguration-promo .alma-eyebrow { margin: 0 0 13px; font-size: .75rem; line-height: 1.4; }
@media (max-width: 760px) {
  .alma-inauguration-grid { grid-template-columns: 1fr; margin-top: 25px; }
  .alma-inauguration-card { min-height: 200px; padding: 23px; }
  .alma-inauguration-price small { display: inline-block; }
}

.alma-home-feature .alma-home-official-poster { justify-content: center; }

/* Bilanciamento dell'hero su desktop e schermi intermedi. */
@media (min-width: 761px) {
  .alma-home-feature h1 { font-size: clamp(2.9rem, 4.7vw, 4.8rem); }
  .alma-home-feature .alma-home-official-poster { justify-content: center; }
}
@media (min-width: 761px) and (max-width: 1150px) {
  .alma-home-feature h1 { font-size: clamp(2.7rem, 4.8vw, 3.6rem); }
  .alma-home-feature-copy { padding: clamp(28px, 4vw, 48px); }
}
