/*
 * Fudzo landing page - custom styles, built to the Figma frame (1920px wide, content 1360px).
 *
 * Loaded after the template's own CSS (assets_new/css/main.css, which is left untouched), so
 * anything here wins on equal specificity. Colours and fonts live in the variables below; the
 * values were read from the exported design. Copy, images and links stay whatever the admin has
 * set - only the HTML/CSS around them changes. Items marked TODO(asset) wait on an image that
 * has not been supplied yet.
 */

:root {
    /* Brand. The primary follows the admin's colour setting (the inline --base-1 override in the
       layout) and falls back to the design's title red. */
    --fz-primary: var(--base-1, #cc343c);
    --fz-btn: #d03840;
    --fz-btn-dark: #b02b33;
    --fz-hero-red: #e01834;
    --fz-footer: #da0116;

    --fz-text: #282828;
    --fz-text-muted: #545464;
    --fz-text-soft: #7c686c;
    --fz-border: #ececec;

    --fz-bg-hero: #f9eae3;
    --fz-bg-cream: #fdf6e9;
    --fz-bg-light: #fbfbf6;
    --fz-bg-features: #fdfdfb;
    --fz-pink: #fdeded;
    --fz-pink-deep: #fbd9d9;

    --fz-font-heading: "Poppins", sans-serif;
    --fz-font-body: "Inter", sans-serif;

    --fz-container: 1360px;
    --fz-radius-sm: 8px;
    --fz-radius-lg: 24px;
    --fz-shadow-card: 0 6px 24px rgba(31, 31, 31, 0.08);
    --fz-section-space: 80px;
}

@media (min-width: 1400px) {
    .container {
        max-width: var(--fz-container);
    }
}

@media (max-width: 767px) {
    :root {
        --fz-section-space: 48px;
    }
}

/* ------------------------------------------------------------------ Typography */
body {
    font-family: var(--fz-font-body);
    color: var(--fz-text);
    line-height: 1.65;
    font-size: 16px;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--fz-font-heading);
    line-height: 1.25;
}

/* The template pulls paragraphs up with negative margins to cancel its own line height. */
p {
    margin-top: 0;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0 !important;
}

.pt-80 {
    padding-top: var(--fz-section-space);
}

.pb-80 {
    padding-bottom: var(--fz-section-space);
}

/* Section titles: red, with a short rule either side, then a grey subtitle. */
.section-header {
    max-width: 900px;
    margin-bottom: 48px;
}

.section-header .title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 44px;
    font-size: clamp(28px, 3.4vw, 48px);
    font-weight: 700;
    color: var(--fz-primary);
    margin-bottom: 14px;
}

.section-header .title::before,
.section-header .title::after {
    content: "";
    flex: 0 0 clamp(24px, 3vw, 56px);
    height: 2px;
    background: var(--fz-primary);
}

.section-header .title .text-base {
    color: var(--fz-primary);
}

.section-header p {
    font-size: clamp(16px, 1.5vw, 24px);
    color: var(--fz-text-muted);
}

/* ------------------------------------------------------------------ Buttons */
.btn-base {
    background: var(--fz-btn);
    color: #fff;
    border: 2px solid var(--fz-btn);
    border-radius: var(--fz-radius-sm);
    box-shadow: 0 4px 14px rgba(208, 56, 64, 0.22);
    padding: 11px 24px;
    font-family: var(--fz-font-body);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: none;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn-base::before,
.btn-base::after {
    display: none;
}

.btn-base.btn-sm {
    padding: 11px 24px;
    font-weight: 500;
}

.btn-base:hover {
    background: var(--fz-btn-dark);
    border-color: var(--fz-btn-dark);
    transform: translateY(-1px);
}

/* "Download Now" carries the design's download icon instead of the arrow. */
.btn-base.fz-download svg {
    display: none;
}

.btn-base.fz-download span::after {
    content: "\f019";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
    margin-inline-start: 10px;
}

/* ------------------------------------------------------------------ Header
   A white bar above the hero (it floated over it in the template); it still sticks on scroll. */
header {
    position: relative;
    top: 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 2px 14px rgba(31, 31, 31, 0.08);
}

header.active {
    position: fixed;
    background: #fff;
    backdrop-filter: none;
    padding: 0;
}

.header-wrapper {
    min-height: 100px;
    gap: 24px;
}

.header-wrapper > * {
    align-self: center;
}

.header-wrapper .logo {
    width: auto;
    flex-shrink: 0;
}

.header-wrapper .logo img {
    height: 56px;
    width: auto;
    max-width: 210px;
    max-height: none;
    display: block;
}

.header-wrapper .menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.header-wrapper .menu li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--fz-text);
    text-transform: capitalize;
}

/* The template's little arrow icon is kept for the active item; the others get nothing. */
.header-wrapper .menu li a:hover,
.header-wrapper .menu li a.active {
    color: var(--fz-primary);
}

.header-wrapper .menu li a.active {
    font-weight: 700;
}

.header-wrapper .menu li a.active::after {
    content: "";
    position: absolute;
    inset-inline: 38px 12px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--fz-primary);
}

.dropdown--btn-hover .dropdown--btn {
    align-items: center;
    gap: 6px;
    padding: 8px 10px !important;
    font-size: 18px;
    font-weight: 400;
    text-decoration: none;
    text-transform: none !important;
    color: var(--fz-text) !important;
}

.dropdown--btn-hover .dropdown--btn svg {
    width: 18px;
    color: var(--fz-text);
}

.dropdown--btn-hover .dropdown--btn span {
    margin: 0 !important;
}

.dropdown--btn-hover .dropdown--btn::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 11px;
    margin-inline-start: 4px;
}

/* Join Us: the design's red pill. */
.dropdown--btn.btn-base {
    border-radius: 999px;
    padding: 11px 22px;
    font-size: 16px;
    background: var(--fz-btn);
    box-shadow: none;
}

.dropdown-list {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(31, 31, 31, 0.12);
}

@media (max-width: 991px) {
    .header-wrapper {
        gap: 12px;
        min-height: 72px;
    }

    .header-wrapper .logo img {
        height: 44px;
    }

    .header-wrapper .logo {
        margin-inline-end: auto;
    }

    .header-wrapper .menu {
        align-items: stretch;
        gap: 0;
        padding: 16px;
        border-radius: 12px;
        border: 1px solid var(--fz-border);
        box-shadow: 0 12px 30px rgba(31, 31, 31, 0.12);
    }

    .header-wrapper .menu li a {
        width: 100%;
        padding: 12px 8px;
        font-size: 16px;
    }

    .header-wrapper .menu li a.active::after {
        inset-inline: 8px;
    }
}

@media (max-width: 575px) {
    .header-wrapper .logo img {
        height: 38px;
    }

    .dropdown--btn.btn-base {
        padding: 8px 14px;
        font-size: 13px;
    }

    .dropdown--btn-hover .dropdown--btn {
        font-size: 14px;
    }
}

/* ------------------------------------------------------------------ Hero
   The background is the admin's image over the design's soft peach. The template's pink wash,
   floating decorations and glow circles are not in the design, so they are hidden (the markup is
   kept). The three stat badges are not in the design either and are hidden the same way. */
.banner-section {
    background-color: var(--fz-bg-hero);
    padding-top: 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.banner-section::before,
.banner-section .shape-1,
.banner-section .shape-2,
.banner-section .shape-3,
.banner-section .glass-1,
.banner-section .glass-2,
.banner-section .glass-3,
.banner-wrapper .banner-thumb div[class*="img-data"] {
    display: none;
}

.banner-section .container {
    width: 100%;
}

.banner-wrapper {
    align-items: center;
    gap: 24px;
    padding: 40px 0;
}

/* Text on the left, the picture on the right. */
@media (min-width: 992px) {
    .banner-wrapper {
        flex-direction: row-reverse;
    }
}

.banner-wrapper .banner-thumb {
    width: min(640px, 48%);
    flex: 0 0 auto;
    margin-inline-start: auto;
}

.banner-wrapper .banner-content {
    flex: 1 1 0;
    width: auto;
    margin-top: 0;
    padding-bottom: 0;
    text-align: start;
}

.fz-hero-tagline {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--fz-font-heading);
    font-size: clamp(22px, 2.2vw, 36px);
    font-weight: 300;
    color: #e84864;
    margin-bottom: 14px;
}

.fz-hero-tagline i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fz-primary);
}

.banner-wrapper .banner-content .title {
    font-size: clamp(36px, 4.4vw, 62px);
    line-height: 1.1;
    font-weight: 700;
    color: var(--fz-text);
    margin-bottom: 14px;
}

/* The subtitle and the business name read as one red two-line statement. */
.banner-wrapper .banner-content .subtitle,
.banner-wrapper .banner-content .name {
    display: inline;
    font-size: clamp(28px, 3.1vw, 48px);
    line-height: 1.22;
    font-weight: 600;
    letter-spacing: 0;
    background: none;
    -webkit-text-fill-color: var(--fz-hero-red);
    color: var(--fz-hero-red);
    margin: 0;
}

.banner-wrapper .banner-content .name::before {
    content: " ";
}

.banner-wrapper .banner-content .txt {
    font-size: clamp(16px, 1.3vw, 20px);
    line-height: 1.6;
    font-weight: 400;
    color: var(--fz-text-soft);
    margin: 28px 0 24px;
}

.banner-wrapper .banner-content .btn-base {
    margin: 0 12px 12px 0;
}

@media (max-width: 991px) {
    .banner-section {
        min-height: 0;
    }

    .banner-wrapper {
        padding: 28px 0 32px;
    }

    .banner-wrapper .banner-thumb {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }

    .banner-wrapper .banner-content {
        text-align: center;
    }

    .fz-hero-tagline {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .banner-wrapper .banner-content .btn-base {
        display: flex;
        width: 100%;
        margin: 0 0 12px;
    }
}

/* ------------------------------------------------------------------ Hero slider
   Two or more hero images from the admin. The slides share one grid cell so the box keeps the
   height of the tallest image and nothing jumps when they change. */
.fz-hero-slider {
    position: relative;
}

.fz-hero-slider__track {
    display: grid;
}

.fz-hero-slider .fz-hero-slide {
    grid-area: 1 / 1;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.fz-hero-slider .fz-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease;
}

.fz-hero-slider__dots {
    position: absolute;
    inset-inline: 0;
    bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 3;
}

.fz-hero-slider__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(31, 31, 31, 0.25);
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.fz-hero-slider__dot.is-active {
    background: var(--fz-primary);
    transform: scale(1.25);
}

/* ------------------------------------------------------------------ About */
.about-section .about-content .title {
    font-size: clamp(34px, 3.6vw, 48px);
    font-weight: 700;
    color: var(--fz-primary);
}

.about-section .about-content .subtitle {
    font-size: clamp(24px, 2.4vw, 35px);
    font-weight: 700;
    color: var(--fz-text);
    margin-top: 14px;
}

.about-section .about-content .txt {
    font-size: 18px;
    line-height: 1.55;
    color: var(--fz-text-muted);
    margin-bottom: 32px;
}

.about-section [class*="col-lg-5"] {
    position: relative;
}

/* The picture: big rounded corners, a pink disc behind it and a red dot grid beside it. */
.about-img {
    position: relative;
    z-index: 1;
    border-radius: 90px 18px 90px 18px;
    max-width: 100%;
}

.about-section [class*="col-lg-5"]::before {
    content: "";
    position: absolute;
    top: -8px;
    inset-inline-start: 8%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #fdeaea;
}

.about-section [class*="col-lg-5"]::after {
    content: "";
    position: absolute;
    bottom: 12%;
    inset-inline-end: 0;
    width: 110px;
    height: 150px;
    background-image: radial-gradient(var(--fz-primary) 2.5px, transparent 3px);
    background-size: 18px 18px;
    opacity: 0.9;
}

/* ------------------------------------------------------------------ Why Choose Us
   A cream band with the design's corner shapes (TODO: the shapes are a background image). */
.choose-section {
    background-color: var(--fz-bg-cream);
    background-image: url("../figma/frame-1597885650.png");
    background-size: cover;
    background-position: center;
    margin-top: var(--fz-section-space);
    padding-top: 64px;
    padding-bottom: 90px;
}

.choose-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
}

.choose-wrapper .choose-item {
    height: 225px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: none;
    transform: none;
    flex: 0 0 auto;
    margin: 0;
}

.choose-wrapper .choose-item:nth-of-type(1) { width: calc(51.84% - 13px); }
.choose-wrapper .choose-item:nth-of-type(2) { width: calc(48.16% - 13px); }
.choose-wrapper .choose-item:nth-of-type(3) { width: calc(39.7% - 13px); height: 255px; }
.choose-wrapper .choose-item:nth-of-type(4) { width: calc(60.3% - 13px); height: 255px; }

/* The label is always on the picture, as a white pill with its icon. */
.choose-item:not(:hover) .choose-item-content,
.choose-item-content {
    opacity: 1;
    inset: auto auto 22px 22px;
    display: block;
}

.choose-item-content::before {
    display: none;
}

.choose-wrapper .choose-item .choose-item-content .cont {
    margin: 0;
    width: auto;
}

.choose-item:not(:hover) .choose-wrapper .choose-item .choose-item-content .cont {
    opacity: 1;
    transform: none;
}

.choose-wrapper .choose-item .choose-item-content .cont {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.93);
    border-radius: 999px;
    padding: 8px 30px 8px 8px;
    box-shadow: 0 4px 16px rgba(31, 31, 31, 0.12);
}

.fz-choose-icon {
    position: relative;
    display: inline-flex;
    padding-inline-end: 16px;
}

.fz-choose-icon img {
    width: 42px;
    height: 42px;
    position: static;
    object-fit: contain;
    transform: none;
}

.fz-choose-icon::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--fz-primary);
    border-radius: 2px;
}

.choose-wrapper .choose-item:nth-of-type(n) .choose-item-content .cont .title {
    font-size: clamp(14px, 1.2vw, 23px);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    color: #2b2b2b;
}

/* The pill never outgrows its card, and the icon never shrinks when the label wraps. */
.choose-item-content {
    right: 18px;
}

.choose-wrapper .choose-item .choose-item-content .cont {
    max-width: 100%;
}

.fz-choose-icon {
    flex: 0 0 auto;
}

.fz-choose-icon img {
    flex-shrink: 0;
}

@media (max-width: 1199px) {
    .choose-item-content {
        inset: auto 14px 14px 14px;
    }

    .choose-wrapper .choose-item .choose-item-content .cont {
        gap: 10px;
        padding: 6px 20px 6px 6px;
    }

    .fz-choose-icon {
        padding-inline-end: 10px;
    }

    .fz-choose-icon img {
        width: 34px;
        height: 34px;
    }

    .choose-wrapper .choose-item:nth-of-type(n) .choose-item-content .cont .title {
        font-size: clamp(13px, 1.9vw, 18px);
    }
}

@media (max-width: 767px) {
    .choose-wrapper .choose-item:nth-of-type(n) .choose-item-content .cont .title {
        font-size: 16px;
    }

    .fz-choose-icon img {
        width: 38px;
        height: 38px;
    }
}

/* The design has no subtitle under this heading; the admin field is kept, just not shown. */
.choose-section .section-header p {
    display: none;
}

@media (min-width: 768px) and (max-width: 991px) {
    .choose-wrapper .choose-item,
    .choose-wrapper .choose-item:nth-of-type(n) {
        width: calc(50% - 13px);
        height: 210px;
    }
}

@media (max-width: 767px) {
    .choose-section {
        padding-top: 40px;
        padding-bottom: 56px;
    }

    .choose-wrapper .choose-item,
    .choose-wrapper .choose-item:nth-of-type(n) {
        width: 100%;
        height: 200px;
    }
}

/* ------------------------------------------------------------------ Stunning Features
   Soft pink cards with the large 3D icons (the icons are the admin's uploads). */
.feature-section {
    background: var(--fz-bg-features);
    padding-bottom: var(--fz-section-space);
}

.feature-item {
    background: linear-gradient(180deg, var(--fz-pink) 0%, var(--fz-pink-deep) 100%);
    border-radius: 28px;
    padding: 24px 22px 34px;
    color: var(--fz-text-muted);
    box-shadow: none;
    font-size: 20px;
    line-height: 1.5;
    text-align: center;
    transition: transform 0.25s ease;
}

.feature-item::before,
.feature-item::after {
    display: none;
}

.feature-item:hover {
    transform: translateY(-4px);
}

.feature-item .feature-item-icon {
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.feature-slider .owl-stage {
    display: flex;
}

.feature-slider .owl-item {
    display: flex;
}

.feature-slider .owl-item .feature-item {
    width: 100%;
}

.feature-item .feature-item-icon img {
    width: auto;
    max-width: 100%;
    height: 190px;
    object-fit: contain;
}

.feature-item .title {
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 600;
    color: #101a3c;
    margin-bottom: 14px;
}

.feature-item .txt {
    max-width: 290px;
    margin: 0 auto;
    font-size: clamp(16px, 1.3vw, 20px);
    color: var(--fz-text-muted);
}

/* ------------------------------------------------------------------ Our Platform */
.platform-section .nav--tabs {
    max-width: 1190px;
    margin: 0 auto 48px;
    padding: 10px 44px;
    background: #f7f7f7;
    border-radius: 999px;
    justify-content: space-between;
    gap: 16px;
}

.nav--tabs li .nav-link {
    font-size: 17px;
    font-weight: 500;
    color: #222;
}

.nav--tabs li .nav-link.active {
    color: var(--fz-primary);
    font-weight: 700;
}

.fz-platform-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 30px;
}

.fz-platform-ico {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.platform-content .subtitle {
    font-size: clamp(20px, 1.8vw, 26px);
    font-weight: 700;
    color: var(--fz-primary);
    margin-bottom: 6px;
}

.platform-content p {
    font-size: 17px;
    line-height: 1.5;
    color: var(--fz-text-muted);
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
}

.fz-platform-img {
    width: 100%;
    max-width: 640px;
    height: auto;
}

.fz-store-badges {
    gap: 12px;
}

.fz-store-badges a img {
    height: 44px;
    width: auto;
    max-width: none;
}

@media (max-width: 767px) {
    .platform-section .nav--tabs {
        border-radius: 24px;
        padding: 10px 16px;
        justify-content: space-evenly;
    }

    /* Descriptions can be 250 characters and longer once translated: on phones they stop at four
       lines with an ellipsis at a line end rather than being cut mid-word. */
    .platform-content p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        overflow: hidden;
    }
}

/* ------------------------------------------------------------------ How Easy To Use */
.fz-how-easy {
    background: var(--fz-bg-light);
}

.fz-how-easy .section-header {
    margin-bottom: 36px;
}

.fz-how-easy__img {
    display: block;
    width: 100%;
    max-width: 1500px;
    height: auto;
    margin: 0 auto;
    border-radius: 18px;
}

/* ------------------------------------------------------------------ Earn Money banner
   The design draws this banner as one picture: an off-white panel with a dashed red outline, the
   title, two lines of copy, two buttons and four benefit icons on the left, and the phones and
   food image bleeding off the right. Here the panel and outline are CSS, the title, buttons and
   image stay the admin's, and the sizes are in the banner's own width (cqw) so the whole thing
   scales together. Below tablet width it stacks. */
.cta-section {
    position: relative;
    container-type: inline-size;
    margin-top: var(--fz-section-space);
    background: #fcf8f7;
    border: 0;
    border-radius: 40px;
    padding: 0;
    overflow: hidden;
}

/* The dashed outline: long red dashes with gaps, as in the design. */
.cta-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'><rect x='1.5' y='1.5' width='calc(100%25 - 3px)' height='calc(100%25 - 3px)' rx='38' ry='38' fill='none' stroke='%23d63a45' stroke-width='2' stroke-dasharray='105 108' stroke-dashoffset='-30'/></svg>") no-repeat center / 100% 100%;
}

.cta-section .row {
    margin: 0;
    /* the markup carries Bootstrap's justify-content-end / align-items-end; the text sits on the left */
    justify-content: flex-start !important;
    align-items: stretch !important;
}

.cta-content {
    position: relative;
    z-index: 3;
    padding: 28px 0 28px 28px;
}

.cta-content .section-header {
    max-width: none;
    margin-bottom: 0;
    text-align: start;
}

.cta-content .section-header .title.fz-earn-title {
    display: block;
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    color: #1b2336;
    margin: 0;
}

.fz-earn-title::before,
.fz-earn-title::after {
    display: none;
}

.fz-earn-title span {
    display: block;
}

.fz-earn-title .text-base {
    color: #e0192f;
}

.fz-earn-text {
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.45;
    color: var(--fz-text-muted);
    margin: 6px 0 0;
}

.fz-earn-text span {
    display: block;
}

.cta-btn-container {
    gap: 12px;
    margin-top: 12px;
}

.fz-earn-btn {
    border-radius: 14px;
    padding: 13px 22px;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    background: #e0192f;
    border-color: #e0192f;
    box-shadow: none;
}

.fz-earn-btn i {
    font-size: 20px;
    margin-inline-end: 4px;
}

.fz-earn-btn-outline {
    background: transparent;
    color: #e0192f;
    border-color: #e0192f;
}

.fz-earn-btn-outline span,
.fz-earn-btn-outline i {
    color: #e0192f;
}

/* The arrow after the label is white in the template; on the outlined button it is red. */
.fz-earn-btn-outline svg path {
    fill: #e0192f;
}

.fz-earn-btn-outline:hover {
    background: #e0192f;
}

.fz-earn-btn-outline:hover span,
.fz-earn-btn-outline:hover i {
    color: #fff;
}

.fz-earn-btn-outline:hover svg path {
    fill: #fff;
}

.fz-earn-benefits {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.fz-earn-benefits li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 0 0 110px;
    text-align: center;
    font-size: 13.5px;
    line-height: 1.3;
    color: #4a4a5a;
}

.fz-earn-benefits img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

@media (min-width: 992px) {
    .cta-section {
        aspect-ratio: 1358 / 453;
    }

    .cta-section .row {
        height: 100%;
        align-items: stretch;
    }

    .cta-section .col-md-6 {
        flex: 0 0 46%;
        max-width: 46%;
        padding: 0;
    }

    .cta-content {
        padding: 5.2cqw 0 0 6.4cqw;
    }

    /* Slashes and a short rule above the title, as in the design. */
    .cta-content::before {
        content: "";
        position: absolute;
        left: 6.4cqw;
        top: 4cqw;
        width: 3.3cqw;
        height: 2px;
        background: #e0192f;
    }

    .cta-content::after {
        content: "";
        position: absolute;
        left: 3.4cqw;
        top: 4.1cqw;
        width: 2.4cqw;
        height: 2.4cqw;
        background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><g stroke='%23e0192f' stroke-width='2.4' stroke-linecap='round'><line x1='8' y1='2' x2='20' y2='12'/><line x1='2' y1='16' x2='13' y2='20'/></g></svg>") no-repeat center / contain;
    }

    .cta-content .section-header .title.fz-earn-title {
        font-size: 3.2cqw;
    }

    .fz-earn-text {
        font-size: 1.4cqw;
        margin-top: 0.5cqw;
    }

    .cta-btn-container {
        margin-top: 0.9cqw;
        gap: 0.9cqw;
    }

    .fz-earn-btn {
        font-size: 1.3cqw;
        padding: 1cqw 1.6cqw;
        border-radius: 1cqw;
    }

    .fz-earn-btn i {
        font-size: 1.6cqw;
    }

    .fz-earn-benefits {
        margin-top: 2cqw;
    }

    .fz-earn-benefits li {
        flex: 0 0 8.1cqw;
        font-size: 1cqw;
        gap: 0.6cqw;
    }

    .fz-earn-benefits img {
        width: 4.1cqw;
        height: 4.1cqw;
    }

    /* The image fills the right of the banner, full height, and blends into the panel. */
    .cta-section .col-md-5 {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 59%;
        max-width: none;
        padding: 0;
        z-index: 1;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

    .cta-img {
        height: 100%;
        width: auto;
        max-width: none;
        border-radius: 0;
        mix-blend-mode: multiply;
        /* Feather the left edge so the picture's pale background leaves no seam against the panel. */
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%);
        mask-image: linear-gradient(to right, transparent 0, #000 14%);
    }
}

@media (max-width: 991px) {
    .cta-section {
        border: 2px dashed #d63a45;
        border-radius: 28px;
    }

    .cta-section::after {
        display: none;
    }

    .cta-content {
        padding: 28px 18px 8px;
        text-align: center;
    }

    .cta-content .section-header {
        text-align: center;
    }

    .cta-btn-container,
    .fz-earn-benefits {
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta-img {
        width: 100%;
        height: auto;
        mix-blend-mode: multiply;
    }
}

/* ------------------------------------------------------------------ Testimonials */
.client-section {
    background-color: var(--fz-bg-light);
    background-image: url("../figma/frame-1597885655.png");
    background-size: 100% 100%;
    background-position: center;
    margin-top: var(--fz-section-space);
}

@media (max-width: 767px) {
    /* The corner shapes would sit behind the quote on a phone. */
    .client-section {
        background-image: none;
    }
}

.client-section .section-header .title {
    display: block;
    font-size: clamp(24px, 2.6vw, 35px);
    text-align: center;
}

.client-section .section-header .title::before,
.client-section .section-header .title::after {
    display: none;
}

.testimonial-item .img {
    border: 4px solid var(--fz-primary);
    padding: 3px;
}

.testimonial-item .name {
    color: var(--fz-text);
}

/* The testimonial arrows are real <button>s now (they were "#0" links); the template styled the
   links, so take the browser's button chrome off and keep the same look. */
button.client-nav {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    font: inherit;
}

button.client-nav:focus-visible {
    outline: 2px solid var(--fz-primary);
    outline-offset: 2px;
}

/* ------------------------------------------------------------------ Newsletter
   The design's banner: the envelope, plane and wave are one picture (the title and field that
   were baked into the export are removed from it); the title, copy and sign-up field are live
   text laid over it in the design's positions. Sizes use the banner's own width (cqw) so the whole
   thing scales together; below tablet width it falls back to a stacked card. */
.newsletter-section {
    margin-bottom: 0;
    padding: 34px 0 37px;
    background: #fff;
}

.newsletter-section .container {
    max-width: 1270px;
}

.newsletter-bg {
    display: none;
}

.newsletter-content {
    position: relative;
    container-type: inline-size;
    max-width: none;
    aspect-ratio: 2123 / 367;
    padding: 0;
    text-align: start;
    background: url("../figma/newsletter-bg.png") center / 100% 100% no-repeat, #fde9e9;
    border-radius: 26px;
    overflow: hidden;
}

.newsletter-content .title {
    position: absolute;
    left: 17.6%;
    top: 24%;
    width: 46%;
    margin: 0;
    font-size: 2.92cqw;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
    color: #1b1b1b;
}

.newsletter-content .title::after {
    display: none;
}

.newsletter-content .title .text-base {
    color: #d40010;
}

.newsletter-content .text {
    position: absolute;
    left: 17.7%;
    top: 49%;
    width: 40%;
    margin: 0;
    font-size: 1.7cqw;
    line-height: 1.3;
    font-weight: 500;
    color: #5c5c6a;
}

.newsletter-content form {
    position: absolute;
    left: 61%;
    top: 36.5%;
    width: 36.5%;
    margin: 0;
}

.input--grp {
    background: #fff;
    border-radius: 12px;
    padding: 0.6cqw 0.6cqw 0.6cqw 2.4cqw;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 20px rgba(31, 31, 31, 0.06);
}

.input--grp .form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 4.4cqw;
    border: 0;
    box-shadow: none;
    background: transparent;
    font-size: 1.95cqw;
    padding: 0;
}

.input--grp .form-control::placeholder {
    color: #aeb4ba;
}

.input--grp .search-btn {
    position: static;
    inset: auto;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    padding: 0.9cqw 1.9cqw;
    border: 0;
    border-radius: 999px;
    background: #d40010;
    color: #fff;
    font-size: 1.95cqw;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.8cqw;
    cursor: pointer;
}

.input--grp .search-btn i {
    font-size: 1.4cqw;
}

@media (max-width: 899px) {
    .newsletter-content {
        aspect-ratio: auto;
        container-type: normal;
        padding: 32px 22px 56px;
        background: linear-gradient(120deg, #fde9e9 0%, #f9dede 100%);
    }

    .newsletter-content::after {
        content: "";
        position: absolute;
        inset-inline: 0;
        bottom: 0;
        height: 30px;
        background: radial-gradient(120% 100% at 50% 100%, #d40010 0 58%, transparent 59%);
    }

    .newsletter-content .title,
    .newsletter-content .text,
    .newsletter-content form {
        position: static;
        width: auto;
    }

    .newsletter-content .title {
        font-size: 26px;
        white-space: normal;
        margin-bottom: 10px;
    }

    .newsletter-content .text {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .input--grp {
        padding: 6px 6px 6px 16px;
    }

    .input--grp .form-control {
        height: 46px;
        font-size: 16px;
    }

    .input--grp .search-btn {
        padding: 10px 18px;
        font-size: 16px;
        gap: 8px;
    }

    .input--grp .search-btn i {
        font-size: 12px;
    }
}

/* ------------------------------------------------------------------ Footer
   Solid red with the design's corner shapes (cropped from the export), a white logo pill, and
   the columns where the design puts them. */
.footer-bg {
    background: transparent;
}

.footer-bottom {
    background-color: var(--fz-footer);
    background-image: url("../figma/footer-left.png"), url("../figma/footer-right.png");
    background-repeat: no-repeat;
    background-position: left bottom, right bottom;
    background-size: 230px 352px, 230px 352px;
    border-radius: 0;
    padding-top: 38px;
    padding-bottom: 14px;
}

.footer-bottom .footer-wrapper {
    display: grid;
    grid-template-columns: 2.02fr 1fr 1fr 0.9fr;
    gap: 0;
    padding-inline-start: 0 !important;
    margin-bottom: 24px;
}

.footer-bottom .footer-widget,
.footer-bottom .footer-widget.widget-links {
    width: auto;
    max-width: none;
    font-size: 16px;
    line-height: 28px;
    color: #fff;
}

.footer-widget .footer-logo {
    margin-bottom: 22px;
}

.footer-widget .footer-logo a {
    display: inline-flex;
    background: #fff;
    border-radius: 20px;
    padding: 10px 16px;
}

.footer-widget .footer-logo img {
    height: 52px;
    width: auto;
    max-width: 200px;
    max-height: none;
}

.footer-bottom .footer-widget > .txt {
    max-width: 330px;
}

.footer-widget .subtitle {
    font-family: var(--fz-font-heading);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 22px;
    color: #fff;
}

.footer-widget.widget-links ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-widget.widget-links ul li {
    margin: 0;
}

.footer-widget.widget-links ul li a {
    font-size: 16px;
    line-height: 28px;
    color: #fff;
}

.social-icon {
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.social-icon .social-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.social-icon .social-btn i {
    font-size: 16px;
}

.app-btn-grp {
    gap: 16px;
    margin-top: 30px;
}

.app-btn-grp a img {
    height: 44px;
    width: auto;
}

.footer-bottom .copyright {
    margin-top: 0 !important;
    padding-top: 10px;
    font-size: 12px;
    text-align: center;
    color: #fff;
}

@media (max-width: 991px) {
    .footer-bottom .footer-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .footer-bottom .footer-widget:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 575px) {
    .footer-bottom {
        background-size: 150px 230px, 150px 230px;
    }

    .footer-bottom .footer-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------------ Scroll reveal
   Driven by fudzo-custom.js. Without the script, or with reduced motion, <html> never gets
   .fz-motion and nothing is hidden. */
.fz-motion .fz-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fz-motion .fz-reveal.fz-in {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------------------ Never scroll sideways */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

img {
    max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
    .btn-base,
    .feature-item,
    .fz-hero-slider .fz-hero-slide,
    .fz-hero-slider .fz-hero-slide.is-active {
        transition: none;
    }
}
