:root {
    --belvg-leads-spacing: 1rem;
    --belvg-leads-spacing-s: 0.5rem;
    --belvg-leads-spacing-l: 2rem;
    --belvg-leads-spacing-xl: 3rem;
}

.belvg-leads {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.belvg-leads__inner {
    width: 100%;
    position: relative;
    z-index: 1;
}

.belvg-leads__title {
    margin-bottom: var(--belvg-leads-spacing-s);
}

.belvg-leads__description {}

.belvg-leads__form {
    display: flex;
    flex-direction: column;
    gap: var(--belvg-leads-spacing);
    margin: var(--belvg-leads-spacing-l) 0 0;
}

.belvg-leads__fieldset {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: var(--belvg-leads-spacing);
    border: 0;
    padding: 0;
    margin: 0;
}

.belvg-leads__fieldset__legend {
    display: block;
    width: 100%;
    margin: 0;
}

.belvg-leads__fieldset__row {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--belvg-leads-spacing);
}

.belvg-leads__fieldset__row--multiple {
    grid-template-columns: 1fr;

    @media (min-width: 768px) {
        grid-template-columns: repeat(2, 1fr);
    }
}

.belvg-leads__fieldset__field {
    label {
        display: block;
        margin: 0 0 var(--belvg-leads-spacing-s);
    }

    .form-control {
        width: 100%;

        &:is(textarea) {
            min-height: 80px;
        }
    }
}

.belvg-leads__actions {
    margin: var(--belvg-leads-spacing) 0 0;

    .btn {
        width: 100%;
    }
}

.belvg-leads__footer {
    text-align: center;
    margin: var(--belvg-leads-spacing) 0 0;
}

.belvg-leads__message {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(50px);

    &.is-error {
        .belvg-leads__message__title {
            color: #b11b1b;
        }
    }
}

.belvg-leads__message__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--belvg-leads-spacing);
    width: 100%;
    height: 100%;

    @media (max-width: 768px) {
        padding-left: var(--belvg-leads-spacing-l);
        padding-right: var(--belvg-leads-spacing-l);
    }
}

.belvg-leads__message__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #fff;
    background: #000;
    border-radius: 100%;

    svg {
        width: 28px;
        height: 28px;
    }
}

.belvg-leads__message__title {}

.belvg-leads__message__text {}
/* Landing */

.belvg-landing {
    .belvg-leads {
        overflow: hidden;
        color: #b7b9bc;
        background: #161719;
        padding: calc(var(--belvg-widget-spacing-xl) * 2) var(--belvg-widget-spacing-l) var(--belvg-widget-spacing-xl);

        &::after {
            content: '';
            position: absolute;
            z-index: 11;
            left: -40px;
            bottom: -10px;
            width: 220px;
            height: 280px;
            pointer-events: none;
            filter: brightness(0) invert(1);
            opacity: 0.04;
            background: url('../../frontend/Brentford/default/de_CH/BelVG_Leads/images/logo.svg') no-repeat 50%;
            background-size: cover;
        }

        @media (min-width: 768px) {
            padding: calc(var(--belvg-widget-spacing-xl) * 2) var(--belvg-widget-spacing) var(--belvg-widget-spacing-xl);
        }
    }

    .belvg-leads__inner {
        z-index: 3;

        @media (min-width: 768px) {
            max-width: 600px;
            margin: 0 auto;
        }
    }

    .belvg-leads__description {
        @media (min-width: 768px) {
            max-width: 460px;
        }
    }

    .belvg-leads__title {
        color: #fff;
        font-size: 23px;
        line-height: 1.2;
        font-weight: 400;

        @media (min-width: 768px) {
            font-size: 33px;
        }
    }

    .belvg-leads__description {
        font-size: 15px;
    }

    .belvg-leads__fieldset__legend {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: var(--belvg-widget-spacing);
        color: #8a8c8f;
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        white-space: nowrap;
        margin-bottom: var(--belvg-widget-spacing-s);

        &::after {
            flex: 1 1 100%;
            content: '';
            height: 2px;
            background: #2a2b2e;
        }
    }

    .belvg-leads__fieldset__field {
        label {
            color: #fff;
            font-size: 14px;
            font-weight: 600;
        }

        .form-control {
            color: #fff;
            font-size: 12px;
            font-weight: 500;
            background: #1E1F22;
            border: 1px solid #2E2F33;
            border-radius: 3px;

            &:focus,
            &:active {
                border-color: #00608A;
            }

            &::-moz-placeholder {
                color: #757575;
                opacity: 1;
            }

            &::-webkit-input-placeholder {
                color: #757575;
                opacity: 1;
            }

            &::placeholder {
                color: #757575;
                opacity: 1;
            }
        }
    }

    .belvg-leads__actions {
        .btn {
            color: #fff;
            font-size: 17px;
            font-weight: 500;
            letter-spacing: 0;
            text-transform: none;
            background: #00608A;
            border: none;
            border-radius: 3px;

            &:hover {
                background: #004D6F;
            }
        }
    }

    .belvg-leads__footer {
        color: #8a8c8f;
        font-size: 13px;
    }

    .belvg-leads__message {
        background: #161719;
        backdrop-filter: none;
    }

    .belvg-leads__message__inner {
        @media (min-width: 768px) {
            max-width: 440px;
            margin: 0 auto;
        }
    }

    .belvg-leads__message__icon {
        background: #00608a;
    }

    .belvg-leads__message__title {
        color: #fff;
        font-size: 27px;

    }
}
:root {
    --belvg-landing-color-text: #1a1a1a;
    --belvg-landing-color-bg: #ffffff;
    --belvg-landing-max-width: 1180px;
}

.belvg-landing {
    max-width: var(--belvg-landing-max-width);
    margin: 0 auto;
    color: var(--belvg-landing-color-text);
    font-size: 18px;
    text-align: left;
    letter-spacing: 0;
    background: var(--belvg-landing-color-bg);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.belvg-landing__wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.belvg-landing__header {}

.belvg-landing__content {
    flex: 1 0 auto;
}

.belvg-landing__footer {
    flex-shrink: 0;
}
:root {
    --belvg-widget-color-muted: #6b7280;
    --belvg-widget-color-primary: #00608a;
    --belvg-widget-color-primary-dark: #00567c;
    --belvg-widget-color-secondary: #fff;
    --belvg-widget-color-bg: var(--belvg-landing-color-bg, #fff);
    --belvg-widget-color-bg-alt: #f6f7f8;
    --belvg-widget-color-border: #e0e0e0;
    --belvg-widget-spacing: 12px;
    --belvg-widget-spacing-s: 6px;
    --belvg-widget-spacing-l: 24px;
    --belvg-widget-spacing-xl: 48px;
}

.belvg-widget {
    position: relative;
    display: block;
    padding: var(--belvg-widget-spacing-xl) var(--belvg-widget-spacing-l) var(--belvg-widget-spacing-l);
    box-sizing: border-box;

    *,
    *::after,
    *::before {
        box-sizing: inherit;
    }

    &,
    h1, h2, h3, h4, h5, h6 {
        font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
        line-height: 1.4;
    }

    h1, h2, h3, h4, h5, h6 {
        font-weight: 300;
    }

    &.is-alt-bg {
        background: var(--belvg-widget-color-bg-alt);

        + &.is-alt-bg {
            margin-top: var(--belvg-widget-spacing);
        }

        &.is-has-label {
            &::before {
                margin-top: var(--belvg-widget-spacing);
            }
        }
    }

    &.is-has-label {
        &::before {
            content: '';
            display: block;
            height: 3px;
            width: 42px;
            margin-bottom: var(--belvg-widget-spacing-l);
            background: var(--belvg-widget-color-primary);
        }
    }
}

.belvg-widget__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.belvg-widget__body,
.belvg-widget__note {
    p,
    ol,
    ul {
        margin: 0 0 1em;

        &:last-child {
            margin-bottom: 0;
        }
    }

    li {
        margin: 0 0 0.5em;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

.belvg-widget__eyebrow {
    display: block;
    color: var(--belvg-widget-color-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin: 0 0 var(--belvg-widget-spacing);
}

.belvg-widget__title {
    font-size: 30px;
    margin: 0;
}

.belvg-widget__cta,
.belvg-widget__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    gap: 0.5rem;
    text-decoration: none;

    img,
    svg {
        width: 1rem;
        height: 1rem;
        object-fit: cover;
    }
}

.belvg-widget__cta {
    padding: var(--belvg-widget-spacing) var(--belvg-widget-spacing-l);
    background: var(--belvg-widget-color-primary);
    color: var(--belvg-widget-color-secondary);
    font-weight: 600;
    transition: all 0.3s ease;

    &:hover {
        color: var(--belvg-widget-color-secondary);
        text-decoration: none;
        background: var(--belvg-widget-color-primary-dark);
    }
}

.belvg-widget__note {
    font-size: 0.875rem;
}

.belvg-widget__video-box {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    aspect-ratio: 16 / 9;

    &.belvg-widget__video--vertical {
        aspect-ratio: 9 / 16;

        /* YouTube still serves the Shorts thumbnail on a 16:9 canvas with the actual frame
           pillarboxed inside it - "contain" would just show that pillarboxing letterboxed a
           second time inside our 9:16 box. Cropping via "cover" cuts the black bars instead of
           preserving them. */
        img {
            object-fit: cover;
        }
    }

    img,
    iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        border: 0;
    }
}

.belvg-widget__video-play {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    border: 0;
    cursor: pointer;
    padding: 0;

    &:hover {
        background: rgba(0, 0, 0, 0.3);
    }
}

.belvg-widget__video-play-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    color: var(--belvg-widget-color-secondary);
    background: var(--belvg-widget-color-primary);
    transition: background-color 0.3s ease;

    &:hover {
        background: var(--belvg-widget-color-primary-dark);
    }

    svg {
        width: 32px;
        height: 32px;
    }
}

body {
    /* Google translate bar design fix. */
    top: 0 !important;
}

.skiptranslate > iframe,
.belvg-widget__google-translate-mount {
    /* Visually hidden (screen-reader-only pattern), not display:none - Google's script can skip
       initializing an element with zero layout. Sizing was ruled out as the cause of the DE/EN
       pill not driving translation (tested with real, off-screen dimensions - no change), so this
       is back to the standard accessible-hiding technique. */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.belvg-widget__lang-switch {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--belvg-widget-color-border);
    border-radius: 2px;
    overflow: hidden;
}

.belvg-widget__lang-switch-btn {
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 8px 11px;
    background: var(--belvg-widget-color-secondary);
    color: var(--belvg-widget-color-muted);

    &.is-active {
        background: var(--belvg-widget-color-primary);
        color: var(--belvg-widget-color-secondary);
    }
}

/* Landing - Header */

.belvg-widget__header {
    padding: var(--belvg-widget-spacing-l);
    border-bottom: 1px solid var(--belvg-widget-color-border);

    .belvg-widget__inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--belvg-widget-spacing);

        @media (max-width: 768px) {
            gap: var(--belvg-widget-spacing-l);
        }
    }
}

.belvg-widget__header__link {
    display: flex;
    flex: 0 0 auto;
    font: 0/0 a;
    text-decoration: none;
}

.belvg-widget__header__image {
    width: auto;
    height: 52px;
}

.belvg-widget__header__content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--belvg-widget-spacing-l);

    .belvg-widget__cta {
        font-size: 14px;
        padding: var(--belvg-widget-spacing-s) var(--belvg-widget-spacing);
        border-radius: 1rem;

        @media (max-width: 768px) {
            width: 100%;

            span {
                display: none;
            }
        }
    }
}

/* Landing - Footer */

.belvg-widget__footer {
    color: #c7c9cc;
    font-size: 15px;
    padding: var(--belvg-widget-spacing-xl) var(--belvg-widget-spacing-l) var(--belvg-widget-spacing);
    background: #2a2b2e;

    @media (min-width: 768px) {
        padding: var(--belvg-widget-spacing-xl) calc(var(--belvg-widget-spacing-xl) * 2);
    }

    a {
        color: #fff;
        text-decoration: none;

        &:hover {
            color: #fff;
            text-decoration: underline;
        }
    }
}

.belvg-widget__footer__image {
    width: auto;
    height: 24px;
    margin: 0 0 var(--belvg-widget-spacing-xl);
}

.belvg-widget__footer__content {
    .belvg-widget__footer__image + & {
        margin-top: var(--belvg-widget-spacing-l);
    }
}

.belvg-widget__footer__sections {
    margin-top: var(--belvg-widget-spacing-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--belvg-widget-spacing-l);
}

.belvg-widget__footer__title {
    color: #fff;
    font-size: 16px;
    font-weight: 600 !important;
    margin: 0 0 var(--belvg-widget-spacing);
}

.belvg-widget__footer__description {
}

.belvg-widget__footer__section-image {
    display: block;
    width: 100%;
    height: auto;
    margin: var(--belvg-widget-spacing) 0;
}

.belvg-widget__footer__bottom {
    position: relative;
    padding-top: var(--belvg-widget-spacing-l);
    margin-top: var(--belvg-widget-spacing-l);

    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: currentColor;
        opacity: 0.1;
    }
}

/* Landing - Hero */

.belvg-widget__hero {
    padding-top: var(--belvg-widget-spacing-l);

    .belvg-widget__inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: var(--belvg-widget-spacing-xl);

        @media (min-width: 768px) {
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 60px;
        }
    }
}

.belvg-widget__hero__title {
    max-width: 400px;
    margin-bottom: var(--belvg-widget-spacing);

    .belvg-widget__title {
        font-size: clamp(34px, 5.2vw, 52px);
        line-height: 1.1;
    }
}

.belvg-widget__hero__description {
    max-width: 680px;
}

.belvg-widget__hero__content {
    @media (min-width: 768px) {
        flex: 1 1 auto;
    }
}

.belvg-widget__hero__video {
    @media (min-width: 768px) {
        flex: 0 0 360px;
    }
}

.belvg-widget__hero__action {
    margin-top: var(--belvg-widget-spacing-l);

    .belvg-widget__cta {
        @media (max-width: 768px) {
            width: 100%;
        }
    }

    /* The design only shows the arrow icon on the floating/sticky CTA, not the in-flow one -
       hidden by default, revealed once .is-fixed applies below. */
    .belvg-widget__cta-icon {
        display: none;
    }

    &.is-fixed {
        position: fixed;
        z-index: 50;
        margin: 0;
        filter: drop-shadow(0 10px 30px rgba(0, 96, 138, 0.34));

        .belvg-widget__cta-icon {
            display: inline-flex;
        }

    }

    /* Floating CTA once .belvg-widget__hero__content has scrolled out of view: a full-width
       bottom bar on mobile, a bottom-right pill on desktop, matching the source design's
       .sticky-cta/.sticky-btn. Hidden again both on scrolling back up past the hero and once
       the lead form it links to has been reached once (see reachedForm in hero.phtml) - a
       one-way latch, so it never pops back up further down the page after a visitor has
       already passed the form. */
    @media (max-width: 768px) {
        &.is-fixed {
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: center;
            padding: var(--belvg-widget-spacing) var(--belvg-widget-spacing-l);
            padding-bottom: calc(var(--belvg-widget-spacing) + env(safe-area-inset-bottom, 0px));
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-top: 1px solid var(--belvg-widget-color-border);
            transform: translateY(100%);
            transition: transform 0.35s ease;

            &.is-visible {
                transform: translateY(0);
            }

            .belvg-widget__cta {
                max-width: 560px;
                min-height: 54px;
                border-radius: 3px;
            }
        }
    }

    @media (min-width: 769px) {
        &.is-fixed {
            position: fixed;
            right: var(--belvg-widget-spacing-l);
            bottom: calc(var(--belvg-widget-spacing-l) + env(safe-area-inset-bottom, 0px));
            font-size: 15px;
            opacity: 0;
            transform: translateY(16px);
            transition: opacity 0.35s ease, transform 0.35s ease;

            &.is-visible {
                opacity: 1;
                transform: translateY(0);
            }

            .belvg-widget__cta {
                min-height: 52px;
                padding: 0 var(--belvg-widget-spacing-l);
                border-radius: 99px;
            }

        }
    }
}

.belvg-widget__hero__footer {
    margin-top: var(--belvg-widget-spacing-l);
}

/* Landing - Carousel */

.belvg-widget__hero + .belvg-widget__carousel {
    margin-top: calc(var(--belvg-widget-spacing-l) * -1);
    padding-top: var(--belvg-widget-spacing);
}

.belvg-widget__carousel {}

.belvg-widget__carousel__title {
    margin-bottom: var(--belvg-widget-spacing);

    .belvg-widget__title {
        font-size: 11px;
        color: var(--belvg-widget-color-muted);
        font-weight: 600;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }
}

.belvg-widget__carousel-mask {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.belvg-widget__carousel-track {
    display: flex;
    width: max-content;
    animation: belvg-carousel-scroll 30s linear infinite;
}

.belvg-widget__carousel-mask:hover .belvg-widget__carousel-track {
    animation-play-state: paused;
}

.belvg-widget__carousel-slide {
    flex: none;
    margin: 0 var(--belvg-widget-spacing);
}

.belvg-widget__carousel-slide img {
    display: block;
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

@keyframes belvg-carousel-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Landing - Content */

.belvg-widget__content {}

.belvg-widget__content__title {
    margin-bottom: var(--belvg-widget-spacing);
}

.belvg-widget__content__title,
.belvg-widget__content__description {
    max-width: 620px;
}

.belvg-widget__content-steps {
    display: flex;
    flex-direction: column;
    margin: var(--belvg-widget-spacing-xl) 0 0;
    padding: 0;
    list-style: none;

    @media (max-width: 768px) {
        margin-bottom: var(--belvg-widget-spacing-l);
    }

    @media (min-width: 769px) {
        flex-direction: row;
    }
}

.belvg-widget__content-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: var(--belvg-widget-spacing-xl);

    &:last-child {
        padding-bottom: 0;
    }

    /* Connecting line between steps - vertical on mobile, running down from below the
       circle; flips to horizontal on desktop, running through the circles' vertical center. */
    &:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 21px;
        top: 48px;
        bottom: -4px;
        width: 2px;
        background: #cfe0e8;
    }

    @media (min-width: 768px) {
        flex: 1 1 0;
        flex-direction: column;
        gap: 16px;
        padding-bottom: 0;
        padding-right: var(--belvg-widget-spacing);

        &:not(:last-child)::before {
            left: 44px;
            right: 0;
            top: 21px;
            bottom: auto;
            width: auto;
            height: 2px;
        }
    }
}

.belvg-widget__content-step__number {
    flex: none;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--belvg-widget-color-primary);
    background: var(--belvg-widget-color-bg);
    color: var(--belvg-widget-color-primary);
    font-weight: 500;
    font-size: 18px;
}

.belvg-widget__content-step__title {
    font-weight: 600;
}

.belvg-widget__content-step__description {
    font-size: 14px;
}

/* Landing - Steps */

.belvg-widget__steps {
    /* .belvg-widget's base padding is top-heavy (xl top, l bottom) - fine for a widget that
       opens a page, but Steps is usually followed immediately by another section, and the
       shorter bottom padding reads as cramped/inconsistent against its own top spacing. */
    padding-bottom: var(--belvg-widget-spacing-xl);
}

.belvg-widget__steps__title {
    margin-bottom: var(--belvg-widget-spacing);
}

.belvg-widget__steps__title,
.belvg-widget__steps__description {
    max-width: 620px;
}

.belvg-widget__steps-wrapper {
    display: flex;
    flex-direction: column;
    margin: var(--belvg-widget-spacing-xl) 0 0;
    gap: var(--belvg-widget-spacing-xl);
}

.belvg-widget__steps-item {
    display: flex;
    flex-direction: column;
    gap: var(--belvg-widget-spacing-l);

    @media (min-width: 768px) {
        flex-direction: row;
        align-items: center;
        gap: var(--belvg-widget-spacing-xl);

        &:nth-child(even) {
            flex-direction: row-reverse;
        }
    }
}

.belvg-widget__steps-image {
    flex: 0 0 auto;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4 / 3;

    @media (min-width: 768px) {
        flex: 0 0 48%;
    }

    .belvg-widget__image {
        aspect-ratio: 4 / 3;
    }
}

.belvg-widget__steps-content {
    flex: 1 1 auto;

    .belvg-widget__title {
        font-size: 24px;
        font-weight: 400;
        margin-bottom: var(--belvg-widget-spacing-s);
    }
}

/* Landing - Video */

.belvg-widget__video {
    .belvg-widget__video-box {
        margin-top: var(--belvg-widget-spacing-l);
    }

    .belvg-widget__note {
        color: var(--belvg-widget-color-muted);
        font-style: italic;
        padding: var(--belvg-widget-spacing-l);
        border: 1px solid var(--belvg-widget-color-border);
        border-radius: 4px;
    }

    .belvg-widget__video-box + .belvg-widget__note {
        border-radius: 0 0 4px 4px;
    }
}

.belvg-widget__video__title,
.belvg-widget__video__description {
    max-width: 620px;
}

/* Landing - List */

.belvg-widget__list {
    padding-top: var(--belvg-widget-spacing-l);
}

.belvg-widget__list-wrapper {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.belvg-widget__list-item {
    position: relative;
    margin: -1px;
    padding: var(--belvg-widget-spacing-l);
    border: 1px solid var(--belvg-widget-color-border);
    background: var(--belvg-widget-color-bg);

    .belvg-widget__image {
        width: 34px;
        height: 34px;
    }

    .belvg-widget__title {
        color: var(--belvg-widget-color-primary);
        font-size: 26px;
        margin: 0;
    }

    .belvg-widget__body {
        font-size: 13.5px;
        margin-top: var(--belvg-widget-spacing);
    }
}

/* Landing - Comparison */

.belvg-widget__comparison {}

.belvg-widget__comparison__title,
.belvg-widget__comparison__description {
    max-width: 620px;
}

.belvg-widget__comparison-table {
    margin-top: var(--belvg-widget-spacing-l);
    border: 1px solid #e6e7e9;
    border-radius: 4px;
    overflow: hidden;
}

.belvg-widget__comparison-row {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;

    & + & {
        border-top: 1px solid #ececef;
    }
}

.belvg-widget__comparison-cell {
    padding: 15px 6px;
    display: flex;
    align-items: center;
    justify-content: center;

    &.belvg-widget__comparison-cell--label {
        padding: 15px 14px;
        justify-content: flex-start;
        font-size: 14px;
        line-height: 1.35;
    }

    &.belvg-widget__comparison-cell--featured {
        /* rgba(0, 96, 138, ...) is --belvg-widget-color-primary (#00608a) - kept literal since
           it needs an alpha channel var() alone can't add. */
        background: rgba(0, 96, 138, 0.05);
    }
}

.belvg-widget__comparison-row--head {
    .belvg-widget__comparison-cell {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .belvg-widget__comparison-cell--label,
    .belvg-widget__comparison-cell--col1 {
        background: var(--belvg-widget-color-bg-alt);
        color: var(--belvg-widget-color-muted);
    }

    .belvg-widget__comparison-cell--featured {
        background: var(--belvg-widget-color-primary);
        color: var(--belvg-widget-color-secondary);
        font-weight: 700;
    }
}

.belvg-widget__comparison-mark {
    width: 20px;
    height: 20px;
}

.belvg-widget__comparison-mark--check {
    color: var(--belvg-widget-color-primary);
}

.belvg-widget__comparison-mark--dash,
.belvg-widget__comparison-mark--partial {
    color: var(--belvg-widget-color-muted);
}

/* Landing - Testimonials */

.belvg-widget__testimonials {
    .belvg-widget__inner {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0 var(--belvg-widget-spacing);
    }

    .belvg-widget__testimonials__description {
        color: var(--belvg-widget-color-muted);
        font-size: 16px;
    }

    .belvg-widget__testimonials__title,
    .belvg-widget__testimonials__description {
        @media (max-width: 768px) {
            width: calc(100% - 100px);
        }
    }
}

.belvg-widget__testimonials-controls {
    display: flex;
    gap: var(--belvg-widget-spacing-s);
    margin-left: auto;

    @media (max-width: 768px) {
        margin-top: -44px;
    }
}

.belvg-widget__testimonials-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--belvg-widget-color-border);
    border-radius: 50%;
    background: var(--belvg-widget-color-bg);
    color: var(--belvg-widget-color-primary);
    cursor: pointer;
    transition: background-color 0.3s ease;

    &:hover {
        background: var(--belvg-widget-color-bg-alt);
    }

    svg {
        width: 18px;
        height: 18px;
    }
}

.belvg-widget__testimonials-list {
    margin: var(--belvg-widget-spacing-l) 0 0;
    list-style: none;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: var(--belvg-widget-spacing-l);

    &::-webkit-scrollbar {
        display: none;
    }

    @media (min-width: 768px) {
        flex: 0 0 100%;
        order: 2;
    }
}

.belvg-widget__testimonials-item {
    display: flex;
    flex: 0 0 80%;
    flex-direction: column;
    gap: var(--belvg-widget-spacing);
    padding: var(--belvg-widget-spacing-l);
    background: var(--belvg-widget-color-bg);
    border: 1px solid var(--belvg-widget-color-border);
    border-radius: 4px;
    scroll-snap-align: start;

    /* Each item is 80% of the track width on mobile, so the last item's "start" snap point
       sits 20% past the real scrollable max (scrollWidth - clientWidth). iOS Safari's mandatory
       snap rubber-bands the scroll to reach that unreachable point, dragging the view past the
       last card into blank space. Snapping to "end" instead lands it flush with the last card. */
    &:last-child {
        scroll-snap-align: end;
    }

    /* 1.25 items visible on mobile (100% / 1.25), exactly 3 on desktop. */
    @media (min-width: 768px) {
        flex: 0 0 calc((100% - var(--belvg-widget-spacing-l) * 2) / 3);
    }

    .belvg-widget__body {
        flex: 1 0 auto;
        font-size: 14.5px;
    }

    .belvg-widget__note {
        flex-shrink: 0;
        font-weight: 600;
        font-size: 13.5px;
        font-style: italic;
    }
}

.belvg-widget__testimonials-stars {
    display: flex;
    gap: 2px;
    margin: 0 0 var(--belvg-widget-spacing-s);
}

.belvg-widget__testimonials-star {
    width: 18px;
    height: 18px;
    color: var(--belvg-widget-color-border);

    &.belvg-widget__testimonials-star--filled {
        color: var(--belvg-widget-color-primary);
    }
}

/* Landing - Cards */

.belvg-widget__cards {}

.belvg-widget__cards__title {
    margin-bottom: var(--belvg-widget-spacing);
}

.belvg-widget__cards__title,
.belvg-widget__cards__description {
    max-width: 620px;
}

.belvg-widget__cards-list {
    margin-top: var(--belvg-widget-spacing-l);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--belvg-widget-spacing-l);
}

.belvg-widget__cards-item {
    position: relative;
    overflow: hidden;
    background: var(--belvg-widget-color-bg-alt);
    border-radius: 4px;
}

.belvg-widget__cards-image {
    .belvg-widget__image {
        aspect-ratio: 4 / 3;
    }
}

.belvg-widget__cards-item-wrapper {
    padding: var(--belvg-widget-spacing-l);
}

.belvg-widget__cards-item-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 var(--belvg-widget-spacing-s);
}

.belvg-widget__cards-item-subtitle {
    font-size: 14px;
    margin: 0 0 var(--belvg-widget-spacing);
}

.belvg-widget__cards-item-description {
    font-size: 14px;
}

.belvg-widget__cards-item-footer {
    font-size: 20px;
    margin-top: var(--belvg-widget-spacing-l);

    a {
        color: var(--belvg-widget-color-primary);
    }
}

/* Landing - FAQ */

.belvg-widget__faq {}

.belvg-widget__faq__title,
.belvg-widget__faq__description {
    max-width: 620px;
}

.belvg-widget__faq-list {
    margin: var(--belvg-widget-spacing-l) 0 0;
    display: flex;
    flex-direction: column;
}

.belvg-widget__faq-item {
    border-top: 1px solid var(--belvg-widget-color-border);
    border-bottom: 1px solid var(--belvg-widget-color-border);
    margin-bottom: -1px;
}

.belvg-widget__faq-item-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--belvg-widget-spacing);
    padding: var(--belvg-widget-spacing-l) 0;
    cursor: pointer;

    &::-webkit-details-marker {
        display: none;
    }
}

.belvg-widget__faq-item-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;

    &::before,
    &::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: var(--belvg-widget-color-primary);
        transition: transform 0.2s ease;
    }

    &::before {
        width: 10px;
        height: 1px;
    }

    &::after {
        width: 1px;
        height: 10px;
    }

    .belvg-widget__faq-item[open] &::after {
        transform: translate(-50%, -50%) rotate(90deg);
        opacity: 0;
    }
}

.belvg-widget__faq-item-description {
    padding-bottom: var(--belvg-widget-spacing-l);

    .belvg-widget__body {
        font-size: 16px;
        max-width: 620px;
    }
}
