/*
 * Homepage content sections edited in Backend > Home Setting
 * (frontend/partials/home_hero_intro … home_final_cta).
 * Sizes come from the type-scale tokens in frontend/header.php (--fs-*).
 */

.vd-hs {
    padding: 80px 0;
    background: #fff;
}

.vd-hs--tint {
    background: #faf6f2;
}

.vd-hs__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.vd-hs__eyebrow {
    display: block;
    font-size: var(--fs-eyebrow);
    letter-spacing: 0.18em;
    color: var(--brand-accent);
    margin-bottom: 10px;
}

.vd-hs__title {
    font-size: var(--fs-h2);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-main);
    margin: 0;
}

.vd-hs__subtitle {
    font-size: var(--fs-subtitle);
    line-height: 1.75;
    color: #666;
    margin: 14px 0 0;
}

.vd-hs__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: var(--fs-btn);
    font-weight: 500;
    color: #fff;
    background: var(--text-main);
    border: 1px solid var(--text-main);
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.vd-hs__btn:hover,
.vd-hs__btn:focus-visible {
    background: #fff;
    color: var(--text-main);
}

.vd-hs__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-btn-sm);
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
}

.vd-hs__link i {
    transition: transform 0.25s ease;
}

.vd-hs__badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: var(--fs-badge);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    color: #fff;
    background: var(--brand-accent);
    border-radius: 999px;
}

/* ── Welcome (hero_intro) ── */
.vd-hs-hero {
    padding: 72px 0 64px;
    text-align: center;
}

.vd-hs-hero__title {
    font-size: var(--fs-h1);
    font-weight: 500;
    line-height: 1.45;
    margin: 0;
}

.vd-hs-hero__subtitle {
    font-size: var(--fs-subtitle);
    line-height: 1.75;
    color: #666;
    max-width: 680px;
    margin: 18px auto 0;
}

.vd-hs-hero__videos {
    margin-top: 44px;
}

/* ── Cards shared by navigation + brand cards ── */
.vd-hs-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #eee5dc;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

a.vd-hs-card:hover,
a.vd-hs-card:focus-visible {
    color: inherit;
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 18px 36px rgba(60, 40, 20, 0.12);
}

a.vd-hs-card:hover .vd-hs__link i,
a.vd-hs-card:focus-visible .vd-hs__link i {
    transform: translateX(4px);
}

.vd-hs-card__media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f4efe9;
    overflow: hidden;
}

.vd-hs-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

a.vd-hs-card:hover .vd-hs-card__media img {
    transform: scale(1.05);
}

.vd-hs-card__media .vd-hs__badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.vd-hs-card__body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 22px 24px 24px;
}

.vd-hs-card__label {
    font-size: var(--fs-eyebrow);
    color: var(--brand-accent);
    margin-bottom: 6px;
}

.vd-hs-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px;
}

.vd-hs-card__text {
    font-size: var(--fs-body);
    line-height: 1.7;
    color: #666;
    margin: 0 0 18px;
}

.vd-hs-card__body .vd-hs__link {
    margin-top: auto;
}

/* nav cards: portrait photos */
.vd-hs-nav .vd-hs-card__media {
    aspect-ratio: 4 / 5;
}

/* ── Features ── */
.vd-hs-features {
    margin-top: 64px;
    padding: 44px 32px;
    background: #faf6f2;
}

.vd-hs-features__title {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    margin: 0 0 32px;
}

.vd-hs-feature {
    text-align: center;
}

.vd-hs-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #fff;
}

.vd-hs-feature__icon img {
    max-width: 40px;
    max-height: 40px;
}

.vd-hs-feature__title {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 6px;
}

.vd-hs-feature__text {
    font-size: var(--fs-btn-sm);
    line-height: 1.7;
    color: #777;
    margin: 0;
}

/* ── Customer stories (ugc) ── */
.vd-hs-ugc__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.vd-hs-ugc__item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4efe9;
    color: #fff;
    text-decoration: none;
}

.vd-hs-ugc__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

a.vd-hs-ugc__item:hover img {
    transform: scale(1.06);
}

.vd-hs-ugc__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 14px 12px;
    font-size: var(--fs-btn-sm);
    line-height: 1.5;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.vd-hs-ugc__more {
    text-align: center;
    margin-top: 40px;
}

/* ── FAQ ── */
.vd-hs-faq__list {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #ece6df;
}

.vd-hs-faq__item {
    border-bottom: 1px solid #ece6df;
}

.vd-hs-faq__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 4px;
    background: none;
    border: none;
    text-align: left;
    font-size: var(--fs-body);
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
}

.vd-hs-faq__btn:hover,
.vd-hs-faq__btn[aria-expanded="true"] {
    color: var(--brand-accent);
}

.vd-hs-faq__icon {
    position: relative;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.vd-hs-faq__icon::before,
.vd-hs-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    margin-top: -0.75px;
    background: currentColor;
    transition: transform 0.25s ease;
}

.vd-hs-faq__icon::after {
    transform: rotate(90deg);
}

.vd-hs-faq__btn[aria-expanded="true"] .vd-hs-faq__icon::after {
    transform: rotate(0deg);
}

.vd-hs-faq__answer {
    padding: 0 4px 22px;
    font-size: var(--fs-body);
    line-height: 1.8;
    color: #666;
}

/* ── Final CTA ── */
.vd-hs-cta {
    padding: 96px 0;
    text-align: center;
    background: linear-gradient(180deg, #faf6f2 0%, #f3e9df 100%);
}

.vd-hs-cta .vd-hs__head {
    margin-bottom: 36px;
}

/* ── Tablet / mobile ── */
@media (max-width: 991.98px) {
    .vd-hs {
        padding: 64px 0;
    }

    .vd-hs-ugc__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .vd-hs {
        padding: 52px 0;
    }

    .vd-hs__head {
        margin-bottom: 32px;
    }

    .vd-hs-hero {
        padding: 48px 0 44px;
    }

    .vd-hs-hero__videos {
        margin-top: 32px;
    }

    /* nav cards: photo left, text right, so three cards fit on a phone screen */
    .vd-hs-nav .vd-hs-card {
        flex-direction: row;
    }

    .vd-hs-nav .vd-hs-card__media {
        flex: 0 0 38%;
        aspect-ratio: auto;
        min-height: 150px;
    }

    .vd-hs-nav .vd-hs-card__media img {
        position: absolute;
        inset: 0;
    }

    .vd-hs-nav .vd-hs-card__media .vd-hs__badge {
        top: 10px;
        left: 10px;
    }

    .vd-hs-nav .vd-hs-card__body {
        padding: 16px 18px;
    }

    .vd-hs-nav .vd-hs-card__text {
        margin-bottom: 12px;
    }

    .vd-hs-features {
        margin-top: 44px;
        padding: 32px 20px;
    }

    .vd-hs-ugc__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .vd-hs-cta {
        padding: 64px 0;
    }

    .vd-hs__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vd-hs-card,
    .vd-hs-card__media img,
    .vd-hs-ugc__item img,
    .vd-hs__link i {
        transition: none;
    }

    a.vd-hs-card:hover,
    a.vd-hs-card:focus-visible {
        transform: none;
    }
}
