/* Import Satoshi Font PRIORITARIO per questa pagina */
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@1,900,700,500,301,701,300,501,401,901,400&display=swap');
/* Import design system from main style.css */
@import url('./style.css');

/* Chi Siamo Page Specific Styles */
.chi-siamo-page {
    width: 100%;
    min-height: 100vh;
    background: var(--light-bg);
    position: relative;
    font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}


/* Esclude solo le icone Font Awesome */
.chi-siamo-page .fa,
.chi-siamo-page .fas,
.chi-siamo-page .far,
.chi-siamo-page .fab,
.chi-siamo-page [class*="fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
}

/* Forza Satoshi su tutti gli elementi della pagina Chi Siamo */
.chi-siamo-page * {
    font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Gradient Backgrounds */
.gradient-bg-top {
    width: 100%;
    height: 684px;
    background: linear-gradient(180deg, #CEF8FF 0%, #EDFBFF 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.gradient-bg-bottom {
    width: 100%;
    height: 684px;
    background: linear-gradient(180deg, #CEF8FF 0%, #EDFBFF 100%);
    position: absolute;
    bottom: 280px;
    left: 0;
    z-index: -1;
}

/* Social Proof Styles */
.social-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
}

.client-avatars {
  display: flex;
  justify-content: center;
  align-items: center;
  /* niente gap o padding esterno qui */
}

/* Stile base di ciascun avatar */
.avatar {
  position: relative;
  width: 64px;
  height: 64px;
  margin-left: -20px;        /* sovrappone di 22px il cerchio precedente */
  border-radius: 100%;
  border: 4px solid #EBFDFF;
  padding: 0px;
  box-sizing: border-box;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* il trucco per avere il "foro" trasparente nel bordo */
  background-clip: content-box;
  -webkit-background-clip: content-box;
}

/* Il primo avatar non ha margin negativo */
.avatar:first-child {
  margin-left: 0;
}

/* Immagini e z-index per ciascun avatar */
.avatar-3 {
  width: 42px;
  height: 42px;
  z-index: 3;
  background-image: url("/static/img/cliente1.svg");
}
.avatar-2 {
  width: 42px;
  height: 42px;
  z-index: 2;
  background-image: url("/static/img/cliente2.svg");
}
.avatar-1 {
    width: 42px;
      height: 42px;
  z-index: 1;
  background-image: url("/static/img/cliente3.svg");
}

.client-text {
    color: var(--text-secondary);
    font-size: 16px;
    margin-left: 16px;
    font-weight: 550;
    font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0;
}

/* Hero Section Chi Siamo */
.hero-section-chi-siamo {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    z-index: 2;
}

.hero-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

/* Video Container */
.video-container {
    width: min(32vw, 220px);
      aspect-ratio: 9 / 16;
      height: auto;
      background: #E0E0E0;
      border-radius: 16px;
      margin: var(--space-3xl) auto 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 8px 32px rgba(0, 165, 207, 0.15);
}

.team-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 16px;
    transform: scale(1.01);
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: 16px;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.video-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.video-play-button {
    width: 80px;
    height: 80px;
    background: rgba(0, 165, 207, 0.9);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 165, 207, 0.4);
    border: none;
    cursor: pointer;
}

.video-play-button:hover {
    transform: scale(1.1);
    background: rgba(0, 165, 207, 1);
}

.video-audio-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.video-audio-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 6px;
}

.audio-icon {
    width: 24px;
    height: 24px;
    fill: #333;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Hero Title - chi-siamo */
.chi-siamo-page .hero-title,
.chi-siamo-page h1.hero-title {
  font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: var(--hero-title-size) !important;
  font-weight: var(--hero-title-weight) !important;
  color: #063046 ;
  line-height: 1.2 ;
  /* centratura del blocco */
  margin: 0 auto 64px ;
  letter-spacing: var(--hero-title-spacing) ;
  text-align: center;
  max-width: 85%;
}


.hero-subtitle {
    font-family: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--body-text-size);
    font-weight: 400;
    color: #125978;
    max-width: 900px;
    margin: 24px auto 16px !important;
    line-height: 1.5;
}

/* Team Section */
.team-section {
    width: 100%;
    padding: 64px 0;
    background: #EDFBFF;
    display: flex;
    justify-content: center;
}

.team-container {
    width: 1600px;
    height: 561px;
    background: linear-gradient(180deg, #A2F0FF 0%, #EDFBFF 100%);
    box-shadow: 0 8px 44px 0 rgba(0, 162, 224, 0.2);
    border-radius: 16px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
    box-sizing: border-box;
    position: border-box;
    overflow: visible;
}

.team-photo {
    width: auto;
    height: auto;
    flex-shrink: 0;
    position: relative;
    align-self: flex-end;
}

.team-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    max-height: 450px;
}
/* ===== CHI-SIAMO — Nascondi Serena tra 769px e 1024px (a prova di conflitti) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
  /* 1) Spegni il wrapper e qualsiasi cosa dentro */
  html body .team-container .team-photo,
  html body .team-container .team-photo *,
  html body .team-container .team-photo picture,
  html body .team-container .team-photo img {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    overflow: hidden !important;
  }

  /* 2) Se la foto fosse applicata come background sul wrapper, azzerala */
  html body .team-container .team-photo {
    background: none !important;
    background-image: none !important;
    content: "" !important;
  }
}


/* Layout Desktop - Posizionamento speciale immagine Serena */
@media (min-width: 1025px) {
    .team-container {
        position: relative;
        overflow: visible;
        height: 561px;
        display: flex;
        align-items: center;
        flex-direction: row;
    }

    .team-photo {
        position: absolute;
        bottom: 0;
        left: 17.5%;
        transform: translateX(-50%);
        width: auto;
        height: 100%;
        z-index: 1;
    }

    .team-photo img {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      height: calc(100% + var(--serena-overhang, 12%)); /* testa che esce solo sopra */
      width: auto;
      max-height: none;
      object-fit: contain;
      border-radius: 16px;
      display: block;
    }


    .team-content {
        width: 60%;
        margin-left: 40%;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        z-index: 2;
        position: relative;
        padding-left: 0;
    }

    .team-button {
        align-self: flex-start;
        margin-top: 20px;
    }
}

.team-content {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 40px;
}

.team-title {
    font-family: 'Satoshi', sans-serif;
    font-size: var(--section-title-size) !important;
    font-weight: var(--section-title-weight) !important;
    color: #063046;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: var(--section-title-spacing) !important;
}

.team-description {
    font-family: 'Satoshi', sans-serif;
    font-size: var(--body-text-size);
    font-weight: 400;
    color: #125978;
    line-height: 1.6;
    margin-bottom: 20px;
}

.team-subtitle {
    font-family: 'Satoshi', sans-serif;
    font-size: var(--body-text-size);
    font-weight: 400;
    color: #125978;
    line-height: 1.6;
    margin-bottom: 16px;
}

.team-list {
    margin-bottom: 28px;
}

.team-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.team-list-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.team-list-text {
    font-family: 'Satoshi', sans-serif;
    font-size: var(--body-text-size);
    font-weight: 400;
    color: #125978;
    line-height: 1.6;
    margin: 0;
}

.team-button {
    background: #00A5CF;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    width: fit-content;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 450;
    cursor: pointer;
    transition: all 0.3s ease;
}

.team-button:hover {
    background: #0090B5;
    transform: translateY(-2px);
}

/* ATS Comparison Section */
.ats-comparison-section {
  width: 100%;
  padding: 128px 0;
  background: #EDFBFF;
  display: flex;
  justify-content: center;
}

.ats-comparison-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 60px; /* desktop: padding laterale */
}

.ats-comparison-title {
  font-family: 'Satoshi', sans-serif;
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  color: #063046;
  text-align: center;
  margin-bottom: 56px;
  line-height: 1;
  letter-spacing: var(--section-title-spacing);
}

.ats-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 120px;
  max-width: none;
  margin: 0 auto;
}

.ats-comparison-card {
  background: #fff;
  border-radius: 100px;
  /* spazio per l'icona a sinistra: 24 (padding) + 25 (icona) + ~11 (gap) */
  padding: 24px 24px 24px 60px;
  position: relative;            /* riferimento per l’icona assoluta */
  display: flex;
  align-items: flex-start;
  gap: 65px;
  border: 1px solid #E1F6FB;
  box-shadow: 0 12px 40px rgba(0,165,207,.18), 0 2px 6px rgba(6,48,70,.06);
  transition: transform .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
  overflow: hidden;
}
.card-rotate-left {
    transform: rotate(-3deg);
}

.card-rotate-right {
    transform: rotate(3deg);
}


.ats-comparison-card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 8px 32px rgba(162, 240, 256, 0.5);
}

.ats-comparison-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);   /* centrata verticalmente sempre */
  width: 25px;
  height: 25px;
  margin: 0;                     /* niente margin-top “rigido” */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ats-comparison-content h3 {
  font-family: 'Satoshi', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #063046;
  margin-bottom: 8px;
  line-height: 1.2;
}

.ats-comparison-content p {
  font-family: 'Satoshi', sans-serif;
  font-size: var(--body-text-size);
  font-weight: 400;
  color: #125978;
  line-height: 1.4;
  margin: 0;
}


/* Contact Form Section - New Design */
.contact-form-section {
    width: 100%;
    padding: 128px 0;
    background: #EDFBFF;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.contact-form-title {
    font-family: 'Satoshi', sans-serif;
    font-size: var(--section-title-size) !important;
    font-weight: var(--section-title-weight) !important;
    color: #063046;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: var(--section-title-spacing) !important;
}

.contact-form {
    max-width: 600px;
    margin: 64px auto 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-form-field {
    position: relative;
}

.contact-form-field input,
.contact-form-field-full textarea {
    width: 100%;
    padding: 8px 0;
    border: none;
    border-bottom: 2px solid #125978;
    background: transparent;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    color: #063046;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form-field input::placeholder,
.contact-form-field-full textarea::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.contact-form-field input:focus,
.contact-form-field-full textarea:focus {
    border-bottom-color: #00A5CF;
}

.contact-form-field-full {
    grid-column: 1 / -1;
    margin-bottom: 46px;
}

.contact-form-field-full textarea {
    width: 100%;
    min-height: 30px;
    resize: vertical;
    border-bottom: 2px solid #125978;
    margin-top: 12px;
    background: transparent;
}

.contact-form-submit {
    width: 100%;
    background: #00A5CF;
    color: white;
    border: none;
    padding: 16px 48px;
    border-radius: 8px;
    font-family: 'Satoshi', sans-serif;
    font-size: 16px;
    font-weight: 450;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form-submit:hover {
    background: #0090B5;
    transform: translateY(-2px);
}

/* FAQ Section Styles - Using unified design system from style.css */

/* Responsive Design */
@media (max-width: 1680px) {
    .team-container {
        width: 95% !important;
        max-width: 1600px !important;
        margin: 0 20px !important;
    }
}

@media (max-width: 1400px) {
    .team-container {
        width: 90% !important;
        max-width: 1200px !important;
        padding: 50px !important;
        gap: 40px !important;
        height: auto !important;
        min-height: 480px !important;
    }

    .team-photo {
        width: 400px !important;
        height: 400px !important;
        top: -40px !important;
    }

    .team-title {
        font-size: 32px !important;
    }

    .team-content {
        padding-left: 30px !important;
    }
}

@media (max-width: 1200px) {
    .team-container {
        width: 90% !important;
        max-width: 1000px !important;
        padding: 40px !important;
        gap: 30px !important;
        height: auto !important;
        min-height: 420px !important;
    }

    .team-photo {
        width: 350px !important;
        height: 350px !important;
        top: -30px !important;
    }

    .team-title {
        font-size: 32px !important;
    }

    .team-description, .team-subtitle {
        font-size: var(--body-text-size);
    }

    .team-list-text {
        font-size: 15px !important;
    }

    .team-content {
        padding-left: 20px !important;
    }

    .ats-comparison-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    /* FAQ responsive styles now handled by unified CSS */
}

@media (max-width: 1024px) {
    .team-container {
        flex-direction: column ;
        width: 90% ;
        max-width: 800px ;
        padding: 40px ;
        gap: 30px ;
        height: auto ;
        min-height: auto ;
        text-align: left ;
        overflow: visible ;
        position: static ;
    }


    .team-content {
        padding-left: 0 ;
        width: 100% ;
        max-width: 100% ;
        margin-left: 0 ;
        position: static ;
    }

    .team-title {
        font-size: 28px ;
        text-align: left ;
    }

    .team-list {
        text-align: left ;
        max-width: 600px ;
        margin: 0 auto 28px auto;
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section-chi-siamo {
        padding: 80px 20px 40px;
        min-height: auto;
    }

    .hero-content-wrapper {
        padding: 0 0;
        max-width: 100%;
    }

    /* Video Container Mobile */
    .video-container {
      width: min(52vw, 740px);
      aspect-ratio: 9 / 16;
      height: auto;
      margin: 32px auto 56px;
    }


    .team-video {
        transform: scale(1.1);
    }

    /* Social Proof Mobile */
    .social-proof {
        margin: 24px 0 8px 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .client-avatars {
        margin-bottom: 12px;
    }

    .client-text {
        margin-left: 0;
        font-size: 12px ;
        max-width: 480px;
        line-height: 1.4;
    }

    /* Hero Title Mobile */
    .chi-siamo-page .hero-section-chi-siamo .hero-title br { 
        display: none; 
      }
    .chi-siamo-page .hero-title,
    .chi-siamo-page h1.hero-title {
      font-size: var(--hero-title-size) ;
      line-height: 1.15 !;
      /* centra il blocco, non solo il testo */
      margin: 0 auto 16px ;
      max-width: 90% !;
      letter-spacing: var(--hero-title-spacing) ;
      text-align: center;
    }


    /* Hero Subtitle Mobile */
    .chi-siamo-hero-subtitle,
    .chi-siamo-page .hero-subtitle {
        font-size: var(--body-text-size);
        line-height: 1.5 ;
        margin: 16px 0 32px 0;
        max-width: 85%;
    }

    /* Team Section Mobile */
    .team-section {
        padding: 0 0 ;
    }

    .team-container {
    .team-container {
      width: 100% ;
      max-width: 800px ;
      padding: 16px ;
      gap: 0 ;
      margin: 0 auto ;
      flex-direction: column ;
      height: auto ;
      min-height: auto ;
      text-align: center ;
      position: static ;
      overflow: visible ;
    }


    .team-photo {
        width: 100% !important;
        max-width: 300px !important;
        height: 225px !important;
        margin: 0 auto 20px auto !important;
        position: static !important;
        transform: none !important;
        left: auto !important;
        bottom: auto !important;
        display: none;
    }

    .team-photo img {
        max-height: 225px !important;
        height: auto !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .team-content {
        padding-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        position: static !important;
    }

    .team-title {
        font-size: var(--section-title-size);
        margin-bottom: 24px;
        text-align: left;
    }

    .team-description, .team-subtitle {
        font-size: var(--body-text-size);
        
    }

    .team-list {
        text-align: left ;
        max-width: 100% ;
        margin: 20px auto 24px auto ;
    }

    .team-list-text {
        font-size: 14px !;
    }

    .team-button {
        padding: 12px 24px ;
        font-size: 16px ;
        width: 125px ;
        max-width: 280px ;
        margin: 0 0 0;
    }
        }

    /* ATS Comparison Mobile */
        /* ATS Comparison — Mobile (≤768px) */
        @media (max-width: 768px) {
          /* 8px dal bordo schermo */
          .chi-siamo-page .ats-comparison-section {
            padding: 0 8px;
          }
          /* il container non aggiunge ulteriore padding */
          .chi-siamo-page .ats-comparison-container {
            max-width: none;
            padding: 0;
            margin: 0;
          }
          /* una colonna, spaziatura regolare */
          .chi-siamo-page .ats-comparison-grid {
            grid-template-columns: 1fr;
            gap: 90px;
            max-width: 100%;
          }
          /* card morbide e consistenti su mobile */
          .chi-siamo-page .ats-comparison-card {
            padding: 16px 20px 16px 56px; /* 20 (padding L) + 24 (icona) + ~12 (gap) */
          }
          /* icona centrata anche su mobile e riallineata al nuovo padding */
          .chi-siamo-page .ats-comparison-icon {
            left: 20px;
            width: 24px;
            height: 24px;
          }

            .chi-siamo-page .ats-comparison-container .ats-comparison-title {

            font-size: var(--section-title-size);
            font-weight: var(--section-title-weight);
            display: block ;
            box-sizing: border-box;
            width: 100%;
            padding-left: 54px;
            padding-right: 54px;
            margin: 192px auto 70px;
            line-height: 1.15;
          }
          .chi-siamo-page .ats-comparison-content h3 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 6px;
            line-height: 1.25;
          }
          .chi-siamo-page .ats-comparison-content p {
            font-size: 14px;
            line-height: 1.45;
          }
            }

   

    /* Contact Form Mobile */
    .contact-form-section {
        padding: 60px 0;
    }

    .contact-form-container {
        padding: 0 16px;
    }

    .contact-form-title {
        font-size: var(--section-title-size);
        line-height: 1.15;
        margin: 192px auto 24px;
    }

    .contact-form {
        margin: 40px auto 0;
        max-width: 100%;
    }

    .contact-form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-bottom: 20px;
    }

    .contact-form-field-full {
        margin-bottom: 32px;
    }

    .contact-form-submit {
        padding: 14px 32px;
        font-size: 16px;
    }

    /* FAQ Mobile - Using unified styles from style.css */
    .faq-section {
        padding: 60px 0;
    }
    .contact-form-field-full textarea {
      min-height: 80px;      /* aumenta/diminuisci a piacere (es. 140px, 160px) */
      line-height: 1.25;      /* migliora la leggibilità del placeholder */
    }
    .faq-layout {
        flex-direction: column;
        gap: 32px;
        text-align: center;
        padding: 0 16px;
    }

    .faq-title,
    .faq-questions {
        width: 100%;
        min-width: auto;
    }

    .faq-title h2 {
        font-size: 24px;
        text-align: center;
    }

    .faq-questions {
        align-items: center;
        margin-left: 0;
    }

    .faq-question {
        padding: 16px 20px;
    }

    .faq-item.collapsed .faq-question {
        padding: 12px 20px;
    }

    .faq-item.expanded .faq-question {
        padding: 20px !important;
    }
        }
}

    /* --- ICONA SEMPRE CENTRATA VERTICALMENTE NELLE CARD --- */
    .chi-siamo-page .ats-comparison-card {
      position: relative;
      /* padding generale della card (desktop) */
      padding: 24px;
      /* riserva spazio per l'icona: left padding + icona (25px) + gap (12px) */
      padding-left: 60px; /* 24 + 25 + 11 ~ 60; aggiusta se vuoi più/meno spazio */
    }

    .chi-siamo-page .ats-comparison-icon {
      position: absolute;
      left: 24px;           /* allineata al padding sinistro della card (desktop) */
      top: 50%;
      transform: translateY(-50%);
      width: 25px;
      height: 25px;
      margin: 0 !important; /* annulla qualsiasi margin precedente */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* Mobile: padding diverso? allinea di conseguenza */
    @media (max-width: 768px) {
        
        .chi-siamo-page .ats-comparison-container {
            padding: 0 8px;       /* padding laterale della sezione */
          }
        .chi-siamo-page .ats-comparison-card {
        padding: 16px 20px 16px 56px;
        padding-left: 56px; /* 20 (padding L) + 25 (icona) + 11 (gap) */
        border-radius:32px;
      }
      .chi-siamo-page .ats-comparison-icon {
        left: 20px;         /* uguale al padding sinistro mobile */
        width: 24px;
        height: 24px;
      }
    }
    /* ===== CHI-SIAMO: Serena 1024–1400 ===== */
    @media (min-width: 1025px) and (max-width: 1400px) {
      .team-container { position: relative !important; }

      .team-photo {
        position: absolute !important;
        bottom: 0 !important;
        top: auto !important;
        left: 17.5% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        height: 100% !important;           /* altezza = container */
        overflow: visible !important;       /* la testa può uscire solo sopra */
        z-index: 1;
      }

      .team-photo img {
        position: absolute !important;
        bottom: 0 !important;               /* combacia SEMPRE col bordo inferiore */
        left: 50% !important;
        transform: translateX(-50%) !important;
        height: calc(100% + var(--serena-overhang, 12%)) !important;
        width: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
      }
    }

    /* < 1024 px: nascondi la foto */
    @media (max-width: 1023px) {
      .team-photo { display: none !important; }
    }
   