/* ==========================================
   SUNNY PEOPLE
   COLLAB PAGE CSS
========================================== */

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
    font-family:'Poppins', sans-serif;
    background:#FFF8EF;
    color:#202020;
    overflow-x:hidden;
}

img{ max-width:100%; display:block; }

a{ text-decoration:none; }

section[id]{ scroll-margin-top:125px; }

.subtitle{
    color:#F5A300;
    font-size:14px;
    font-weight:800;
    letter-spacing:4px;
}


/* ==========================================
   HERO
========================================== */

.collab-hero{
    padding:190px 8% 110px;
}

.collab-hero h1{
    font-size:100px;
    line-height:.88;
    letter-spacing:-6px;
    font-weight:900;
    margin:25px 0 35px;
}

.collab-hero-text p{
    font-size:22px;
    color:#666;
    line-height:1.6;
    max-width:620px;
}

.collab-paths{
    margin-top:70px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.path-card{
    position:relative;
    display:block;
    height:460px;
    border-radius:30px;
    overflow:hidden;
    color:white;
    box-shadow:0 30px 80px rgba(0,0,0,.16);
    transition:.4s ease;
}

.path-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s ease;
}

.path-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(20,20,20,.9) 0%, rgba(20,20,20,.25) 55%, rgba(20,20,20,0) 100%);
}

.path-text{
    position:absolute;
    left:40px;
    right:40px;
    bottom:38px;
    z-index:1;
}

.path-text span{
    color:#F5A300;
    font-size:13px;
    font-weight:800;
    letter-spacing:3px;
}

.path-text h2{
    font-size:52px;
    line-height:.95;
    letter-spacing:-2px;
    margin:12px 0 18px;
}

.path-go{
    display:inline-block;
    font-weight:700;
    border-bottom:2px solid #F5A300;
    padding-bottom:3px;
}

.path-card:hover{ transform:translateY(-8px); }
.path-card:hover img{ transform:scale(1.05); }


/* ==========================================
   DARK BAND (locali / ragazzi)
========================================== */

.collab-dark{
    background:#202020;
    color:white;
    padding:140px 8% 120px;
}

.collab-dark h2{
    font-size:90px;
    line-height:.9;
    letter-spacing:-5px;
    margin:25px 0 35px;
}

.collab-dark .lead{
    max-width:650px;
    color:#aaa;
    font-size:20px;
    line-height:1.8;
}

.stats{
    margin-top:70px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.stat{
    border-top:3px solid #F5A300;
    padding-top:25px;
}

.stat strong{
    display:block;
    font-size:72px;
    line-height:1;
    font-weight:900;
    letter-spacing:-3px;
    color:#F5A300;
    margin-bottom:14px;
}

.stat span{
    color:#ccc;
    font-size:16px;
    line-height:1.6;
}

.roles{
    margin-top:70px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.role{
    background:#2B2B2B;
    border-radius:24px;
    padding:30px 26px;
    transition:.3s ease;
}

.role:hover{
    transform:translateY(-6px);
    background:#333;
}

.role span{
    color:#F5A300;
    font-size:13px;
    font-weight:800;
    letter-spacing:2px;
}

.role h3{
    font-size:22px;
    line-height:1.15;
    margin:14px 0 10px;
}

.role p{
    color:#aaa;
    font-size:15px;
    line-height:1.6;
}


/* ==========================================
   SPLIT: testo + modulo
========================================== */

.collab-split{
    padding:120px 8%;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
    gap:70px;
    align-items:start;
}

.check-list,
.steps{
    list-style:none;
    margin-top:25px;
}

.check-list li,
.steps li{
    position:relative;
    font-size:18px;
    line-height:1.6;
    color:#555;
    padding:16px 0 16px 42px;
    border-bottom:1px solid rgba(0,0,0,.08);
}

.check-list li strong,
.steps li strong{ color:#202020; }

.check-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:15px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#F5A300;
    color:white;
    font-size:15px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
}

.steps{ counter-reset:step; }

.steps li::before{
    counter-increment:step;
    content:counter(step);
    position:absolute;
    left:0;
    top:15px;
    width:28px;
    height:28px;
    border-radius:50%;
    background:#202020;
    color:#F5A300;
    font-size:14px;
    font-weight:800;
    display:flex;
    align-items:center;
    justify-content:center;
}

.small-note{
    margin-top:25px;
    font-size:15px;
    line-height:1.6;
    color:#777;
    background:#F1E8DA;
    border-radius:18px;
    padding:18px 22px;
}

.split-img{
    margin-top:35px;
    width:100%;
    height:320px;
    object-fit:cover;
    border-radius:30px;
}


/* ==========================================
   MODULI
========================================== */

.collab-form{
    background:#F1E8DA;
    border-radius:30px;
    padding:45px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.collab-form h3{
    font-size:30px;
    letter-spacing:-1px;
    margin-bottom:15px;
}

.collab-form label,
.role-pick legend{
    font-size:12px;
    font-weight:800;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#202020;
}

.collab-form label small{
    font-weight:500;
    letter-spacing:0;
    text-transform:none;
    color:#888;
}

.collab-form input[type=text],
.collab-form input[type=email],
.collab-form input[type=tel],
.collab-form input[type=number],
.collab-form select,
.collab-form textarea{
    font-family:inherit;
    font-size:16px;
    color:#202020;
    padding:15px 20px;
    border:2px solid transparent;
    border-radius:16px;
    background:#FFF8EF;
    margin:6px 0 10px;
    width:100%;
    min-width:0;
    outline:none;
    transition:.2s ease;
}

.collab-form select{
    appearance:none;
    background-image:linear-gradient(45deg, transparent 50%, #F5A300 50%), linear-gradient(135deg, #F5A300 50%, transparent 50%);
    background-position:calc(100% - 24px) 50%, calc(100% - 18px) 50%;
    background-size:6px 6px;
    background-repeat:no-repeat;
    cursor:pointer;
}

.collab-form textarea{ resize:vertical; }

.collab-form input:focus,
.collab-form select:focus,
.collab-form textarea:focus{
    border-color:#F5A300;
}

.collab-form .invalid{
    border-color:#C0392B !important;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.role-pick{
    border:0;
    margin:6px 0 12px;
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.role-pick legend{ margin-bottom:12px; }

.role-pick label{
    display:flex;
    align-items:center;
    gap:8px;
    background:#FFF8EF;
    border:2px solid transparent;
    border-radius:50px;
    padding:10px 16px;
    font-size:14px;
    font-weight:600;
    letter-spacing:0;
    text-transform:none;
    cursor:pointer;
    transition:.2s ease;
}

.role-pick label:has(input:checked){
    border-color:#F5A300;
    color:#B87800;
}

.role-pick input{
    width:16px;
    height:16px;
    accent-color:#F5A300;
}

.nf-hp{
    position:absolute;
    left:-9999px;
}

.collab-form .nf-check{
    display:flex;
    gap:12px;
    align-items:flex-start;
    font-size:13px;
    font-weight:500;
    letter-spacing:0;
    text-transform:none;
    line-height:1.5;
    color:#555;
    margin:5px 0 15px;
}

.nf-check input{
    margin-top:3px;
    width:18px;
    height:18px;
    accent-color:#F5A300;
    flex-shrink:0;
}

.nf-check a{
    color:#B87800;
    text-decoration:underline;
}

.collab-button{
    display:inline-block;
    padding:17px 35px;
    border-radius:50px;
    border:none;
    background:#F5A300;
    color:white;
    font-family:inherit;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    align-self:flex-start;
    transition:.3s ease;
}

.collab-button:hover{
    background:#FFC63D;
    transform:translateY(-4px);
}

.collab-button:disabled{
    opacity:.6;
    cursor:wait;
    transform:none;
}

.nf-msg{
    font-size:15px;
    font-weight:600;
    min-height:22px;
}

.nf-msg.ok{ color:#2E8B57; }
.nf-msg.err{ color:#C0392B; }

.collab-form.sent > *:not(h3):not(.nf-msg){ display:none; }
.collab-form.sent .nf-msg{ font-size:18px; line-height:1.6; }


/* ==========================================
   FINAL CTA
========================================== */

.collab-final{
    background:#F5A300;
    color:white;
    text-align:center;
    padding:140px 10%;
}

.collab-final h2{
    font-size:90px;
    line-height:.9;
    letter-spacing:-5px;
}

.collab-final p{
    font-size:20px;
    margin:30px 0 40px;
}

.social-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
}

.social-buttons a{
    color:white;
    border:2px solid white;
    border-radius:50px;
    padding:15px 30px;
    font-weight:700;
    transition:.3s ease;
}

.social-buttons a:hover{
    background:white;
    color:#F5A300;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:1100px){
    .roles{ grid-template-columns:repeat(3,1fr); }
}

@media(max-width:900px){

    section[id]{ scroll-margin-top:100px; }

    .collab-hero{ padding:150px 6% 90px; }
    .collab-hero h1{ font-size:65px; letter-spacing:-4px; }

    .collab-paths{ grid-template-columns:1fr; }
    .path-card{ height:380px; }

    .collab-dark h2,
    .collab-final h2{ font-size:60px; letter-spacing:-3px; }

    .stats{ grid-template-columns:1fr; gap:35px; }
    .roles{ grid-template-columns:1fr 1fr; }

    .collab-split{ grid-template-columns:minmax(0,1fr); gap:50px; }
}

@media(max-width:600px){

    .collab-hero h1{ font-size:48px; letter-spacing:-2px; }
    .collab-hero-text p{ font-size:18px; }

    .path-card{ height:320px; }
    .path-text{ left:26px; right:26px; bottom:26px; }
    .path-text h2{ font-size:40px; }

    .collab-dark{ padding:90px 6%; }
    .collab-dark h2,
    .collab-final h2{ font-size:44px; letter-spacing:-2px; }

    .stat strong{ font-size:56px; }
    .roles{ grid-template-columns:1fr; }

    .collab-split{ padding:80px 6%; }
    .collab-form{ padding:30px 22px; }
    .form-row{ grid-template-columns:1fr; gap:0; }

    .collab-final{ padding:100px 8%; }
}

@media(prefers-reduced-motion:reduce){
    *{ transition:none !important; scroll-behavior:auto !important; }
}
