/* ==========================================================================
   NakshMart - Home page (front/index.blade.php)
   Mobile-first, compact layout. Loaded last through @section('styles'),
   so it only affects pages whose <body> carries .page-home.

   01. Tokens & shell
   02. Section heads, links, reveal
   03. Hero slider
   04. (original benefits strip - see style.css)
   05. Categories
   06. Rails (swipe on mobile, grid on desktop) & promo cards
   07. Product rails, tabs & grid
   08. Live showcase (original .video-intro + photo)
   09. Curated collections
   10. Promise
   11. Testimonials
   12. FAQ
   13. Journal (blog)
   14. Story (SEO copy)
   ========================================================================== */

/* 01. Tokens & shell ----------------------------------------------------- */
body.page-home {
    --hm-pad: 26px;
    --hm-gap: 12px;
    --hm-edge: 14px;
    --hm-r: 14px;
    --hm-r-sm: 10px;
    --hm-gold-text: #8c6d2a;
    --hm-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.1);
}

@media (min-width: 768px) {
    body.page-home {
        --hm-pad: 40px;
        --hm-gap: 16px;
        --hm-edge: 20px;
    }
}

@media (min-width: 1200px) {
    body.page-home {
        --hm-pad: 56px;
        --hm-gap: 20px;
    }
}

body.page-home main .container {
    padding-inline: var(--hm-edge);
}

.hm-section {
    padding: var(--hm-pad) 0;
}
.hm-section--tint {
    background: var(--cream);
}
.hm-section--dark {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.82);
}
.hm-plain + .hm-plain {
    padding-top: 0;
}
.hm-anchor {
    scroll-margin-top: 72px;
}

.hm-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 02. Section heads, links, reveal -------------------------------------- */
.hm-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.hm-head--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
}
.hm-head-text {
    min-width: 0;
}

.hm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hm-gold-text);
}

.hm-kicker::before,
.hm-head--center .hm-kicker::after {
    content: "";
    width: 18px;
    height: 1px;
    background: currentColor;
    opacity: 0.7;
}

.hm-section--dark .hm-kicker,
.hm-hero-tag {
    color: var(--gold);
}

.hm-title {
    margin: 0;
    font-size: clamp(20px, 5.4vw, 32px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hm-title span {
    font-style: italic;
    font-weight: 400;
}
.hm-section--dark .hm-title {
    color: var(--white);
}

.hm-sub {
    margin: 6px 0 0;
    max-width: 560px;
    font-size: 13px;
    line-height: 1.55;
}

.hm-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding-block: 8px;
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    color: var(--primary);
}

.hm-link i {
    font-size: 11px;
    transition: transform 0.25s var(--ease);
}
.hm-link:hover i {
    transform: translateX(3px);
}

.hm-arrows {
    display: none;
    gap: 8px;
}

/* Lighter, shorter reveal than the base theme */
.page-home [data-reveal] {
    transform: translateY(14px);
    transition-duration: 0.5s;
}
.page-home [data-reveal="left"],
.page-home [data-reveal="right"] {
    transform: translateY(14px);
}
.page-home [data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* 03. Hero slider -------------------------------------------------------- */
.hm-hero {
    position: relative;
    background: var(--primary-dark);
}

.hm-slide {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 340px;
    color: rgba(255, 255, 255, 0.9);
}

.hm-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        0deg,
        rgba(var(--primary-rgb), 0.94) 0%,
        rgba(var(--primary-rgb), 0.6) 55%,
        rgba(var(--primary-rgb), 0.12) 100%
    );
}

.hm-slide .container {
    padding-block: 22px 38px;
}
.hm-hero-body {
    max-width: 600px;
}

.hm-hero-tag {
    display: inline-block;
    margin-bottom: 4px;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hm-hero-title {
    margin: 0 0 8px;
    font-size: clamp(24px, 7vw, 46px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--white);
}

.hm-hero-text {
    margin: 0 0 14px;
    max-width: 520px;
    font-size: 13.5px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hm-hero-btns .btn-main {
    padding: 10px 18px;
    font-size: 12px;
}

.hm-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.85);
}

.hm-hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hm-hero-meta i {
    color: var(--gold);
    font-size: 11px;
}
.hm-hero-meta strong {
    color: var(--white);
    font-weight: 600;
}

.hm-hero-ctrl {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
}

.hm-hero-ctrl > * {
    pointer-events: auto;
}

/* Specificity beats Swiper's .swiper-pagination-bullets.swiper-pagination-horizontal { width: 100% } */
.hm-hero .hm-hero-ctrl .hm-hero-dots {
    position: static;
    width: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.hm-hero-dots .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 !important;
    background: var(--white);
    opacity: 0.5;
    transition: all 0.3s var(--ease);
}

.hm-hero-dots .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 6px;
    opacity: 1;
}

.hm-hero-ctrl .slider-btn {
    display: none;
    width: 38px;
    height: 38px;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: rgba(var(--primary-rgb), 0.45);
    backdrop-filter: blur(6px);
}

.hm-hero-ctrl .slider-btn:hover {
    background: var(--white);
    color: var(--primary);
}

@media (min-width: 768px) {
    .hm-slide {
        min-height: 420px;
        align-items: center;
    }
    .hm-slide::before {
        background: linear-gradient(
            90deg,
            rgba(var(--primary-rgb), 0.9) 0%,
            rgba(var(--primary-rgb), 0.55) 55%,
            rgba(var(--primary-rgb), 0.1) 100%
        );
    }
    .hm-slide .container {
        padding-block: 48px;
    }
    .hm-hero-tag {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .hm-hero-title {
        margin-bottom: 12px;
    }
    .hm-hero-text {
        font-size: 15px;
        margin-bottom: 20px;
        -webkit-line-clamp: 3;
    }
    .hm-hero-btns {
        gap: 10px;
    }
    .hm-hero-btns .btn-main {
        padding: 12px 26px;
        font-size: 13px;
    }
    .hm-hero-meta {
        gap: 8px 24px;
        margin-top: 24px;
        padding-top: 16px;
        font-size: 13px;
        border-top: 1px solid var(--divider-dark);
    }
    .hm-hero-ctrl {
        left: auto;
        right: 24px;
        bottom: 24px;
    }
    .hm-hero-ctrl .slider-btn {
        display: inline-flex;
    }
}

@media (min-width: 1200px) {
    .hm-slide {
        min-height: 500px;
    }
}

/* 05. Categories --------------------------------------------------------- */
.hm-cat {
    display: block;
    text-align: center;
}

.hm-cat-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    background: var(--cream);
    /* border: 2px solid var(--white); */
    box-shadow: 0 0 0 1px var(--divider);
    transition: box-shadow 0.3s var(--ease);
}

.hm-cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.hm-cat-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 7px 0 1px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--heading);
}

.hm-cat-count {
    display: block;
    font-size: 10.5px;
    color: var(--text);
}

@media (hover: hover) {
    /* .hm-cat:hover .hm-cat-thumb { box-shadow: 0 0 0 2px var(--gold); } */
    .hm-cat:hover .hm-cat-thumb img {
        transform: scale(1.08);
    }
}

@media (min-width: 768px) {
    .hm-cat-name {
        font-size: 13.5px;
        margin-top: 10px;
    }
    .hm-cat-count {
        font-size: 12px;
    }
}

/* 06. Rails & promo cards ------------------------------------------------ */
.hm-rail {
    display: flex;
    gap: var(--hm-gap);
    margin: 0 calc(var(--hm-edge) * -1);
    padding: 0 var(--hm-edge);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--hm-edge);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.hm-rail::-webkit-scrollbar {
    display: none;
}
.hm-rail > * {
    flex: 0 0 78%;
    min-width: 0;
    scroll-snap-align: start;
}
.hm-rail--1 > * {
    flex-basis: 100%;
}

@media (min-width: 768px) {
    .hm-rail {
        display: grid;
        margin: 0;
        padding: 0;
        overflow: visible;
    }
    .hm-rail--1 {
        grid-template-columns: 1fr;
    }
    .hm-rail--2 {
        grid-template-columns: repeat(2, 1fr);
    }
    .hm-rail--3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hm-promo {
    position: relative;
    isolation: isolate;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: var(--hm-r);
    color: var(--white);
}

.hm-promo img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.hm-promo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        180deg,
        rgba(var(--primary-rgb), 0) 25%,
        rgba(var(--primary-rgb), 0.9) 100%
    );
}

.hm-promo-body {
    position: absolute;
    left: 14px;
    right: 54px;
    bottom: 12px;
}

.hm-promo-kicker {
    display: block;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
}

.hm-promo-title {
    margin: 2px 0 0;
    font-size: 17px;
    line-height: 1.2;
    color: var(--white);
}

.hm-promo-go {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-size: 12px;
    transform: rotate(-45deg);
    transition: transform 0.35s var(--ease);
}

@media (hover: hover) {
    .hm-promo:hover img {
        transform: scale(1.06);
    }
    .hm-promo:hover .hm-promo-go {
        transform: none;
    }
}

@media (min-width: 768px) {
    .hm-promo {
        aspect-ratio: 4 / 3;
    }
    .hm-promo-body {
        left: 18px;
        right: 64px;
        bottom: 16px;
    }
    .hm-promo-title {
        font-size: 21px;
    }
    .hm-promo-go {
        right: 16px;
        bottom: 16px;
        width: 38px;
        height: 38px;
        font-size: 13px;
    }
}

/* 07. Product rails, tabs & grid ---------------------------------------- */
.hm-products .swiper {
    overflow: hidden;
}
.hm-products .swiper-slide {
    height: auto;
}

.hm-tabsbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.hm-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.hm-tabs::-webkit-scrollbar {
    display: none;
}

.hm-tabs .nav-link {
    padding: 8px 14px;
    white-space: nowrap;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--primary);
    background: var(--white);
    border: 1px solid var(--divider) !important;
    border-radius: var(--radius-pill) !important;
}

.hm-tabs .nav-link.active,
.hm-tabs .nav-link:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.hm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
}
.hm-grid > .is-extra {
    display: none;
}

@media (min-width: 768px) {
    .hm-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px 14px;
    }
    .hm-tabs .nav-link {
        padding: 8px 18px;
        font-size: 13.5px;
    }
}

@media (min-width: 1200px) {
    .hm-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 24px 16px;
    }
    .hm-grid > .is-extra {
        display: block;
    }
}

/* 08. Live showcase: original .video-intro layout, photo background ----- */
.page-home .video-intro {
    background-image: url("../images/video-bg.webp");
}

.page-home .video-intro::before {
    background: linear-gradient(
        180deg,
        rgba(var(--primary-rgb), 0.8),
        rgba(var(--primary-rgb), 0.93)
    );
}

.video-intro-text {
    max-width: 620px;
}

/* 09. Curated collections ----------------------------------------------- */
.hm-col {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 210px;
    overflow: hidden;
    border-radius: var(--hm-r);
    color: rgba(255, 255, 255, 0.88);
}

.hm-col > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.hm-col::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        0deg,
        rgba(var(--primary-rgb), 0.94) 0%,
        rgba(var(--primary-rgb), 0.62) 50%,
        rgba(var(--primary-rgb), 0.06) 100%
    );
}

.hm-col-body {
    width: 100%;
    padding: 14px;
}

.hm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
}

.hm-col-title {
    margin: 0 0 4px;
    font-size: 19px;
    line-height: 1.2;
    color: var(--white);
}

.hm-col-text {
    margin: 0 0 10px;
    font-size: 12.5px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (hover: hover) {
    .hm-col:hover > img {
        transform: scale(1.05);
    }
}

@media (min-width: 768px) {
    .hm-col {
        min-height: 300px;
    }
    .hm-col-body {
        padding: 20px;
    }
    .hm-col-title {
        font-size: 24px;
    }
    .hm-col-text {
        font-size: 13.5px;
    }
}

/* 10. Promise ------------------------------------------------------------ */
.hm-promise-grid {
    display: grid;
    gap: 14px;
}

.hm-promise-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--hm-r);
    background: var(--cream);
}
.hm-promise-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-promise-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--hm-r-sm);
    background: var(--white);
    box-shadow: var(--hm-shadow);
    font-size: 11.5px;
    line-height: 1.3;
}

.hm-promise-badge strong {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
    color: var(--primary);
}

.hm-promise-text {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.55;
}

.hm-feats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.hm-feat {
    padding: 12px;
    border-radius: 12px;
    background: var(--white);
    border: 1px solid var(--divider);
}

.hm-feat-ico {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--cream);
    color: var(--primary);
    font-size: 14px;
    transition:
        background 0.3s var(--ease),
        color 0.3s var(--ease);
}

.hm-feat:hover .hm-feat-ico {
    background: var(--primary);
    color: var(--white);
}

.hm-feat-title {
    margin: 8px 0 2px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--heading);
}
.hm-feat-text {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .hm-promise-grid {
        gap: 24px;
    }
    .hm-promise-img {
        aspect-ratio: 21 / 9;
    }
    .hm-promise-text {
        font-size: 14.5px;
    }
    .hm-feat {
        padding: 16px;
    }
    .hm-feat-title {
        font-size: 14.5px;
    }
    .hm-feat-text {
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    .hm-promise-grid {
        grid-template-columns: 5fr 7fr;
        gap: 40px;
        align-items: center;
    }
    .hm-promise-img {
        aspect-ratio: 4 / 5;
        max-height: 480px;
    }
    .hm-promise-badge {
        left: 16px;
        bottom: 16px;
        padding: 12px 16px;
    }
}

/* 11. Testimonials ------------------------------------------------------- */
.hm-testi {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hm-testi::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(var(--primary-rgb), 0.93);
}

.hm-testi-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hm-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hm-rating-num {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    line-height: 1;
    color: var(--white);
}
.hm-rating-meta {
    font-size: 11.5px;
    line-height: 1.3;
}
.hm-rating .rating {
    margin: 0 0 2px;
    font-size: 11px;
}

.hm-testi .swiper {
    overflow: hidden;
}
.hm-testi .swiper-slide {
    height: auto;
}

.hm-quote {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
    border-radius: var(--hm-r);
    border: 1px solid var(--divider-dark);
    background: rgba(255, 255, 255, 0.05);
}

.hm-quote-icon {
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1;
    color: var(--gold);
}
.hm-quote-title {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--white);
}

.hm-quote-text {
    flex: 1;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-quote-by {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--divider-dark);
}

.hm-avatar {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--gold);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.hm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-quote-who {
    min-width: 0;
}
.hm-quote-name {
    margin: 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--white);
}
.hm-quote-sub {
    display: block;
    font-size: 11.5px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65);
}
.hm-quote-sub a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.hm-quote .rating {
    margin: 0 0 0 auto;
    font-size: 11px;
}

@media (min-width: 768px) {
    .hm-testi-top {
        gap: 24px;
    }
    .hm-rating-num {
        font-size: 40px;
    }
    .hm-rating-meta {
        font-size: 12.5px;
    }
    .hm-quote {
        padding: 22px;
    }
    .hm-quote-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
    .hm-quote-title {
        font-size: 17px;
    }
    .hm-quote-text {
        font-size: 14.5px;
        -webkit-line-clamp: 6;
    }
    .hm-avatar {
        width: 42px;
        height: 42px;
    }
}

/* 12. FAQ ---------------------------------------------------------------- */
.hm-faq-grid {
    display: grid;
    gap: 14px;
}

.hm-faq-media {
    display: none;
    position: relative;
    overflow: hidden;
    min-height: 340px;
    border-radius: var(--hm-r);
    background: var(--cream);
}
.hm-faq-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-faq .accordion-item {
    margin-bottom: 8px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--divider);
    border-radius: 12px !important;
}

.hm-faq .accordion-button {
    padding: 12px 14px;
    background: var(--white);
    box-shadow: none;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--heading);
}

.hm-faq .accordion-button::after {
    width: 14px;
    height: 14px;
    background-size: 14px;
}
.hm-faq .accordion-button:not(.collapsed) {
    background: var(--cream);
    color: var(--primary);
}
.hm-faq .accordion-body {
    padding: 10px 14px 14px;
    font-size: 13px;
    line-height: 1.6;
}

.hm-faq-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.hm-faq-cta strong {
    color: var(--white);
    font-weight: 500;
}

@media (min-width: 768px) {
    .hm-faq .accordion-button {
        padding: 14px 18px;
        font-size: 15px;
    }
    .hm-faq .accordion-body {
        padding: 12px 18px 16px;
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .hm-faq-grid {
        grid-template-columns: 4fr 8fr;
        gap: 32px;
        align-items: stretch;
    }
    .hm-faq-media {
        display: block;
    }
}

/* 13. Journal (blog) ----------------------------------------------------- */
.hm-blogs {
    display: grid;
    gap: 12px;
}

.hm-blog {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.hm-blog-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: var(--hm-r-sm);
    background: var(--cream);
}
.hm-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.hm-blog-date {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: var(--hm-r-sm);
    background: var(--white);
    color: var(--primary);
    text-align: center;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.hm-blog-date strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
}
.hm-blog-date span {
    font-size: 11px;
    text-transform: uppercase;
}

.hm-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin-bottom: 4px;
    font-size: 11.5px;
    color: var(--text);
}
.hm-blog-meta i {
    margin-right: 4px;
    color: var(--primary);
}

.hm-blog-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hm-blog-title a:hover {
    color: var(--text);
}
.hm-blog .link-arrow {
    display: none;
    margin-top: 8px;
    font-size: 13px;
}

@media (hover: hover) {
    .hm-blog:hover .hm-blog-thumb img {
        transform: scale(1.06);
    }
}

@media (min-width: 768px) {
    .hm-blogs {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .hm-blog {
        display: block;
    }
    .hm-blog-thumb {
        aspect-ratio: 16 / 10;
        margin-bottom: 12px;
    }
    .hm-blog-date {
        display: block;
    }
    .hm-blog-meta {
        font-size: 12.5px;
        margin-bottom: 6px;
    }
    .hm-blog-title {
        font-size: 18px;
        -webkit-line-clamp: 2;
    }
    .hm-blog .link-arrow {
        display: inline-flex;
    }
}

/* 14. Story (SEO copy) --------------------------------------------------- */
.hm-story {
    padding: 14px 16px;
    border-radius: var(--hm-r);
    background: var(--cream);
    border: 1px solid var(--divider);
}
.hm-story-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hm-story-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
}
.hm-story-body {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--divider);
    font-size: 13.5px;
    line-height: 1.7;
}

@media (min-width: 768px) {
    .hm-story {
        padding: 20px 26px;
    }
    .hm-story-title {
        font-size: 22px;
    }
    .hm-story-body {
        font-size: 14.5px;
    }
}

/* Tablet refinements ------------------------------------------------------ */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hm-promo-title {
        font-size: 17px;
    }
}
