/* HubSpot Form (orbisk/hubspot-form) */

.orbisk_hubspot_form {
    max-width: 640px;
    width: 100%;
    font-family: 'Poppins', Arial, sans-serif;
}

/* The white card wraps both the HubSpot form and the thank-you message;
   on submit the form is swapped for the thank-you content inside it. */
.orbisk-hsf {
    padding: 40px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    text-align: left;
}

/* Hidden until HubSpot reports a submit. */
.orbisk-hsf-ty {
    display: none;
    animation: orbisk-hsf-fade 0.4s ease-in-out;
}

.orbisk-hsf.is-submitted .orbisk-hsf-form { display: none; }
.orbisk-hsf.is-submitted .orbisk-hsf-ty { display: block; }

/* Same check icon as .orbisk-ctd-check (comparison-table-dynamic.css),
   scaled up for the hero circle and down for the list bullets. */
.orbisk-hsf-ty-check,
.orbisk-hsf-ty-steps li::before {
    content: "";
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Crect width='22' height='22' rx='11' fill='%23B5E37C'/%3E%3Cpath d='M15.8994 8.77299L9.89941 14.773C9.84715 14.8254 9.78506 14.867 9.71669 14.8954C9.64831 14.9238 9.57501 14.9384 9.50098 14.9384C9.42694 14.9384 9.35364 14.9238 9.28527 14.8954C9.21689 14.867 9.1548 14.8254 9.10254 14.773L6.47754 12.148C6.42521 12.0957 6.38371 12.0335 6.35539 11.9652C6.32707 11.8968 6.3125 11.8235 6.3125 11.7496C6.3125 11.6756 6.32707 11.6023 6.35539 11.5339C6.38371 11.4656 6.42521 11.4034 6.47754 11.3511C6.52986 11.2988 6.59198 11.2573 6.66034 11.229C6.72871 11.2006 6.80198 11.1861 6.87598 11.1861C6.94997 11.1861 7.02324 11.2006 7.09161 11.229C7.15997 11.2573 7.22209 11.2988 7.27441 11.3511L9.50144 13.5781L15.1035 7.97705C15.2091 7.87138 15.3525 7.81201 15.5019 7.81201C15.6514 7.81201 15.7947 7.87138 15.9004 7.97705C16.006 8.08272 16.0654 8.22604 16.0654 8.37549C16.0654 8.52493 16.006 8.66825 15.9004 8.77393L15.8994 8.77299Z' fill='%2313382A'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.orbisk-hsf-ty-check {
    width: 62px;
    height: 62px;
    margin-bottom: 24px;
    background-size: 62px 62px;
}

.orbisk_hubspot_form .orbisk-hsf-ty-heading {
    margin: 0 0 16px;
    padding: 0;
    font-family: 'Agrandir Bold', sans-serif !important;
    font-weight: normal;
    font-size: 32px;
    line-height: 1.2;
    color: #13382A;
}

.orbisk_hubspot_form .orbisk-hsf-ty-body,
.orbisk_hubspot_form .orbisk-hsf-ty-body p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #666666;
}

.orbisk-hsf-ty-body a {
    color: #1f3d2f;
    text-decoration: underline;
}

.orbisk_hubspot_form .orbisk-hsf-ty-next-title {
    margin: 32px 0 14px;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    color: #13382A;
}

.orbisk-hsf-ty-steps ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.orbisk-hsf-ty-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #666666;
}

.orbisk-hsf-ty-steps li::before {
    width: 28px;
    height: 28px;
    background-size: 28px 28px;
}

.orbisk-hsf-ty-divider {
    border: 0;
    border-top: 1px solid #e5e5e5;
    margin: 28px 0;
}

.orbisk-hsf-story {
    position: relative;
    display: flex;
    gap: 20px;
    align-items: center;
}

.orbisk-hsf-story-img {
    width: 192px;
    height: 136px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.orbisk-hsf-story-label {
    display: block;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: #666666;
}

.orbisk-hsf-story-text {
    display: block;
    margin-bottom: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #13382A;
}

.orbisk-hsf-story-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #13382A;
    text-decoration: none;
}

.orbisk-hsf-arrow {
    display: inline-block;
    width: 13px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='10' viewBox='0 0 13 10' fill='none'%3E%3Cpath d='M12.6903 4.99986L12.6951 5.00007C12.6951 5.00007 8.06122 5.1785 8.06122 10M12.6903 4.99986C12.5232 4.99176 8.06103 4.73124 8.06103 0M12.6903 4.99986H0M12.6903 4.99986H12.8738' stroke-width='1.25' stroke='%2313382A'/%3E%3C/svg%3E") no-repeat center / contain;
    transition: transform 0.2s ease;
}

/* Stretched link: the whole story block (image + text) is the click target. */
.orbisk-hsf-story-link::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
}

.orbisk-hsf-story-link:focus-visible::after {
    outline: 2px solid #1f3d2f;
    outline-offset: 4px;
}

.orbisk-hsf-story:hover .orbisk-hsf-arrow {
    transform: translateX(4px);
}

/* Visual Builder preview only */
.orbisk-hsf-vb-note {
    padding: 24px;
    margin-bottom: 16px;
    border: 1px dashed #9db8a8;
    border-radius: 12px;
    color: #1f3d2f;
    font-size: 14px;
    background: #f4f8f5;
}

@media (max-width: 520px) {
    .orbisk-hsf { padding: 28px 22px; }
    .orbisk-hsf-story { flex-direction: column; align-items: flex-start; }
    .orbisk-hsf-story-img { width: 100%; height: 180px; }
}

@keyframes orbisk-hsf-fade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
