/* View: Views/Home/MappaDelSito.cshtml */
:root {
    --ap-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ap-ink: #1d1d1f;
    --ap-grey: #6e6e73;
    --ap-line: #e4edf5;
    --ap-surface: #f5f5f7;
    --navy: #003c78;
    --blu: #007FBF;
    --cyan: #009FDA;
    --giallo: #FFB704;
    --ls-tight: -.03em;
    --ls-snug: -.015em;
    --lh-tight: 1.05;
}

#header.fixed-top {
    background-color: rgba(255,255,255,.82) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ap-line);
}
#header.fixed-top a,
#header.fixed-top .nav-link,
#header.fixed-top .navbar-nav .nav-link,
#header.fixed-top li a { color: var(--ap-ink) !important; }

/* HERO */
.blog-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff;
    text-align: center;
    padding: clamp(120px, 14vw, 180px) 24px clamp(72px, 10vw, 120px);
    overflow: hidden;
}
.blog-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -30%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.12), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}
.blog-hero > * { position: relative; z-index: 1; }
.blog-hero .sez-label {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.blog-hero h1 {
    font-family: var(--ap-font);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--ap-ink);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 20px;
    max-width: 900px;
}
.blog-hero h1 span { color: var(--cyan); }
.blog-hero .hero-sub {
    font-family: var(--ap-font);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 400;
    color: var(--ap-grey);
    line-height: 1.65;
    margin: 0 auto 40px;
    max-width: 620px;
}
.blog-hero-divider {
    width: 56px;
    height: 3px;
    border: 0;
    border-radius: 3px;
    background: var(--cyan);
    margin: 0 auto 40px;
    opacity: 1;
}
.blog-hero-scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ap-grey);
    font-family: var(--ap-font);
    font-size: .85rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
}
.blog-hero-scroll:hover { color: var(--cyan); text-decoration: none; }

/* TIPOGRAFIA */
.ms-label {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.ms-title {
    font-family: var(--ap-font);
    font-weight: 600;
    color: var(--ap-ink);
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 14px;
}
.ms-title span.hl { color: var(--cyan); }
.ms-lead {
    font-family: var(--ap-font);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    color: var(--ap-grey);
    font-weight: 400;
    line-height: 1.75;
    margin: 18px auto 0;
    max-width: 860px;
}
.divisore-minimal {
    border: none;
    border-top: 1px solid var(--ap-line);
    margin: 0;
    opacity: 1;
}

/* INTRO */
.sez-ms-intro {
    background: #fff;
    padding: clamp(64px, 9vw, 110px) 0 clamp(24px, 3vw, 40px);
    text-align: center;
}

/* MAPPA */
.sez-ms-mappa {
    background: var(--ap-surface);
    padding: clamp(64px, 9vw, 120px) 0;
}
.ms-col-title {
    font-family: var(--ap-font);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: var(--ls-snug);
    line-height: 1.4;
    margin: 0 0 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ap-line);
}
.ms-group-title {
    font-family: var(--ap-font);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: var(--ls-snug);
    line-height: 1.45;
    margin: 40px 0 20px;
    padding-top: 26px;
    border-top: 1px solid var(--ap-line);
}

.ms-item {
    display: block;
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 20px;
    padding: 24px 26px;
    margin-bottom: 12px;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.2,.65,.3,1), box-shadow .3s, border-color .3s;
}
.ms-item:hover {
    text-decoration: none;
    transform: translateY(-4px);
    border-color: rgba(0,159,218,.30);
    box-shadow: 0 26px 60px -30px rgba(0,159,218,.42);
}
.ms-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}
.ms-item h3 {
    font-family: var(--ap-font);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: var(--ls-snug);
    line-height: 1.3;
    margin: 0;
}
.ms-item .ms-arrow {
    flex-shrink: 0;
    color: var(--ap-grey);
    display: flex;
    align-items: center;
    transition: color .2s, transform .2s;
}
.ms-item:hover .ms-arrow { color: var(--cyan); transform: translateX(4px); }
.ms-item p {
    font-family: var(--ap-font);
    font-size: .9rem;
    color: var(--ap-grey);
    line-height: 1.65;
    margin: 0;
}

.ms-note {
    font-family: var(--ap-font);
    font-size: .9rem;
    color: var(--ap-grey);
    line-height: 1.65;
    margin: 0 0 12px;
}
.ms-static {
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 20px;
    padding: 24px 26px;
    margin-bottom: 12px;
}
.ms-static h3 {
    font-family: var(--ap-font);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: var(--ls-snug);
    margin: 0 0 8px;
}
.ms-static p {
    font-family: var(--ap-font);
    font-size: .9rem;
    color: var(--ap-grey);
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 991px) {
    .ms-col-title { margin-top: 40px; }
    .row > div:first-child .ms-col-title { margin-top: 0; }
}
@media (max-width: 767px) {
    .blog-hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
    .ms-item, .ms-static { padding: 22px 22px; }
}
