/* ====================================== */
/* LAVORA CON NOI - ATTAL GROUP           */
/* Mobile-First Approach 2025              */
/* Based on WEB_4_0_MOBILE_FIRST_GUIDE    */
/* ====================================== */

:root {
    /* Breakpoints */
    --bp-sm: 576px;
    --bp-md: 768px;
    --bp-lg: 992px;
    --bp-xl: 1200px;

    /* Colors */
    --attal-red: #e22721;
    --attal-red-dark: #c91f1a;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --success: #0B8D84;
    --warning: #E56E12;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* Touch targets */
    --touch-target-min: 48px;
}

/* Spin animation for loading */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

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

/* BASE STYLES - Mobile Default */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    color: var(--gray-800);
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

/* Touch-friendly elements */
button,
.btn,
.btn-hero-primary,
.btn-hero-secondary,
.hero-cta-primary,
.hero-cta-secondary,
.btn-primary,
.btn-submit,
.ruolo-cta,
.posizione-cta {
    min-height: var(--touch-target-min);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent iOS zoom on input focus */
input,
select,
textarea {
    font-size: 16px;
    min-height: var(--touch-target-min);
}

/* Container - Mobile First */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 var(--space-lg);
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* ====================================== */
/* HERO LIGHT THEME (Mobile-First)        */
/* ====================================== */

/* Mobile base styles */
.hero-light {
    background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
    padding: 40px 0 60px;
}

/* Mobile: single column, centered */
.hero-light-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-light-content {
    max-width: 100%;
    text-align: center;
}

.hero-badge-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--gray-200);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: var(--space-md);
}

/* Mobile: smaller title */
.hero-light-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero-light-subtitle {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

/* Stats - Mobile First (wrap, centered) */
.hero-light-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.hero-light-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.hero-light-stat .stat-number {
    font-size: 24px;
    font-weight: 800;
    color: var(--gray-900);
}

.hero-light-stat .stat-label {
    font-size: 12px;
    color: var(--gray-400);
}

/* Mobile: hide stat dividers */
.stat-divider-light {
    display: none;
}

/* CTA Row - Mobile First (column) */
.hero-cta-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-md);
}

/* CTA Buttons - Mobile First (full width) */
.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--attal-red) 0%, var(--attal-red-dark) 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    min-height: var(--touch-target-min);
    transition: all 0.3s ease;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 39, 33, 0.3);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray-700);
    padding: 14px 24px;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    background: white;
    min-height: var(--touch-target-min);
    transition: all 0.2s ease;
}

.hero-cta-secondary:hover {
    border-color: var(--attal-red);
    color: var(--attal-red);
}

/* Hero Image - Mobile First (smaller) */
.hero-light-image {
    position: relative;
}

.hero-light-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

/* Hero Light - Tablet (min-width: 768px) */
@media (min-width: 768px) {
    .hero-light {
        padding: 60px 0;
    }

    .hero-light-title {
        font-size: 36px;
    }

    .hero-light-subtitle {
        font-size: 17px;
    }

    .hero-light-stat .stat-number {
        font-size: 28px;
    }

    .stat-divider-light {
        display: block;
        width: 1px;
        height: 40px;
        background: var(--gray-200);
    }

    .hero-cta-row {
        flex-direction: row;
        justify-content: center;
    }

    .hero-light-image img {
        height: 350px;
        border-radius: 20px;
    }
}

/* Hero Light - Desktop (min-width: 992px) */
@media (min-width: 992px) {
    .hero-light {
        padding: 80px 0;
    }

    .hero-light-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .hero-light-content {
        max-width: 560px;
        text-align: left;
    }

    .hero-light-title {
        font-size: 48px;
    }

    .hero-light-subtitle {
        font-size: 18px;
    }

    .hero-light-stats {
        justify-content: flex-start;
    }

    .hero-light-stat {
        align-items: flex-start;
    }

    .hero-cta-row {
        justify-content: flex-start;
    }

    .hero-light-image img {
        height: 500px;
        box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    }
}

/* ====================================== */
/* HERO SECTION - OLD                     */
/* ====================================== */

.hero-lavora {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.hero-lavora .container {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero-lavora h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.hero-stat-label {
    font-size: 14px;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: var(--attal-red);
    color: white;
    box-shadow: 0 4px 20px rgba(226, 39, 33, 0.4);
}

.btn-hero-primary:hover {
    background: var(--attal-red-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(226, 39, 33, 0.5);
    text-decoration: none;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.btn-hero-primary svg,
.btn-hero-secondary svg {
    width: 20px;
    height: 20px;
}

/* ====================================== */
/* SECTION HEADER CENTER                  */
/* ====================================== */

.section-header-center {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-center h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.section-header-center p {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================== */
/* PERCHÉ SECTION - BENTO GRID            */
/* ====================================== */

/* Perche Section - Mobile First */
.perche-section {
    padding: 60px 0;
    background: var(--gray-50);
}

/* Mobile: single column */
.perche-bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.perche-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.perche-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Mobile: no spanning, single column layout */
.perche-card-large {
    grid-column: span 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.perche-card-large .perche-card-image {
    height: 100%;
    min-height: 300px;
}

.perche-card-large .perche-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perche-card-large .perche-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.perche-icon {
    width: 56px;
    height: 56px;
    background: rgba(226, 39, 33, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--attal-red);
}

.perche-icon svg {
    width: 28px;
    height: 28px;
}

.perche-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.perche-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.perche-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.perche-stat .stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--attal-red);
}

.perche-stat .stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* ====================================== */
/* RUOLI SECTION                          */
/* ====================================== */

/* Ruoli Section - Mobile First */
.ruoli-section {
    padding: 60px 0;
    background: white;
}

/* Mobile: single column */
.ruoli-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.ruolo-card {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 32px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.ruolo-card:hover {
    border-color: var(--attal-red);
    box-shadow: 0 12px 40px rgba(226, 39, 33, 0.1);
}

.ruolo-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.ruolo-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--attal-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ruolo-icon svg {
    width: 28px;
    height: 28px;
}

.ruolo-badge {
    background: var(--attal-red);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
}

.ruolo-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.ruolo-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
}

.ruolo-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.ruolo-detail strong {
    display: block;
    font-size: 13px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.ruolo-detail ul {
    list-style: none;
}

.ruolo-detail li {
    font-size: 14px;
    color: var(--gray-700);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.ruolo-detail li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--attal-red);
    border-radius: 50%;
}

.ruolo-percorso {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.percorso-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 12px;
}

.percorso-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.percorso-steps .step {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: 6px;
}

.percorso-steps .step.highlight {
    background: var(--attal-red);
    color: white;
}

.percorso-steps svg {
    width: 14px;
    height: 14px;
    color: var(--gray-400);
}

.ruolo-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(11, 141, 132, 0.1);
    color: var(--success);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.ruolo-benefit svg {
    width: 20px;
    height: 20px;
}

.ruolo-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--gray-900);
    color: white;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ruolo-cta:hover {
    background: var(--attal-red);
}

.ruolo-cta svg {
    width: 18px;
    height: 18px;
}

/* ====================================== */
/* CRESCITA SECTION - TIMELINE            */
/* ====================================== */

/* Crescita Section - Mobile First */
.crescita-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.crescita-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

.timeline-step {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-marker {
    width: 50px;
    height: 50px;
    background: white;
    border: 3px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-500);
    flex-shrink: 0;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-marker {
    border-color: var(--attal-red);
    color: var(--attal-red);
}

.timeline-step-highlight .timeline-marker {
    background: var(--attal-red);
    border-color: var(--attal-red);
    color: white;
}

.timeline-step-highlight .timeline-marker svg {
    width: 24px;
    height: 24px;
}

.timeline-content {
    background: white;
    border-radius: 16px;
    padding: 28px;
    flex: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.timeline-step:hover .timeline-content {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.timeline-period {
    font-size: 13px;
    font-weight: 600;
    color: var(--attal-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.timeline-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.timeline-tags .tag {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 6px;
}

.timeline-tags .tag-highlight {
    background: rgba(226, 39, 33, 0.1);
    color: var(--attal-red);
}

/* Mobile: single column */
.crescita-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.proof-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.proof-number {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: var(--attal-red);
    margin-bottom: 8px;
}

.proof-label {
    font-size: 14px;
    color: var(--gray-600);
}

/* ====================================== */
/* ACADEMY SECTION                        */
/* ====================================== */

/* Academy Section - Mobile First */
.academy-section {
    padding: 60px 0;
    background: white;
}

/* Mobile: single column */
.academy-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.academy-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(226, 39, 33, 0.1);
    color: var(--attal-red);
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.academy-badge svg {
    width: 18px;
    height: 18px;
}

.academy-content h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 20px;
}

.academy-content > p {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.academy-features {
    display: grid;
    gap: 20px;
}

.academy-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--attal-red);
    flex-shrink: 0;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-text strong {
    display: block;
    font-size: 16px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-text span {
    font-size: 14px;
    color: var(--gray-500);
}

.academy-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.academy-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.academy-stat-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.stat-big {
    display: block;
    font-size: 48px;
    font-weight: 800;
    color: var(--attal-red);
    line-height: 1;
}

.stat-desc {
    font-size: 14px;
    color: var(--gray-600);
}

/* ====================================== */
/* TESTIMONIANZE SECTION                  */
/* ====================================== */

/* Testimonianze Section - Mobile First */
.testimonianze-section {
    padding: 60px 0;
    background: var(--gray-50);
}

/* Mobile: single column */
.testimonianze-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

/* Mobile: single column card */
.testimonianza-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.testimonianza-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.testimonianza-image {
    height: 100%;
    min-height: 250px;
}

.testimonianza-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonianza-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonianza-quote {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.testimonianza-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 48px;
    color: var(--attal-red);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.testimonianza-author strong {
    display: block;
    font-size: 17px;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.testimonianza-author > span {
    display: block;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.testimonianza-journey {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.journey-start {
    color: var(--gray-500);
}

.journey-end {
    color: var(--attal-red);
    font-weight: 600;
}

.testimonianza-journey svg {
    width: 14px;
    height: 14px;
    color: var(--gray-400);
}

/* ====================================== */
/* BENEFIT SECTION                        */
/* ====================================== */

/* Benefit Section - Mobile First */
.benefit-section {
    padding: 60px 0;
    background: white;
}

/* Mobile: single column */
.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.benefit-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: white;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--attal-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.benefit-card:hover .benefit-icon {
    background: var(--attal-red);
    color: white;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ====================================== */
/* POSIZIONI SECTION                      */
/* ====================================== */

/* Posizioni Section - Mobile First */
.posizioni-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.posizioni-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.filter-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    color: var(--gray-800);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--attal-red);
}

/* Mobile: single column */
.posizioni-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.posizione-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.posizione-card:hover {
    border-color: var(--attal-red);
    box-shadow: 0 12px 40px rgba(226, 39, 33, 0.1);
}

.posizione-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.posizione-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.posizione-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--gray-500);
}

.posizione-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.posizione-meta svg {
    width: 14px;
    height: 14px;
}

.posizione-badge {
    background: var(--success);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.posizione-badge.urgent {
    background: var(--attal-red);
}

.posizione-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.posizione-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.posizione-tags .tag {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 6px;
}

.posizione-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.posizione-ral {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
}

.posizione-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--attal-red);
    text-decoration: none;
    transition: all 0.2s ease;
}

.posizione-cta:hover {
    gap: 10px;
}

.posizione-cta svg {
    width: 16px;
    height: 16px;
}

.no-results {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px;
    background: white;
    border-radius: 16px;
}

.no-results svg {
    width: 64px;
    height: 64px;
    color: var(--gray-300);
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 20px;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.no-results p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--attal-red);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--attal-red-dark);
    color: white;
    text-decoration: none;
}

/* ====================================== */
/* CANDIDATURA SECTION                    */
/* ====================================== */

/* Candidatura Section - Mobile First */
.candidatura-section {
    padding: 60px 0;
    background: white;
}

/* Mobile: single column */
.candidatura-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--gray-50);
    border-radius: 24px;
    overflow: hidden;
}

/* Mobile: smaller padding */
.candidatura-info {
    background: linear-gradient(135deg, var(--attal-red) 0%, var(--attal-red-dark) 100%);
    color: white;
    padding: var(--space-xl);
}

.candidatura-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}

.candidatura-info > p {
    font-size: 17px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 32px;
}

.candidatura-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-item svg {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.candidatura-contact p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 12px;
}

.candidatura-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 15px;
    padding: 8px 0;
    transition: opacity 0.2s;
}

.candidatura-contact a:hover {
    opacity: 0.8;
}

.candidatura-contact svg {
    width: 18px;
    height: 18px;
}

/* Mobile: smaller padding */
.candidatura-form {
    padding: var(--space-xl);
}

/* Mobile: single column */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    color: var(--gray-800);
    background: white;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--attal-red);
    box-shadow: 0 0 0 3px rgba(226, 39, 33, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.file-upload {
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.file-upload:hover {
    border-color: var(--attal-red);
    background: rgba(226, 39, 33, 0.02);
}

.file-upload.has-file {
    border-color: var(--success);
    background: rgba(11, 141, 132, 0.05);
}

.file-upload svg {
    width: 40px;
    height: 40px;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.file-upload-text {
    display: block;
    font-size: 15px;
    color: var(--gray-700);
    margin-bottom: 4px;
}

.file-upload-hint {
    font-size: 13px;
    color: var(--gray-400);
}

.file-name {
    margin-top: 8px;
    font-size: 14px;
    color: var(--success);
    font-weight: 500;
    display: none;
}

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

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 0;
    cursor: pointer;
}

.form-checkbox a {
    color: var(--attal-red);
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--attal-red);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--attal-red-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(226, 39, 33, 0.3);
    text-decoration: none;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
}

/* ====================================== */
/* SUCCESS OVERLAY                        */
/* ====================================== */

.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-modal {
    background: white;
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 400px;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(11, 141, 132, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--success);
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.success-modal h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.success-modal p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--success);
    color: white;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #0a7a72;
    color: white;
    text-decoration: none;
}

/* ====================================== */
/* RESPONSIVE - Mobile-First Approach     */
/* Base styles are mobile, then scale up  */
/* ====================================== */

/* Tablet (min-width: 768px) */
@media (min-width: 768px) {
    /* Perche Section */
    .perche-section,
    .ruoli-section,
    .crescita-section,
    .academy-section,
    .testimonianze-section,
    .benefit-section,
    .posizioni-section,
    .candidatura-section {
        padding: 80px 0;
    }

    .perche-bento {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .perche-card-large {
        grid-column: span 2;
        grid-template-columns: 1fr 1fr;
    }

    .perche-card-large .perche-card-image {
        min-height: 300px;
    }

    /* Crescita */
    .crescita-proof {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }

    /* Testimonianze */
    .testimonianze-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .testimonianza-card {
        grid-template-columns: 180px 1fr;
    }

    .testimonianza-image {
        min-height: 250px;
    }

    /* Benefit */
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Academy */
    .academy-image {
        order: -1;
    }

    .academy-image img {
        height: 300px;
    }

    /* Candidatura */
    .candidatura-info,
    .candidatura-form {
        padding: 40px;
    }

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

/* Desktop (min-width: 992px) */
@media (min-width: 992px) {
    /* All sections */
    .perche-section,
    .ruoli-section,
    .crescita-section,
    .academy-section,
    .testimonianze-section,
    .benefit-section,
    .posizioni-section,
    .candidatura-section {
        padding: 100px 0;
    }

    /* Perche */
    .perche-bento {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    /* Ruoli */
    .ruoli-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* Academy */
    .academy-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .academy-image {
        order: 0;
    }

    .academy-image img {
        height: 500px;
    }

    /* Benefit */
    .benefit-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    /* Posizioni */
    .posizioni-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Candidatura */
    .candidatura-wrapper {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }

    .candidatura-info,
    .candidatura-form {
        padding: 48px;
    }
}
