/* View: Views/Home/Partner.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;
    --cyan: #009FDA;
    --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 */
#pt-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff !important;
    background-image: none !important;
    text-align: center;
    padding: clamp(120px, 14vw, 180px) 20px clamp(72px, 10vw, 120px);
    overflow: hidden;
}
#pt-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;
}
#pt-hero .container { position: relative; z-index: 1; }
#pt-hero h1 {
    font-family: var(--ap-font);
    font-size: clamp(2.5rem, 5.6vw, 4.6rem);
    font-weight: 600;
    color: var(--ap-ink);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 auto 20px;
    max-width: 900px;
}
#pt-hero h1 span { color: var(--cyan); }
.pt-hero-divider {
    width: 56px;
    height: 3px;
    border: 0;
    border-radius: 3px;
    background: var(--cyan);
    margin: 0 auto 36px;
    opacity: 1;
}
.pt-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: 660px;
}
.pt-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.pt-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;
}
.pt-hero-scroll:hover { color: var(--cyan); text-decoration: none; }

/* TIPOGRAFIA */
.pt-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;
}
.pt-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;
}
.pt-title--xl { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.pt-title span.hl { color: var(--cyan); }
.pt-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;
}
.pt-group-title {
    font-family: var(--ap-font);
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    font-weight: 600;
    color: var(--ap-ink);
    letter-spacing: var(--ls-snug);
    line-height: 1.2;
    margin: 0 0 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ap-line);
}

.pt-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ap-ink);
    color: #fff;
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 30px;
    border-radius: 980px;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.pt-cta:hover { background: #000; color: #fff; transform: translateY(-1px); text-decoration: none; }
.pt-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 15px 28px;
    border-radius: 980px;
    text-decoration: none;
    transition: border-color .2s, transform .15s;
}
.pt-btn-ghost:hover { border-color: #b8b8c0; color: var(--ap-ink); transform: translateY(-1px); text-decoration: none; }

.divisore-minimal {
    border: none;
    border-top: 1px solid var(--ap-line);
    margin: 0;
    opacity: 1;
}

/* INTRO */
.sez-pt-intro {
    background: #fff;
    padding: clamp(64px, 9vw, 110px) 0 clamp(24px, 3vw, 40px);
    text-align: center;
}

/* LOGHI */
.sez-pt-loghi {
    background: var(--ap-surface);
    padding: clamp(64px, 9vw, 120px) 0;
}
.pt-group { margin-bottom: clamp(56px, 7vw, 88px); }
.pt-group:last-child { margin-bottom: 0; }
.pt-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--ap-line);
    border-radius: 20px;
    padding: 22px 20px;
    height: 118px;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.2,.65,.3,1), box-shadow .3s, border-color .3s;
}
.pt-logo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,159,218,.30);
    box-shadow: 0 26px 60px -30px rgba(0,159,218,.42);
    text-decoration: none;
}
.pt-logo-card img {
    max-height: 62px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .72;
    transition: filter .3s, opacity .3s;
}
.pt-logo-card:hover img { filter: grayscale(0%); opacity: 1; }

/* FAQ */
.sez-pt-faq {
    background: #fff;
    padding: clamp(64px, 9vw, 120px) 0;
}
.sez-pt-faq .accordion-item {
    border: 1px solid var(--ap-line) !important;
    border-radius: 20px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}
.sez-pt-faq .accordion-button {
    font-family: var(--ap-font);
    font-weight: 600;
    font-size: 1rem;
    color: var(--ap-ink) !important;
    background: #fff !important;
    box-shadow: none !important;
    border-radius: 20px !important;
    padding: 24px 28px;
    letter-spacing: var(--ls-snug);
}
.sez-pt-faq .accordion-button strong { font-weight: 600; }
.sez-pt-faq .accordion-button u { text-decoration: none; }
.sez-pt-faq .accordion-button:not(.collapsed) {
    color: var(--ap-ink) !important;
    background: #fff !important;
}
.sez-pt-faq .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23009FDA' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}
.sez-pt-faq .accordion-body {
    font-family: var(--ap-font);
    font-size: .95rem;
    color: var(--ap-grey);
    line-height: 1.75;
    background: #fff;
    border-top: 1px solid var(--ap-line);
    padding: 22px 28px 26px;
}
.sez-pt-faq .accordion-body strong { color: var(--ap-ink); }
.sez-pt-faq .accordion-body ul { padding-left: 20px; margin: 12px 0 0; }
.sez-pt-faq .accordion-body ul li { margin-bottom: 10px; }

/* CTA NERA */
.sez-pt-cta {
    position: relative;
    overflow: hidden;
    background: #000;
    padding: clamp(72px, 10vw, 140px) 0;
    text-align: center;
}

.sez-pt-cta .container { position: relative; z-index: 1; }
.sez-pt-cta .pt-label { color: rgba(255,255,255,.52); }
.sez-pt-cta h2 {
    font-family: var(--ap-font);
    font-weight: 600;
    color: #fff;
    font-size: clamp(2.2rem, 5.4vw, 4rem);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 16px;
}
.sez-pt-cta h2 span { color: var(--cyan); }
.sez-pt-cta p {
    font-family: var(--ap-font);
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    color: rgba(255,255,255,.62);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 620px;
}
.pt-cta-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--ap-ink);
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 980px;
    text-decoration: none;
    margin-top: 34px;
    transition: transform .15s, box-shadow .2s;
}
.pt-cta-light:hover {
    color: var(--ap-ink);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 18px 44px -18px rgba(0,159,218,.7);
}

@media (max-width: 991px) {
    .pt-logo-card { height: 104px; }
}
@media (max-width: 767px) {
    #pt-hero { min-height: auto; padding-top: clamp(104px, 24vw, 140px); }
    #pt-hero h1 { font-size: clamp(2.1rem, 8.5vw, 2.7rem); }
    .pt-hero-actions { flex-direction: column; align-items: stretch; }
    .pt-logo-card { height: 92px; padding: 16px 14px; border-radius: 16px; }
    .pt-logo-card img { max-height: 46px; }
    .sez-pt-faq .accordion-button { padding: 20px 20px; font-size: .93rem; }
    .sez-pt-faq .accordion-body { padding: 20px 20px 24px; }
}
