.home-hero {
    --hero-accent: #087fda;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e8eef6;
    background: #f7faff;
}

.home-hero::before,
.home-hero::after {
    position: absolute;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.home-hero::before {
    top: -320px;
    right: -220px;
    width: 740px;
    height: 740px;
    background: radial-gradient(circle, rgba(76, 172, 245, .16), rgba(76, 172, 245, 0) 67%);
}

.home-hero::after {
    bottom: -390px;
    left: -260px;
    width: 720px;
    height: 720px;
    background: radial-gradient(circle, rgba(110, 94, 233, .09), rgba(110, 94, 233, 0) 68%);
}

.home-hero .brand-slider,
.home-hero .owl-stage-outer,
.home-hero .owl-stage,
.home-hero .owl-item,
.home-hero .brand-item {
    min-height: 680px;
}

.home-hero .owl-stage-outer {
    z-index: 1;
}

.home-hero .hero-slide {
    --slide-accent: #087fda;
    --slide-soft: #e9f5ff;
    display: flex;
    align-items: center;
    padding: 116px 0 72px;
}

.home-hero .hero-slide--violet {
    --slide-accent: #6a5be2;
    --slide-soft: #f0edff;
}

.home-hero .hero-slide--teal {
    --slide-accent: #078b87;
    --slide-soft: #e4f7f5;
}

.home-hero .hero-slide--amber {
    --slide-accent: #bd7920;
    --slide-soft: #fff3df;
}

.home-hero .hero-slide-inner {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
    gap: clamp(52px, 7vw, 104px);
    align-items: center;
}

.home-hero-content {
    position: relative;
    z-index: 2;
}

.home-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 20px;
    padding: 7px 13px;
    border: 1px solid color-mix(in srgb, var(--slide-accent) 22%, transparent);
    border-radius: 999px;
    background: var(--slide-soft);
    color: var(--slide-accent);
    font-size: .76rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-hero-content h1,
.home-hero-content h2 {
    max-width: 590px;
    margin: 0 0 16px;
    color: #102341;
    font-size: clamp(1.28rem, 1.9vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.home-hero-lead {
    max-width: 610px;
    margin: 0 0 25px;
    color: #53627a;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.7;
}

.home-hero-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 650px;
    margin: 0 0 31px;
    padding: 0;
    list-style: none;
}

.home-hero-features li {
    position: relative;
    min-height: 58px;
    padding: 13px 14px 13px 45px;
    color: #203754;
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    font-weight: 720;
    line-height: 1.4;
}

.home-hero-features li::before {
    position: absolute;
    top: 50%;
    left: 13px;
    display: grid;
    width: 24px;
    height: 24px;
    content: "\2713";
    place-items: center;
    border-radius: 50%;
    background: var(--slide-soft);
    color: var(--slide-accent);
    font-size: 14px;
    font-weight: 900;
    transform: translateY(-50%);
}

.hero-slide--retail .home-hero-content h1 {
    display: grid;
    gap: 4px;
    font-size: clamp(.9rem, 1.05vw, 1.02rem);
    font-weight: 680;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.hero-slide--retail .home-hero-content h1 > span {
    font: inherit;
}

.hero-slide--retail .home-hero-content h1 > strong {
    color: #102341;
    font-size: clamp(.98rem, 1.18vw, 1.1rem);
    font-weight: 720;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.home-hero-features--primary {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 620px;
}

.home-hero-features--primary li {
    display: grid;
    grid-template-columns: minmax(175px, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 18px;
    min-height: 66px;
    padding: 12px 18px 12px 54px;
}

.home-hero-features--primary li::before {
    left: 17px;
}

.home-hero-features--primary strong {
    color: #102f58;
    font-size: clamp(1.55rem, 2.15vw, 1.88rem);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.home-hero-features--primary span {
    color: #536b86;
    font-size: .9rem;
    font-weight: 650;
    line-height: 1.45;
}

.hero-slide--booking .home-hero-content h2 {
    display: grid;
    gap: 3px;
    font-size: clamp(.9rem, 1.05vw, 1.02rem);
    font-weight: 680;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.hero-slide--booking .home-hero-content h2 > span {
    font: inherit;
}

.hero-slide--booking .home-hero-content h2 > strong {
    color: #102341;
    font-size: clamp(.98rem, 1.18vw, 1.1rem);
    font-weight: 720;
    letter-spacing: -.02em;
    line-height: 1.18;
}

.home-hero-features--booking {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 18px;
}

.home-hero-features--booking li {
    display: grid;
    grid-template-columns: 34px minmax(155px, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 9px 15px;
}

.home-hero-features--booking li::before {
    display: none;
}

.home-hero-features--booking li > i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--slide-soft) 60%, white);
    color: var(--slide-accent);
    font-size: 1.18rem;
}

.home-hero-features--booking strong {
    color: #28234d;
    font-size: clamp(1.45rem, 1.9vw, 1.72rem);
    font-weight: 790;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.home-hero-features--booking span {
    color: #625d7e;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.4;
}

.home-hero-price {
    display: flex;
    min-height: 70px;
    max-width: 620px;
    align-items: baseline;
    gap: 9px;
    margin: 0 0 19px;
    padding: 4px 17px 7px;
    border-left: 4px solid var(--slide-accent);
    border-radius: 0 14px 14px 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--slide-soft) 82%, white), rgba(255, 255, 255, .42));
}

.home-hero-price span {
    color: #4b4568;
    font-size: .98rem;
    font-weight: 760;
}

.home-hero-price strong {
    color: var(--slide-accent);
    font-size: clamp(3.9rem, 6vw, 5.65rem);
    font-weight: 850;
    letter-spacing: -.075em;
    line-height: .9;
}

.home-hero-price small {
    color: #6e6886;
    font-size: .82rem;
    font-weight: 720;
}

.hero-slide--payments .home-hero-content h2 {
    display: grid;
    gap: 3px;
    font-size: clamp(.92rem, 1.08vw, 1.04rem);
    font-weight: 680;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.hero-slide--payments .home-hero-content h2 > span {
    font: inherit;
}

.hero-slide--payments .home-hero-content h2 > strong {
    color: #102341;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    font-weight: 760;
    letter-spacing: -.025em;
    line-height: 1.17;
}

.home-hero-features--payments {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 630px;
}

.home-hero-features--payments li {
    display: grid;
    grid-template-columns: 36px minmax(155px, .74fr) minmax(0, 1.26fr);
    align-items: center;
    gap: 13px;
    min-height: 64px;
    padding: 10px 16px;
}

.home-hero-features--payments li::before {
    display: none;
}

.home-hero-features--payments li > i {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--slide-soft) 64%, white);
    color: var(--slide-accent);
    font-size: 1.2rem;
}

.home-hero-features--payments strong {
    color: #163f52;
    font-size: clamp(1.45rem, 1.9vw, 1.72rem);
    font-weight: 800;
    letter-spacing: -.018em;
    line-height: 1.2;
}

.home-hero-features--payments span {
    color: #536f79;
    font-size: .88rem;
    font-weight: 650;
    line-height: 1.42;
}

.hero-slide--reviews .home-hero-content h2 {
    display: grid;
    gap: 3px;
    font-size: clamp(.92rem, 1.08vw, 1.04rem);
    font-weight: 680;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.hero-slide--reviews .home-hero-content h2 > span {
    font: inherit;
}

.hero-slide--reviews .home-hero-content h2 > strong {
    color: #102341;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    font-weight: 760;
    letter-spacing: -.025em;
    line-height: 1.17;
}

.home-hero-features--reviews strong {
    color: #543a18;
}

.home-hero-features--reviews span {
    color: #74634d;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-hero-primary,
.home-hero-secondary {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    border-radius: 10px;
    font-size: .94rem;
    font-weight: 700;
    line-height: 1.2;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.home-hero-primary {
    gap: 8px;
    background: var(--slide-accent);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--slide-accent) 25%, transparent);
    color: #fff;
}

.home-hero-primary i {
    font-size: 1.25rem;
}

.home-hero-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 15px 32px color-mix(in srgb, var(--slide-accent) 32%, transparent);
}

.home-hero-secondary {
    border: 1px solid #ced9e7;
    background: rgba(255, 255, 255, .78);
    color: #243750;
}

.home-hero-secondary:hover {
    border-color: var(--slide-accent);
    background: #fff;
    color: var(--slide-accent);
    transform: translateY(-2px);
}

.home-hero-visual {
    position: relative;
    min-width: 0;
}

.home-hero-visual::before {
    position: absolute;
    z-index: -1;
    inset: -28px -32px -28px 32px;
    content: "";
    border-radius: 40% 60% 48% 52% / 56% 44% 56% 44%;
    background: var(--slide-soft);
}

.home-hero-media {
    position: relative;
    height: 430px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, .96);
    border-radius: 26px;
    background: #dce6f2;
    box-shadow: 0 28px 70px rgba(28, 54, 91, .17), 0 2px 8px rgba(28, 54, 91, .08);
}

.home-hero-media::after {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, .08), transparent 48%);
}

.home-hero .owl-item .home-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 72% center;
}

.home-hero-callout {
    position: absolute;
    z-index: 2;
    display: flex;
    max-width: 265px;
    min-height: 62px;
    gap: 12px;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid rgba(221, 230, 241, .95);
    border-radius: 15px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 40px rgba(26, 52, 89, .16);
    color: #263950;
    font-size: .8rem;
    font-weight: 650;
    line-height: 1.35;
}

.home-hero-callout i {
    display: grid;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 10px;
    background: var(--slide-soft);
    color: var(--slide-accent);
    font-size: 1.2rem;
}

.home-hero-callout--top {
    top: -24px;
    right: 26px;
}

.home-hero-callout--bottom {
    bottom: -25px;
    left: -30px;
}

.home-hero .owl-theme .owl-nav {
    position: absolute;
    z-index: 4;
    right: 26px;
    bottom: 27px;
    display: flex;
    gap: 8px;
    margin: 0;
}

.home-hero .owl-theme .owl-nav button.owl-prev,
.home-hero .owl-theme .owl-nav button.owl-next {
    display: grid;
    width: 40px;
    height: 40px;
    margin: 0;
    place-items: center;
    border: 1px solid #d9e3ef;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #263950;
    font-size: 22px;
    box-shadow: 0 7px 18px rgba(30, 57, 92, .08);
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.home-hero .owl-theme .owl-nav button:hover {
    border-color: var(--hero-accent);
    background: #fff;
    color: var(--hero-accent);
    transform: translateY(-1px);
}

.home-hero .owl-theme .owl-dots,
.home-hero .owl-theme .owl-nav.disabled + .owl-dots {
    position: absolute;
    z-index: 4;
    bottom: 34px;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
}

.home-hero .owl-theme .owl-dots .owl-dot span {
    width: 7px;
    height: 7px;
    margin: 5px 5px;
    background: #afbdcf;
    transition: width .25s ease, background-color .25s ease;
}

.home-hero .owl-theme .owl-dots .owl-dot.active span {
    width: 25px;
    border-radius: 999px;
    background: var(--hero-accent);
}

@media (max-width: 1199px) {
    .home-hero .hero-slide-inner {
        grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr);
        gap: 48px;
    }

    .home-hero-media {
        height: 390px;
    }

    .home-hero-content h1,
    .home-hero-content h2 {
        font-size: clamp(1.25rem, 2.15vw, 1.65rem);
    }

    .hero-slide--retail .home-hero-content h1 > strong {
        font-size: clamp(.98rem, 1.35vw, 1.1rem);
    }

    .hero-slide--booking .home-hero-content h2 > strong {
        font-size: clamp(.98rem, 1.35vw, 1.1rem);
    }

    .hero-slide--payments .home-hero-content h2 > strong {
        font-size: clamp(1rem, 1.4vw, 1.12rem);
    }

    .hero-slide--reviews .home-hero-content h2 > strong {
        font-size: clamp(1rem, 1.4vw, 1.12rem);
    }

    .home-hero-features--primary li {
        grid-template-columns: minmax(155px, .75fr) minmax(0, 1.25fr);
    }

    .home-hero-features--booking li {
        grid-template-columns: 34px minmax(145px, .72fr) minmax(0, 1.28fr);
    }

    .home-hero-features--payments li {
        grid-template-columns: 34px minmax(145px, .7fr) minmax(0, 1.3fr);
    }
}

@media (max-width: 991px) {
    .home-hero .brand-slider,
    .home-hero .owl-stage-outer,
    .home-hero .owl-stage,
    .home-hero .owl-item,
    .home-hero .brand-item {
        min-height: 920px;
    }

    .home-hero .hero-slide {
        padding: 102px 0 75px;
    }

    .home-hero .hero-slide-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .home-hero-content {
        max-width: 720px;
    }

    .home-hero-visual {
        width: min(690px, calc(100% - 20px));
        justify-self: center;
    }

    .home-hero-media {
        height: 365px;
    }

    .home-hero .owl-theme .owl-nav {
        display: none;
    }
}

@media (max-width: 575px) {
    .home-hero .brand-slider,
    .home-hero .owl-stage-outer,
    .home-hero .owl-stage,
    .home-hero .owl-item,
    .home-hero .brand-item {
        min-height: 890px;
    }

    .home-hero .hero-slide {
        padding: 82px 0 66px;
    }

    .home-hero .hero-slide-inner {
        gap: 35px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .home-hero-eyebrow {
        max-width: 100%;
        margin-bottom: 15px;
        font-size: .66rem;
        letter-spacing: .055em;
    }

    .home-hero-content h1,
    .home-hero-content h2 {
        margin-bottom: 14px;
        font-size: clamp(1.2rem, 5.5vw, 1.5rem);
        line-height: 1.28;
    }

    .home-hero-lead {
        margin-bottom: 19px;
        font-size: .96rem;
        line-height: 1.58;
    }

    .home-hero-features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 25px;
    }

    .home-hero-features li {
        min-height: 50px;
        padding: 11px 12px 11px 40px;
        font-size: .98rem;
        line-height: 1.4;
    }

    .home-hero-features li::before {
        left: 11px;
        width: 22px;
        height: 22px;
        font-size: 13px;
    }

    .hero-slide--retail .home-hero-content h1 > strong {
        font-size: 1rem;
    }

    .hero-slide--booking .home-hero-content h2 > strong {
        font-size: 1rem;
    }

    .hero-slide--payments .home-hero-content h2 > strong {
        font-size: 1.02rem;
    }

    .hero-slide--reviews .home-hero-content h2 > strong {
        font-size: 1.02rem;
    }

    .home-hero-features--primary li {
        grid-template-columns: 1fr;
        gap: 3px;
        min-height: 68px;
        padding: 11px 12px 11px 44px;
    }

    .home-hero-features--primary li::before {
        left: 12px;
    }

    .home-hero-features--primary strong {
        font-size: 1.36rem;
    }

    .home-hero-features--primary span {
        font-size: .82rem;
    }

    .home-hero-features--booking li {
        grid-template-columns: 32px 1fr;
        gap: 2px 10px;
        min-height: 66px;
        padding: 9px 11px;
    }

    .home-hero-features--booking li > i {
        grid-row: 1 / 3;
        width: 32px;
        height: 32px;
    }

    .home-hero-features--booking strong {
        font-size: 1.3rem;
    }

    .home-hero-features--booking span {
        font-size: .8rem;
    }

    .home-hero-features--payments li {
        grid-template-columns: 32px 1fr;
        gap: 2px 10px;
        min-height: 68px;
        padding: 9px 11px;
    }

    .home-hero-features--payments li > i {
        grid-row: 1 / 3;
        width: 32px;
        height: 32px;
    }

    .home-hero-features--payments strong {
        font-size: 1.32rem;
    }

    .home-hero-features--payments span {
        font-size: .81rem;
    }

    .home-hero-price {
        min-height: 60px;
        gap: 7px;
        margin-bottom: 17px;
        padding: 4px 12px 6px;
    }

    .home-hero-price span {
        font-size: .86rem;
    }

    .home-hero-price strong {
        font-size: clamp(3.35rem, 17vw, 4.5rem);
    }

    .home-hero-actions {
        gap: 9px;
    }

    .home-hero-primary,
    .home-hero-secondary {
        min-height: 44px;
        padding: 10px 16px;
        font-size: .86rem;
    }

    .home-hero-visual {
        width: 100%;
    }

    .home-hero-visual::before {
        inset: -18px -12px -18px 18px;
    }

    .home-hero-media {
        height: 230px;
        border-width: 5px;
        border-radius: 18px;
        box-shadow: 0 18px 42px rgba(28, 54, 91, .15);
    }

    .home-hero-callout--top {
        display: none;
    }

    .home-hero-callout--bottom {
        bottom: -21px;
        left: 15px;
        max-width: calc(100% - 30px);
        min-height: 48px;
        padding: 8px 11px;
        font-size: .73rem;
    }

    .home-hero-callout i {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .home-hero .owl-theme .owl-dots,
    .home-hero .owl-theme .owl-nav.disabled + .owl-dots {
        bottom: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* Curated website templates */
.template-showcase {
    position: relative;
    overflow: hidden;
    padding: 110px 0 105px;
    background:
        radial-gradient(circle at 8% 7%, rgba(54, 110, 246, .12), transparent 28%),
        radial-gradient(circle at 92% 92%, rgba(126, 75, 220, .10), transparent 26%),
        #f7f9fd;
}

.template-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .32;
    background-image: linear-gradient(rgba(31, 48, 86, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 48, 86, .06) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, #000, transparent 58%);
}

.template-showcase .container {
    position: relative;
    z-index: 1;
}

.template-showcase__heading {
    max-width: 760px;
    margin: 0 auto 74px;
    text-align: center;
}

.template-showcase__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    color: #376dea;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.template-showcase__eyebrow::before,
.template-showcase__eyebrow::after {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.template-showcase__heading h2 {
    margin: 0;
    color: #14213d;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -.035em;
}

.template-showcase__heading p {
    max-width: 650px;
    margin: 20px auto 0;
    color: #66708a;
    font-size: 1.05rem;
    line-height: 1.8;
}

.template-collection + .template-collection {
    margin-top: 78px;
}

.template-collection__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(24, 42, 77, .14);
}

.template-collection__header > div {
    display: flex;
    align-items: center;
    gap: 15px;
}

.template-collection__index {
    color: #376dea;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .09em;
}

.template-collection__header h3 {
    margin: 0;
    color: #17233d;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 750;
}

.template-collection__header p {
    margin: 0;
    color: #7c8599;
    font-size: .83rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.template-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.template-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(27, 48, 91, .11);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(27, 43, 77, .09);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.template-card:hover {
    transform: translateY(-7px);
    border-color: rgba(55, 109, 234, .30);
    box-shadow: 0 28px 65px rgba(27, 43, 77, .16);
}

.template-card__link {
    display: block;
    color: inherit;
}

.template-card__link:hover {
    color: inherit;
}

.template-card__browser {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    background: #f2f4f8;
    border-bottom: 1px solid rgba(27, 48, 91, .08);
}

.template-card__browser > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c8cfdb;
}

.template-card__browser > span:first-child { background: #ff7b71; }
.template-card__browser > span:nth-child(2) { background: #f7c85f; }
.template-card__browser > span:nth-child(3) { background: #62c985; }

.template-card__browser small {
    min-width: 0;
    overflow: hidden;
    margin-left: 7px;
    color: #8c95a7;
    font-size: .68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.template-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 8 / 5;
    background: #e8ecf4;
}

.template-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: linear-gradient(to top, rgba(10, 22, 48, .56), transparent 64%);
    transition: opacity .35s ease;
}

.template-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .7, .2, 1);
}

.template-card:hover .template-card__media img {
    transform: scale(1.035);
}

.template-card:hover .template-card__media::after {
    opacity: 1;
}

.template-card__preview {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 15px;
    border-radius: 999px;
    opacity: 0;
    color: #17233d;
    background: #fff;
    font-size: .78rem;
    font-weight: 800;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}

.template-card__preview i {
    font-size: 1.05rem;
    transform: rotate(45deg);
}

.template-card:hover .template-card__preview {
    opacity: 1;
    transform: translateY(0);
}

.template-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px 22px;
}

.template-card__footer span {
    display: block;
    margin-bottom: 3px;
    color: #778198;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.template-card__footer h4 {
    margin: 0;
    color: #17233d;
    font-size: 1.14rem;
    font-weight: 800;
}

.template-card__footer > i {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    place-items: center;
    color: #315fd0;
    background: #edf2ff;
    font-size: 1.35rem;
    transition: color .3s ease, background .3s ease, transform .3s ease;
}

.template-card:hover .template-card__footer > i {
    color: #fff;
    background: #376dea;
    transform: translateX(3px);
}

@media (max-width: 767.98px) {
    .template-showcase {
        padding: 78px 0 74px;
    }

    .template-showcase__heading {
        margin-bottom: 52px;
    }

    .template-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .template-collection + .template-collection {
        margin-top: 58px;
    }

    .template-collection__header {
        align-items: center;
    }

    .template-collection__header p {
        font-size: .68rem;
    }

    .template-card__preview {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .template-card,
    .template-card__media img,
    .template-card__preview,
    .template-card__footer > i {
        transition: none !important;
    }
}

/* Live client websites */
.client-showcase {
    position: relative;
    overflow: hidden;
    padding: 112px 0;
    color: #fff;
    background: #11192d;
}

.client-showcase::before {
    content: "";
    position: absolute;
    top: -280px;
    right: -220px;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    opacity: .5;
    background: radial-gradient(circle, rgba(64, 115, 238, .35), transparent 68%);
    pointer-events: none;
}

.client-showcase::after {
    content: "";
    position: absolute;
    bottom: -330px;
    left: -270px;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    opacity: .35;
    background: radial-gradient(circle, rgba(180, 94, 221, .28), transparent 68%);
    pointer-events: none;
}

.client-showcase .container {
    position: relative;
    z-index: 1;
}

.client-showcase__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: end;
    gap: 65px;
    margin-bottom: 72px;
}

.client-showcase__heading > div > span {
    display: block;
    margin-bottom: 15px;
    color: #82a7ff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.client-showcase__heading h2 {
    max-width: 690px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 4.4vw, 3.7rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.client-showcase__heading > p {
    margin: 0 0 5px;
    color: #aeb9d2;
    font-size: 1rem;
    line-height: 1.8;
}

.client-collection + .client-collection {
    margin-top: 62px;
}

.client-collection__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.client-collection__header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 760;
}

.client-collection__header h3::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #77e3ae;
    box-shadow: 0 0 0 6px rgba(119, 227, 174, .12);
}

.client-collection__header > span {
    color: #7f8ba8;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.client-case-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.client-case-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 15px;
    background: rgba(255, 255, 255, .045);
    transition: border-color .35s ease, background .35s ease, transform .35s ease;
}

.client-case-card:hover {
    border-color: rgba(130, 167, 255, .45);
    background: rgba(255, 255, 255, .075);
    transform: translateY(-6px);
}

.client-case-card > a {
    display: block;
    height: 100%;
    color: inherit;
}

.client-case-card > a:hover {
    color: inherit;
}

.client-case-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 8 / 5;
    background: #222c43;
}

.client-case-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background: linear-gradient(to top, #0a1020, transparent 60%);
    transition: opacity .35s ease;
}

.client-case-card:hover .client-case-card__media::after {
    opacity: .32;
}

.client-case-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.client-case-card:hover .client-case-card__media img {
    transform: scale(1.045);
}

.client-case-card__status {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    color: #fff;
    background: rgba(12, 20, 38, .62);
    backdrop-filter: blur(8px);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.client-case-card__status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #77e3ae;
    box-shadow: 0 0 0 3px rgba(119, 227, 174, .16);
}

.client-case-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 124px;
    padding: 18px;
}

.client-case-card__body > div {
    min-width: 0;
}

.client-case-card__body span {
    display: block;
    margin-bottom: 4px;
    color: #82a7ff;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.client-case-card__body h4 {
    overflow: hidden;
    margin: 0 0 6px;
    color: #fff;
    font-size: 1rem;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-case-card__body small {
    display: block;
    overflow: hidden;
    color: #7f8ba8;
    font-size: .67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-case-card__body > i {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    place-items: center;
    color: #b8c8ed;
    font-size: 1.15rem;
    transform: rotate(45deg);
    transition: color .3s ease, background .3s ease, border-color .3s ease;
}

.client-case-card:hover .client-case-card__body > i {
    color: #11192d;
    border-color: #fff;
    background: #fff;
}

.client-showcase__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-top: 82px;
    padding: 40px 44px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: linear-gradient(115deg, rgba(64, 115, 238, .19), rgba(255, 255, 255, .05));
}

.client-showcase__cta span {
    display: block;
    margin-bottom: 7px;
    color: #82a7ff;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.client-showcase__cta h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 800;
}

.client-showcase__cta p {
    margin: 0;
    color: #aeb9d2;
}

.client-showcase__cta button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 9px;
    color: #12203b;
    background: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(3, 8, 20, .22);
    transition: color .3s ease, background .3s ease, transform .3s ease;
}

.client-showcase__cta button:hover {
    color: #fff;
    background: #4073ee;
    transform: translateY(-2px);
}

.client-showcase__cta button i {
    font-size: 1.25rem;
}

@media (max-width: 991.98px) {
    .client-showcase__heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .client-showcase__heading > p {
        max-width: 680px;
    }

    .client-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .client-showcase {
        padding: 78px 0;
    }

    .client-showcase__heading {
        margin-bottom: 52px;
    }

    .client-case-grid {
        grid-template-columns: 1fr;
    }

    .client-collection + .client-collection {
        margin-top: 48px;
    }

    .client-showcase__cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 26px;
        margin-top: 60px;
        padding: 30px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-case-card,
    .client-case-card__media img,
    .client-case-card__body > i,
    .client-showcase__cta button {
        transition: none !important;
    }
}
