: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;
}

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);
  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);
  }
}
