/* ═══════════════════════════════════════════
   DataDeep — Lavoriamo Insieme
   ═══════════════════════════════════════════ */

/* ─── PROFILE CARDS (Chi cerchiamo) ─── */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 1100px;
    margin: 0 auto;
}

.profile-card {
    background: var(--dd-white);
    border: 1px solid rgba(10, 10, 40, 0.08);
    border-radius: var(--radius);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-smooth);
    box-shadow: 0 2px 10px rgba(10, 10, 40, 0.04);
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--dd-gradient-icon);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(10, 10, 40, 0.1);
}

.profile-card:hover::before { transform: scaleX(1); }

.profile-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--dd-gradient-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
}

.profile-card-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--dd-white);
}

.profile-card h3 {
    font-size: var(--font-size-lg);
    color: var(--dd-navy);
    margin-bottom: var(--space-3);
}

.profile-card > p {
    font-size: var(--font-size-sm);
    color: var(--dd-muted);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-4);
}

.profile-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.profile-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--font-size-sm);
    color: var(--dd-body);
    line-height: var(--line-height-normal);
}

.profile-card ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: var(--dd-gradient-icon);
}

/* ─── SKILLS SPLIT (dark section) ─── */
.skills-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.skills-col h3 {
    color: var(--dd-white);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-5);
    display: flex;
    align-items: center;
    gap: 12px;
}

.skills-col h3 .skills-col-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--dd-gradient-icon);
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-col h3 .skills-col-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--dd-white);
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skill-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--line-height-normal);
}

.skill-list li::before {
    content: '';
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: var(--dd-gradient-icon);
    box-shadow: 0 0 8px rgba(187, 49, 199, 0.3);
}

/* ─── FORM ─── */
.collab-form-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

.collab-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.collab-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

.collab-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.collab-form label {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--dd-navy);
}

.collab-form input[type="text"],
.collab-form input[type="email"],
.collab-form select,
.collab-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(10, 10, 40, 0.12);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    color: var(--dd-navy);
    background: var(--dd-white);
    transition: border-color 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
    outline: none;
}

.collab-form input:focus,
.collab-form select:focus,
.collab-form textarea:focus {
    border-color: var(--dd-purple);
    box-shadow: 0 0 0 3px rgba(187, 49, 199, 0.1);
}

.collab-form textarea {
    min-height: 160px;
    resize: vertical;
}

.collab-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23444' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.collab-form .form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.collab-form .form-privacy input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    accent-color: var(--dd-purple);
    cursor: pointer;
}

.collab-form .form-privacy label {
    font-weight: 400;
    font-size: var(--font-size-sm);
    color: var(--dd-muted);
    cursor: pointer;
}

.collab-form .form-privacy label a {
    color: var(--dd-purple);
    text-decoration: underline;
}

.collab-form .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--dd-gradient-cta);
    color: var(--dd-white);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-smooth);
    align-self: flex-start;
}

.collab-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(187, 49, 199, 0.3);
}

.collab-form .btn-submit svg {
    width: 18px;
    height: 18px;
}

.form-direct-contacts {
    display: flex;
    gap: var(--space-6);
    justify-content: center;
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(10, 10, 40, 0.08);
}

.form-direct-contacts a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-sm);
    color: var(--dd-muted);
    text-decoration: none;
    transition: color 0.25s var(--ease-smooth);
}

.form-direct-contacts a:hover {
    color: var(--dd-purple);
}

.form-direct-contacts svg {
    width: 18px;
    height: 18px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .profile-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .skills-split { grid-template-columns: 1fr; gap: var(--space-6); }
}

@media (max-width: 768px) {
    .collab-form .form-row { grid-template-columns: 1fr; }
    .form-direct-contacts { flex-direction: column; align-items: center; }
}
