/* Homepage (gruppo "home"): selettori prefissati da .cr-home */

/* Hero: sfumatura leggera surface -> bianco */
.cr-home-hero { background: linear-gradient(180deg, var(--wp--preset--color--surface) 0%, var(--wp--preset--color--base) 100%); }
.cr-home-hero h1 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cr-home-hero .cr-home-risk { margin-top: var(--wp--preset--spacing--20); }
.cr-home-hero-shot { max-width: 1040px !important; }

/* Striscia loghi clienti */
.cr-home-clients { border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.cr-home-clients .cr-logos { gap: var(--wp--preset--spacing--50); align-items: center; margin-top: var(--wp--preset--spacing--30); }
.cr-home-clients .cr-logos { gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--50); }
/* I file dei loghi hanno molto spazio vuoto attorno: la cornice ritaglia l'eccesso e ogni logo ha un'altezza calibrata */
.cr-home-clients .cr-logos .wp-block-image { margin: 0; height: 72px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cr-home-clients .cr-logos img { max-height: none; max-width: none; width: auto; flex: none; }
.cr-home-clients .cr-logos .wp-block-image:nth-child(1) img { height: 110px; }
.cr-home-clients .cr-logos .wp-block-image:nth-child(2) img { height: 150px; }
.cr-home-clients .cr-logos .wp-block-image:nth-child(3) img { height: 200px; }
.cr-home-clients .cr-logos .wp-block-image:nth-child(4) img { height: 145px; }
.cr-home-clients .cr-logos .wp-block-image:nth-child(5) img { height: 60px; }
.cr-home-clients .cr-logos .wp-block-image:nth-child(2),
.cr-home-clients .cr-logos .wp-block-image:nth-child(3) { width: 200px; }
@media (max-width: 600px) {
  .cr-home-clients .cr-logos .wp-block-image { transform: scale(.8); margin: -6px -14px; }
}

/* Righe funzionalità alternate (testo a destra su desktop) */
@media (min-width: 782px) { .cr-home-feature.cr-home-reverse { flex-direction: row-reverse; } }
.cr-home-feature .cr-window { margin: 0; }

/* Card percorsi: link in fondo */
.cr-home .cr-home-card-link { margin-top: auto !important; font-weight: 600; }
.cr-home .cr-card .cr-check-list { margin: 0; }

/* Card prezzo */
.cr-home-price { box-shadow: 0 24px 60px rgba(15,23,51,.10); }
.cr-home-price-amount { font-family: var(--wp--preset--font-family--heading, inherit); line-height: 1.1; margin: 0; }
.cr-home-price-amount strong { font-size: clamp(2.75rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.02em; }
.cr-home-price-amount span { display: block; font-size: 1.0625rem; font-weight: 600; color: var(--wp--preset--color--muted); margin-top: .25rem; }

/* Requisiti: card centrate */
.cr-home-reqs .cr-card { align-items: center; text-align: center; }

/* FAQ */
.cr-home-faq .wp-block-details + .wp-block-details { margin-top: var(--wp--preset--spacing--20); }
.cr-home-faq summary { font-weight: 600; cursor: pointer; }
.cr-home-faq details[open] summary { margin-bottom: .5rem; }

/* Link nelle sezioni */
.cr-home a:not(.wp-element-button) { font-weight: 600; text-decoration: none; }
.cr-home a:not(.wp-element-button):hover { text-decoration: underline; }

