/* Loaded only by default.aspx: hide the home breadcrumb without changing other pages. */
.public-site nav[aria-label="Percorso di navigazione"] { display: none; }
/* R10: static, server-rendered home. All selectors are limited to the public home. */
.public-site .ps-home .home-section { padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.public-site .ps-home .home-hero { padding: clamp(3rem, 6vw, 6rem) 0; background: var(--ps-soft); border-bottom: 1px solid var(--ps-border); }
.public-site .ps-home .home-hero h1 { max-width: 22ch; font-size: clamp(2.1rem, 4.5vw, 3.6rem); margin-bottom: 1.5rem; }
.public-site .ps-home .home-eyebrow { color: var(--ps-primary); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; }
.public-site .ps-home .home-hero .lead { max-width: 65ch; }
.public-site .ps-home .home-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin: 1.75rem 0 1.25rem; }
.public-site .ps-home .home-hero-note { color: var(--ps-muted); font-size: .95rem; margin-bottom: 0; }
.public-site .ps-home .home-section-heading { margin-bottom: 2rem; }
.public-site .ps-home .home-section-heading h2 { max-width: 32ch; }
.public-site .ps-home .home-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.public-site .ps-home h3 { font-size: 1.3rem; font-weight: 650; margin-bottom: 1rem; }
.public-site .ps-home .home-service-grid ul { padding-left: 1.25rem; margin-bottom: 0; }
.public-site .ps-home .home-service-grid li + li { margin-top: .4rem; }
.public-site .ps-home .home-method { background: var(--ps-soft); }
.public-site .ps-home .home-method-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; counter-reset: home-step; padding: 0; margin: 2rem 0 0; }
.public-site .ps-home .home-method-grid li { counter-increment: home-step; }
.public-site .ps-home .home-method-grid li::before { content: "0" counter(home-step); display: block; font-size: 1.8rem; font-weight: 700; color: var(--ps-primary); margin-bottom: .75rem; }
.public-site .ps-home .home-method-grid p { margin-bottom: 0; }
.public-site .ps-home .home-about { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; }
.public-site .ps-home .home-contact { padding: clamp(1.5rem, 4vw, 3rem); border-top: .4rem solid var(--ps-accent); }
@media (max-width: 991.98px) { .public-site .ps-home .home-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575.98px) {
    .public-site .ps-home .home-service-grid, .public-site .ps-home .home-method-grid, .public-site .ps-home .home-about { grid-template-columns: minmax(0, 1fr); }
    .public-site .ps-home .home-actions .btn { width: 100%; }
}

/* Two secondary accents, limited to the four home service areas. Icons are decorative. */
.public-site .ps-home { --ps-home-blue: #23556b; --ps-home-blue-soft: #edf4f8; --ps-home-terra: #88442e; --ps-home-terra-soft: #fff2ec; }
.public-site .ps-home .home-area-web, .public-site .ps-home .home-area-marketing { --area-color: var(--ps-home-blue); --area-soft: var(--ps-home-blue-soft); }
.public-site .ps-home .home-area-software, .public-site .ps-home .home-area-brand { --area-color: var(--ps-home-terra); --area-soft: var(--ps-home-terra-soft); }
.public-site .ps-home .home-service-grid .ps-service-card { background: var(--area-soft); border-top: .3rem solid var(--area-color); padding: clamp(1.25rem, 2.5vw, 2rem); }
.public-site .ps-home .home-area-heading { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.public-site .ps-home .home-area-heading h3 { margin: 0; }
.public-site .ps-home .home-area-icon { display: inline-flex; flex: 0 0 88px; width: 88px; height: 88px; color: var(--area-color); }
.public-site .ps-home .home-area-icon svg { display: block; width: 100%; height: 100%; }
@media (max-width: 575.98px) {
    .public-site .ps-home .home-area-heading { align-items: flex-start; flex-direction: column; gap: .75rem; }
    .public-site .ps-home .home-area-icon { flex-basis: 72px; width: 72px; height: 72px; }
}
