.module-block {
    --module-background-start: #004f4e;
    --module-background-end: #008d89;
    color: #ffffff;
    background: linear-gradient(115deg, var(--module-background-start) 0%, var(--module-background-end) 100%);
}

.module-block--pt-none { padding-top: 0; }
.module-block--pt-small { padding-top: 15px; }
.module-block--pt-medium { padding-top: 30px; }
.module-block--pt-large { padding-top: 50px; }
.module-block--pt-x-large { padding-top: 75px; }
.module-block--pt-xx-large { padding-top: 130px; }

.module-block--pb-none { padding-bottom: 0; }
.module-block--pb-small { padding-bottom: 15px; }
.module-block--pb-medium { padding-bottom: 30px; }
.module-block--pb-large { padding-bottom: 50px; }
.module-block--pb-x-large { padding-bottom: 75px; }
.module-block--pb-xx-large { padding-bottom: 130px; }

.module-block__header {
    max-width: 900px;
    margin: 0 auto;
}

.module-block__heading {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.module-block__introduction {
    margin-top: 20px;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
}

.module-block__introduction > :last-child,
.module-block__description > :last-child,
.module-block__footer-content > :last-child {
    margin-bottom: 0;
}

.module-block__grid {
    /* Halve the original 62px margin plus the first-row Bootstrap gutter.
       Keep the full gutter between subsequent rows of cards. */
    margin-top: calc(31px - var(--bs-gutter-y, 0px) / 2);
}

.module-block__card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-height: 392px;
    padding: 42px;
    border-radius: 24px;
    color: #292d36;
    background: #ffffff;
}

.module-block__icon {
    display: block;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    object-fit: contain;
}

.module-block__card-title {
    margin: 0;
    color: #292d36;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.module-block__price {
    margin: 14px 0 0;
    color: #292d36;
    font-size: clamp(48px, 5vw, 64px);
    font-weight: 700;
    line-height: 1;
}

.module-block__billing-period {
    margin: 0;
    color: #292d36;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.module-block__description {
    margin-top: 22px;
    color: #292d36;
    font-size: 17px;
    line-height: 1.45;
}

.module-block__card-button {
    display: inline-flex;
    min-width: 236px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    padding: 15px 28px;
    border-radius: 18px;
    color: #ffffff;
    background: #292d36;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.module-block__card-button:hover,
.module-block__card-button:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

.module-block__footer {
    margin-top: 76px;
    padding: 0 52px;
}

.module-block__footer > .row {
    --bs-gutter-x: 0;
}

.module-block__footer > .row > .col-lg-auto:first-child {
    margin-right: 60px;
}

.module-block__footer-logo {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
}

.module-block__footer-heading {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.module-block__footer-content {
    max-width: 690px;
    margin-top: 12px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.35;
}

.module-block .module-block__footer-content p,
.module-block .module-block__footer-content ul,
.module-block .module-block__footer-content ol,
.module-block .module-block__footer-content li {
    font-size: inherit;
    line-height: inherit;
}

.module-block__footer-button {
    display: inline-flex;
    min-width: 235px;
    min-height: 60px;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 18px;
    color: #292d36;
    background: #a8ffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.module-block__footer-button:hover,
.module-block__footer-button:focus-visible {
    color: #292d36;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
    /* Halve the original 48px margin plus the first-row gutter. */
    .module-block__grid { margin-top: calc(24px - var(--bs-gutter-y, 0px) / 2); }
    .module-block__card { min-height: 0; }
    .module-block__footer { padding: 0; text-align: center; }
    .module-block__footer-logo { margin: 0 auto; }
    .module-block__footer > .row > .col-lg-auto:first-child { margin-right: 0; }
    .module-block__footer-content { margin-right: auto; margin-left: auto; }
}

@media (max-width: 575.98px) {
    .module-block__card { padding: 32px 24px; border-radius: 20px; }
    .module-block__card-button,
    .module-block__footer-button { width: 100%; min-width: 0; }
    .module-block__footer { margin-top: 54px; }
}

@media (prefers-reduced-motion: reduce) {
    .module-block__card-button,
    .module-block__footer-button { transition: none; }
}

/* Pricing page: keep module prices bold above global paragraph styles. */
.page-id-654 .module-block__price {
    font-weight: 700 !important;
}
