@media (max-width: 991px) {

  .left {
    flex: 1;
    padding: 80px 24px;
    display: flex;
    gap: 40px;
    flex-direction: column-reverse;
  }

  .resume {
    margin-bottom: 30px;
    margin-top: 0px;
    font-size: 18px;
    align-items: baseline;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #fff;
    justify-content: space-between;

    >span {
      font-weight: 400;
      line-height: 30px;
      height: 30px;
    }
  }

  .resume a {
    color: #fff;
    text-decoration: underline;
    padding: 0;
    border-radius: 4px;
    margin-left: 0;
    font-weight: 500;
    display: inline-block;
  }

  .left p {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 30px;
    color: #e1e5ee;
  }

  .header-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: unset;
  }

  .header-group h1 {
    font-weight: 700;
    font-size: 30px;
    line-height: 45px;
    color: #fff;
  }

  .main-section {
    flex-direction: column;
  }

  /* Right side form */
  .form-box {
    flex: 1;
    background: #fff;
    padding: 0px 24px;
    width: 100%;
    padding-top: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .form-box .header-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .form-box h2 {
    font-weight: 700;
    font-size: 30px;
    line-height: 45px;
  }

  .form-box .subtitle {
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
  }

  .consent-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .form-box .communications {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
  }

  .form-box form {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    margin-top: 32px;
  }

  .read-more-btn {
    cursor: pointer;
    display: block;
    text-decoration: underline;
    font-weight: 500;
  }

  .read-less-btn {
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
  }

  .expanded {
    overflow: visible !important;
    width: 100% !important;
    display: block !important;
  }

  .form-group {
    margin: 0
  }

  .form-group label {
    font-size: 18px;
    margin-bottom: 6px;
    color: #333;
    font-weight: 300;
    line-height: 28px;
  }

  .email-advice {
    font-size: 18px;
    line-height: 140%;
  }

  .form-group input[type='email'] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .form-group small {
    margin-top: 4px;
    font-size: 0.8rem;
    color: #666;
  }

  .form-group .error {
    color: #d00;
    font-size: 12px;
    margin-top: 4px;
    display: none;
  }

  .checkbox-group {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 24px;
    gap: 32px;
    width: 100%;
    margin: 0
  }

  .checkbox-item {
    display: flex;
    margin-bottom: 16px;
  }

  .checkbox-title-label {
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .checkbox-item:last-child {
    margin-bottom: 0;
  }

  .checkbox-item strong {
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    color: #333;
    margin-bottom: 0px;
  }

  .checkbox-item label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin: 0
  }

  .checkbox-item input[type='checkbox'] {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background-color: #fff;
    border: 2px solid #ccc;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
    margin-top: 5px;
    flex-shrink: 0;
  }

  .form-group input[type='checkbox']:hover {
    border-color: #999;
  }

  .checkbox-item input[type='checkbox']:checked {
    background-color: #0D1729;
    border-color: #0D1729;
  }

  .checkbox-item input[type='checkbox']:checked::after {
    content: '';
    position: absolute;
    width: 4.5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .checkbox-item .label-text {
    width: unset;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #555;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    /* Mostra solo 2 righe */
    -webkit-box-orient: vertical;
    flex: 1;
  }

  .submit-btn {
    margin-bottom: 30px;
  }

  .submit-btn:hover:not(:disabled) {
    background: #0041a8;
  }

  /* Disabled state styling to match "Prosegui" button */
  .submit-btn:disabled {
    background: #e0e0e0;
    color: #888888;
    cursor: default;
  }

  .intro {
    line-height: 54px;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
  }

  .card {
    width: 345px;
    box-shadow: none;
    border-radius: 8px;
    padding: 32px;
    background-color: #EAE7E1;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 548px;
  }

  .card-header {
    gap: 1rem;
  }

  .card-header p {
    line-height: 30px;
    font-size: 20px;
  }

  .card-header h2 {
    margin: 0;
    font-size: 30px;
    line-height: 45px;
    font-weight: 700;
    color: #000000;
  }

  .main-container {
    width: 100%;
    padding: 20px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
  }

  .main-section-container {
    flex-direction: column;
    padding-top: 63pxpx;
  }

  .main-section {
    flex-direction: column;
  }

  .cards {
    display: flex;
    flex-direction: column;
  }

  .trading-investing-section {
    background-color: #46DBF5;
    padding: 158px 24px;

    >div {
      min-height: 39dvh;
      display: flex;
      flex-direction: column;
      justify-content: center;

      >h2 {
        font-weight: 700;
        font-size: 48px;
        line-height: 72px;
        margin-bottom: 32px;
      }

      >p {
        font-weight: 400;
        font-size: 24px;
        line-height: 36px;

      }
    }
  }





  .obr-carousel-dots,
  .obr-carousel-controls {
    display: none;
  }

  .obr-carousel-header {
    flex: 1;
  }

  .obr-carousel-header h2 {
    font-size: 3rem;
    font-weight: bold;
    color: #0c1524;
  }

  .obr-carousel-card-head {
    >h3 {
      font-weight: 600;
      font-size: 30px;
    }

    >p {
      font-size: 20px;
    }
  }

  .obr-carousel-section,
  .obr-carousel,
  .obr-carousel .obr-carousel-track {
    display: flex;
    flex-direction: column;
    transform: none !important
  }

  .obr-carousel-section {
    padding: 180px 24px 80px 24px;
  }

  .obr-carousel .obr-carousel-track {
    gap: 40px;
  }

  .obr-carousel-card {
    transform: none;
  }

  .obr-carousel-card:nth-child(1),
  .obr-carousel-card:nth-child(3) {
    background-color: #0D1729;
    color: #fff;
    opacity: 1;
    transform: translateX(0) scale(1);

    &>.obr-carousel-card-head {
      >h3 {
        color: #fff;
      }
    }
  }

  .obr-carousel-card:nth-child(2) {
    background-color: #35d4f3;
    color: #1d2330;
    opacity: 1;
    transform: translateX(0) scale(1);

    &>.obr-carousel-card-head {
      >h3 {
        color: #1d2330;
      }
    }
  }

  .cards {
    display: flex;
    flex-direction: column;
  }

  .obr-carousel-header {
    width: auto;
  }

  .obr-carousel-header h2 {
    font-weight: 700;
    font-size: 48px;
    line-height: 72px;


    color: #0D1729;
  }

  .obr-carousel-card {
    flex: none;
    display: flex;
    padding: 24px;
    border-radius: 10px;
    min-height: 650px;
  }

  .obr-carousel-card-head {
    flex: 1;

    >h3 {
      font-weight: 700;
      font-size: 30px;
      line-height: 45px;


    }

    >p {
      font-weight: 400;
      font-size: 20px;
      line-height: 30px;


    }
  }

  .trustpilot-widget {
    padding: 180px 24px 0 24px;
  }

  .obr-carousel-card-footer {
    >span {
      font-weight: 200;
      font-size: 20px;
      line-height: 30px;
      transition: font-size 0.35s ease, line-height 0.35s ease;

    }

    >p {
      font-weight: 400;
      font-size: 18px;
      line-height: 28px;
    }
  }

}