/* Shortcode CTA form — inline form inside article body */

.shortcode-form {
    position: relative;
    display: flex;
    align-items: stretch;
    border-radius: 7px;
    background-color: #0e3456;
    background-image: linear-gradient(90deg, rgba(28, 87, 142, 0) 2.11%, #1c568d 91.56%);
    overflow: hidden;
  margin: 24px 0;
}

/* =============================================
   Left column — text + form
   ============================================= */

.shortcode-form__content {
    flex: 1;
    min-width: 0;
    padding: 23px 20px 24px 23px;
    display: flex;
    flex-direction: column;
}

.shortcode-form__title {
    font-family: Montserrat, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.24px;
    color: #ffffff;
    margin: 0;
}

.shortcode-form__subtitle {
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 21px;
    color: #ffffff;
    margin: 10px 0 0;
}

/* =============================================
   Form
   ============================================= */

.shortcode-form__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 14px;
}

/* Phone field */
.shortcode-form__field {
    position: relative;
    display: flex;
    flex-direction: column;
}

.shortcode-form__input-row {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    padding: 2px 9px 0;
}

.shortcode-form__input-icon {
    width: 24px;
    height: 41px;
    flex-shrink: 0;
}

.shortcode-form__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 0 11px;
    font-family: Montserrat, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.shortcode-form__input::placeholder {
    color: #ffffff;
    opacity: 0.3;
}

.shortcode-form__input-border {
    display: block;
    width: 100%;
    height: 7px;
    opacity: 0.5;
}

.shortcode-form__field-label {
    display: block;
    opacity: 0.5;
    margin-top: 8px;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: #ffffff;
}

/* Submit button with WhatsApp icon */
.shortcode-form__btn-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.shortcode-form__btn-icon {
    position: absolute;
    left: -14px;
    top: 12px;
    transform: translateY(-50%) rotate(-10deg);
    width: 48px;
    height: 48px;
    border-radius: 7px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 4px 4px 16px 0 rgba(6, 17, 26, 0.15);
}

.shortcode-form__btn-icon-img {
    width: 32px;
    height: 32px;
}

.shortcode-form__submit {
    width: 100%;
    border-radius: 4px;
    background: #ffbd45;
    border: none;
    padding: 20px;
    font-family: "Exo 2", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 0.6px;
    color: #113555;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.shortcode-form__submit:hover {
    background: #ffc857;
}

/* Consent checkbox */
.shortcode-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.shortcode-form__consent-check {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.shortcode-form__consent-icon {
    width: 14px;
    height: 14px;
}

.shortcode-form__consent-text {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: #ffffff;
}

.shortcode-form__consent-link {
    color: #ffbd45 !important;
    text-decoration: none !important;
}

.shortcode-form__consent-link:hover {
    text-decoration: underline;
}

/* Security bar */
.shortcode-form__security {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    margin-bottom: -24px;
    margin-left: -23px;
    padding-left: 24px;
    max-width: calc(100% + 23px);
    height: 32px;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.shortcode-form__security-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.shortcode-form__security-text {
    font-family: Montserrat, sans-serif;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: #ffffff;
}

/* =============================================
   Right column — illustration with docs + video
   ============================================= */

.shortcode-form__illustration {
    position: relative;
    width: 42%;
    flex-shrink: 0;
}

.shortcode-form__bg-image {
    position: absolute;
    top: 0;
    right: -100px;
    width: 400px;
    opacity: 0.1;
    pointer-events: none;
}

/* Document pages (tilted) */
.shortcode-form__docs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shortcode-form__doc {
    position: absolute;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
    transform: rotate(-10deg);
    filter: drop-shadow(0px 8px 16px rgba(6, 17, 26, 0.1));
}

.shortcode-form__doc img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shortcode-form__doc--1 {
    top: -85px;
    left: 7px;
    width: 347px;
    height: 245px;
}

.shortcode-form__doc--2 {
    top: 90px;
    left: 20px;
    width: 347px;
    height: 245px;
}

.shortcode-form__doc--3 {
    bottom: -90px;
    left: 20px;
    width: 347px;
    height: 245px;
}

/* Video preview */
.shortcode-form__video {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 100%;
    width: 247px;
    height: 143px;
    /* aspect-ratio: 247 / 143; */
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;
    box-shadow: 0 8px 25px 0 rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1;
}

.shortcode-form__video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shortcode-form__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 15px 12px;
}

.shortcode-form__video-title {
    font-family: Montserrat, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 17px;
    color: #ffffff;
}

.shortcode-form__video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ffbd45;
    box-shadow: 0 0 26px 0 rgba(217, 148, 23, 0.37);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shortcode-form__video-play svg {
    width: 24px;
    height: 24px;
}

/* =============================================
   Responsive — Mobile
   ============================================= */

@media (max-width: 768px) {
  .shortcode-form__submit {
    font-size: 13px;
    letter-spacing: unset;
  }
    .shortcode-form {
        flex-direction: column;
        align-items: center;
    }

    /* Illustration becomes vertical stack */
    .shortcode-form__illustration {
        width: 300px;
        height: 308px;
        order: -1;
    }

    .shortcode-form__bg-image {
        display: none;
    }

    /* Docs strip at top */
    .shortcode-form__docs {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
    }

    .shortcode-form__doc--1 {
        top: 10px;
        left: -150px;
        width: 250px;
        height: 178px;
    }

    .shortcode-form__doc--2 {
        top: 10px;
        left: 24px;
        width: 250px;
        height: 178px;
    }

    .shortcode-form__doc--3 {
        top: 10px;
        left: 200px;
        width: 250px;
        height: 178px;
    }

    /* Video below illustration */
    .shortcode-form__video {
        position: absolute;
        bottom: 0;
        top: unset;
        height: 160px;
        right: unset;
        left: unset;
        width: 300px;
        max-width: unset;
        margin: 0 auto;
    }

  .shortcode-form__video-title {
    font-size: 16px;
  }

    /* Content */
    .shortcode-form__content {
        padding: 20px 24px 0;
        align-items: center;
        order: 1;
    }

    .shortcode-form__title {
        text-align: center;
    }

    .shortcode-form__title br {
        display: none;
    }

    .shortcode-form__subtitle {
        text-align: center;
    }

    .shortcode-form__subtitle br {
        display: none;
    }

    .shortcode-form__form {
        max-width: unset;
        width: 100%;
        align-items: center;
    }

    .shortcode-form__field {
        width: 100%;
    }

    .shortcode-form__btn-wrapper {
        width: 100%;
    }

    .shortcode-form__btn-icon {
        width: 38px;
        height: 38px;
        left: -16px;
        top: 4px;
    }

    .shortcode-form__btn-icon-img {
        width: 28px;
        height: 28px;
    }

    .shortcode-form__consent {
        max-width: 280px;
    }

    /* Security */
    .shortcode-form__security {
        margin-left: 0;
        max-width: unset;
        width: calc(100% + 46px);
        margin-bottom: 0;
        /* margin-left: -44px; */
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        background-image: none;
        order: 2;
    }
}
