/* =========================================================
   HOME HERO
   Deep magenta backdrop, gold arch with the slider, floating
   cards and a category strip. Content comes from the CMS.
   ========================================================= */

.vh {
    --vh-magenta: #ac0060;
    --vh-wine: #4a0029;
    --vh-gold: #cf9c2c;
    --vh-gold-light: #f1d18a;
    --vh-cream: #faf4e9;

    position: relative;
    overflow: hidden;
    padding: 72px 0 36px;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    isolation: isolate;
}

/* ---------- Background ---------- */

.vh-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 90% at 85% 40%, #c40a70 0%, rgba(196, 10, 112, 0) 55%),
        linear-gradient(135deg, #7a0044 0%, var(--vh-magenta) 45%, var(--vh-wine) 100%);
}

.vh-pattern {
    position: absolute;
    inset: 0;
    opacity: .09;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23f1d18a' stroke-width='1'%3E%3Cpath d='M40 8c9 10 9 22 0 32-9-10-9-22 0-32zM40 72c-9-10-9-22 0-32 9 10 9 22 0 32zM8 40c10-9 22-9 32 0-10 9-22 9-32 0zM72 40c-10 9-22 9-32 0 10-9 22-9 32 0z'/%3E%3Ccircle cx='40' cy='40' r='3'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='80' cy='0' r='6'/%3E%3Ccircle cx='0' cy='80' r='6'/%3E%3Ccircle cx='80' cy='80' r='6'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 60%, #000 100%);
    mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 60%, #000 100%);
}

.vh-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.vh-glow-1 {
    top: -120px;
    left: -120px;
    width: 420px;
    height: 420px;
    background: rgba(241, 209, 138, .22);
}

.vh-glow-2 {
    right: 8%;
    bottom: -160px;
    width: 520px;
    height: 520px;
    background: rgba(255, 120, 190, .25);
}

/* ---------- Layout ---------- */

.vh-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

/* ---------- Copy ---------- */

.vh-copy {
    max-width: 600px;
    animation: vhRise .9s cubic-bezier(.2, .7, .2, 1) both;
}

.vh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 8px 18px 8px 14px;
    border: 1px solid rgba(241, 209, 138, .45);
    border-radius: 40px;
    background: rgba(255, 255, 255, .08);
    color: var(--vh-gold-light);
    font-family: "Jost", sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.vh-eyebrow i {
    font-size: 12px;
}

.vh-title {
    margin: 0 0 22px;
    color: #ffffff;
    font-family: "Playfair Display", serif;
    font-size: clamp(42px, 5.4vw, 76px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.5px;
}

.vh-title em {
    position: relative;
    display: inline-block;
    color: var(--vh-gold-light);
    font-style: italic;
    background: linear-gradient(100deg, #f7dfa3 0%, #cf9c2c 45%, #f7dfa3 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: vhShimmer 6s linear infinite;
}

/* hand-drawn underline under the emphasised words */
.vh-title em::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 4%;
    bottom: -4px;
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C50 3 120 2 198 7' fill='none' stroke='%23cf9c2c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    opacity: .85;
}

.vh-desc {
    max-width: 500px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, .8);
    font-size: 16px;
    line-height: 1.85;
}

.vh-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

.vh-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: 58px;
    padding: 0 30px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .2px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.vh-btn-primary {
    padding-right: 8px;
    background: linear-gradient(135deg, #e8bd57, var(--vh-gold));
    color: #3a1d06 !important;
    box-shadow: 0 14px 34px rgba(207, 156, 44, .35);
}

.vh-btn-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #3a1d06;
    color: var(--vh-gold-light);
    font-size: 14px;
    transition: transform .25s ease;
}

.vh-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(207, 156, 44, .45);
}

.vh-btn-primary:hover .vh-btn-icon {
    transform: rotate(-35deg);
}

.vh-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .45);
    color: #ffffff !important;
    backdrop-filter: blur(6px);
}

.vh-btn-ghost:hover {
    background: #ffffff;
    color: var(--vh-magenta) !important;
}

/* Trust row */

.vh-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    list-style: none;
}

.vh-trust li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vh-trust i {
    width: 40px;
    height: 40px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: var(--vh-gold-light);
    font-size: 15px;
}

.vh-trust span {
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    line-height: 1.4;
}

.vh-trust strong {
    display: block;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 500;
}

/* ---------- Visual ---------- */

.vh-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 20px 0 40px;
    animation: vhRise 1s .15s cubic-bezier(.2, .7, .2, 1) both;
}

.vh-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(620px, 118%);
    color: rgba(241, 209, 138, .55);
    fill: rgba(241, 209, 138, .7);
    font-family: "Jost", sans-serif;
    font-size: 8px;
    transform: translate(-50%, -52%);
    animation: vhSpin 40s linear infinite;
    pointer-events: none;
}

/* Arch window holding the slider */
.vh-arch {
    position: relative;
    width: min(440px, 100%);
    aspect-ratio: 440 / 560;
    padding: 10px;
    border-radius: 240px 240px 28px 28px;
    background: linear-gradient(160deg, #f7dfa3, var(--vh-gold) 40%, #8a5e10 100%);
    box-shadow: 0 40px 80px rgba(40, 0, 20, .45), 0 0 0 1px rgba(255, 255, 255, .15) inset;
}

.vh-arch::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 230px 230px 20px 20px;
    background:
        radial-gradient(80% 60% at 50% 35%, #fff7e8 0%, #f6e7cc 55%, #e9d2a8 100%);
}

.vh-arch-shine {
    position: absolute;
    inset: 10px;
    z-index: 2;
    overflow: hidden;
    border-radius: 230px 230px 20px 20px;
    pointer-events: none;
}

.vh-arch-shine::after {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0));
    transform: skewX(-18deg);
    animation: vhSweep 7s ease-in-out infinite;
}

.vh-swiper {
    position: absolute !important;
    inset: 10px;
    overflow: hidden;
    border-radius: 230px 230px 20px 20px;
}

.vh-swiper .swiper-slide {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.vh-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 20px 30px rgba(74, 0, 41, .25));
    transform: scale(1.04);
    transition: transform 6s ease;
}

.vh-swiper .swiper-slide-active img {
    transform: scale(1);
}

/* Slider dots */
.vh-dots {
    position: absolute;
    left: 50% !important;
    bottom: 4px !important;
    z-index: 3;
    display: flex;
    gap: 8px;
    width: auto !important;
    transform: translateX(-50%);
}

.vh-dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border-radius: 8px;
    background: rgba(255, 255, 255, .45);
    opacity: 1;
    transition: width .3s ease, background .3s ease;
}

.vh-dots .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--vh-gold-light);
}

/* Floating glass cards */
.vh-float {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .88);
    color: #2a1712;
    box-shadow: 0 20px 40px rgba(40, 0, 20, .3);
    backdrop-filter: blur(12px);
}

.vh-float-product {
    left: max(0px, calc(50% - 330px));
    bottom: 70px;
    max-width: 280px;
    padding: 10px 16px 10px 10px;
    border-radius: 18px;
    animation: vhFloat 6s ease-in-out infinite;
}

.vh-float-product:hover {
    color: #2a1712;
}

.vh-float-product img {
    width: 52px;
    height: 64px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: #f3ece2;
    object-fit: cover;
}

.vh-float-product span {
    min-width: 0;
    line-height: 1.3;
}

.vh-float-product em {
    display: block;
    margin-bottom: 2px;
    color: var(--vh-magenta);
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.vh-float-product strong {
    display: block;
    overflow: hidden;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vh-float-product b {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 700;
}

.vh-float-product > i {
    width: 30px;
    height: 30px;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--vh-magenta);
    color: #ffffff;
    font-size: 11px;
    transition: transform .25s ease;
}

.vh-float-product:hover > i {
    transform: translateX(3px);
}

.vh-float-stat {
    top: 60px;
    right: max(0px, calc(50% - 310px));
    flex-direction: column;
    gap: 2px;
    width: 112px;
    height: 112px;
    justify-content: center;
    border-radius: 50%;
    text-align: center;
    animation: vhFloat 7s 1s ease-in-out infinite reverse;
}

.vh-float-stat strong {
    color: var(--vh-magenta);
    font-family: "Playfair Display", serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.vh-float-stat > i {
    margin-bottom: 4px;
    color: var(--vh-magenta);
    font-size: 24px;
}

.vh-float-stat span {
    color: #6e6059;
    font-size: 11px;
    line-height: 1.3;
}

/* ---------- Category strip ---------- */

.vh-cats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
    animation: vhRise 1s .3s cubic-bezier(.2, .7, .2, 1) both;
}

.vh-cats-label {
    margin: 0 8px 0 6px;
    color: var(--vh-gold-light);
    font-family: "Jost", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.vh-cats a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 40px;
    color: #ffffff;
    font-size: 13.5px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.vh-cats a i {
    color: var(--vh-gold-light);
    transition: color .2s ease;
}

.vh-cats a:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: var(--vh-magenta);
}

.vh-cats a:hover i {
    color: var(--vh-magenta);
}

/* ---------- Animations ---------- */

@keyframes vhRise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@keyframes vhSpin {
    to { transform: translate(-50%, -52%) rotate(360deg); }
}

@keyframes vhFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes vhShimmer {
    to { background-position: -200% center; }
}

@keyframes vhSweep {
    0%, 55% { left: -60%; }
    100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
    .vh *,
    .vh *::before,
    .vh *::after,
    .vh-copy,
    .vh-visual,
    .vh-cats {
        animation: none !important;
        transition: none !important;
    }
}

/* ---------- Tablet ---------- */

@media (max-width: 1199px) {
    .vh-float-product {
        left: 0;
    }

    .vh-float-stat {
        right: 0;
    }
}

@media (max-width: 991px) {
    .vh {
        padding: 48px 0 28px;
    }

    .vh-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .vh-copy {
        max-width: 640px;
        margin: 0 auto;
        text-align: center;
    }

    .vh-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .vh-actions,
    .vh-trust {
        justify-content: center;
    }

    .vh-trust li {
        text-align: left;
    }

    .vh-float-product {
        left: max(0px, calc(50% - 320px));
    }

    .vh-float-stat {
        right: max(0px, calc(50% - 300px));
    }

    .vh-cats {
        justify-content: center;
    }
}

/* ---------- Phones ---------- */

@media (max-width: 575.98px) {
    .vh {
        padding: 34px 0 24px;
    }

    .vh-eyebrow {
        margin-bottom: 18px;
        padding: 7px 14px 7px 12px;
        font-size: 10.5px;
        letter-spacing: 2px;
    }

    .vh-title {
        font-size: 40px;
    }

    .vh-desc {
        margin-bottom: 26px;
        font-size: 14.5px;
    }

    .vh-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 28px;
    }

    .vh-btn {
        justify-content: center;
        height: 54px;
    }

    .vh-btn-primary {
        justify-content: space-between;
        padding-left: 26px;
    }

    .vh-trust {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        padding-top: 20px;
    }

    .vh-trust li {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .vh-trust strong {
        font-size: 12px;
    }

    .vh-trust span {
        font-size: 10.5px;
    }

    .vh-visual {
        padding: 30px 0 34px;
    }

    .vh-arch {
        width: 78%;
    }

    .vh-ring {
        width: 118%;
    }

    .vh-float-product {
        left: 0;
        bottom: 40px;
        max-width: 210px;
        padding: 8px 12px 8px 8px;
        gap: 10px;
    }

    .vh-float-product img {
        width: 40px;
        height: 50px;
    }

    .vh-float-product > i {
        display: none;
    }

    .vh-float-stat {
        top: 30px;
        right: 0;
        width: 86px;
        height: 86px;
    }

    .vh-float-stat strong {
        font-size: 22px;
    }

    .vh-float-stat span {
        font-size: 9.5px;
    }

    .vh-float-stat > i {
        font-size: 18px;
    }

    .vh-cats {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin: 26px -12px 0;
        padding: 12px;
        overflow-x: auto;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        scrollbar-width: none;
    }

    .vh-cats::-webkit-scrollbar {
        display: none;
    }

    .vh-cats a,
    .vh-cats-label {
        flex: 0 0 auto;
    }
}
