@charset "UTF-8";
/* =========================================================================
   Vitalis UI — home page (pastel slider, banners, product rails)
   ========================================================================= */

.hm-section {
    padding: clamp(1.4rem, 1rem + 1.8vw, 2.6rem) 0;
}

.hm-section--first {
    padding-top: clamp(.9rem, .6rem + 1vw, 1.5rem);
}

/* ------------------------------ headings ------------------------------- */
.hm-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: clamp(1.1rem, .9rem + 1vw, 1.8rem);
}

.hm-head::before {
    content: "";
    width: 46px;
    height: 5px;
    margin-bottom: .7rem;
    border-radius: var(--r-pill);
    background: linear-gradient(90deg, var(--c-leaf-400), var(--c-brand-400));
}

.hm-kicker {
    margin-bottom: .2rem;
    color: var(--c-brand-500);
    font-size: .8rem;
    font-weight: 700;
}

.hm-title {
    margin: 0;
    color: var(--c-ink);
    font-size: clamp(1.15rem, .95rem + .9vw, 1.6rem);
    font-weight: 800;
}

.hm-subtitle {
    margin: .35rem 0 0;
    max-width: 560px;
    color: var(--c-ink-3);
    font-size: .88rem;
}

.hm-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .9rem;
    padding: .55rem 1.4rem;
    border-radius: var(--r-pill);
    background: var(--c-brand-500);
    color: #fff;
    font-size: .86rem;
    font-weight: 700;
    transition: background var(--t-fast), transform var(--t-fast);
}

.hm-cta:hover {
    background: var(--c-brand-600);
    color: #fff;
    transform: translateY(-1px);
}

.hm-cta i {
    font-size: .8em;
}

.hm-cta--ghost {
    background: #fff;
    color: var(--c-brand-700);
    box-shadow: inset 0 0 0 1px var(--c-brand-200);
}

.hm-cta--ghost:hover {
    background: var(--c-brand-50);
    color: var(--c-brand-800);
}

/* ------------------------------ carousel ------------------------------- */
.carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: var(--r-pill);
    background: rgba(96, 67, 148, .25);
    cursor: pointer;
    transition: width var(--t-base), background var(--t-base);
}

.carousel-dot.is-active {
    width: 26px;
    background: var(--c-brand-500);
}

.hm-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--c-brand-700);
    font-size: 1.15rem;
    box-shadow: 0 6px 18px rgba(74, 52, 117, .12);
    transform: translateY(-50%);
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), opacity var(--t-fast);
}

.hm-nav:hover {
    background: var(--c-brand-500);
    color: #fff;
}

.hm-nav:disabled {
    opacity: 0;
    pointer-events: none;
}

.is-static .hm-nav {
    display: none;
}

/* hidden scrollbars on every snap track */
.hm-slider__track, .hm-rail__track, .hm-cats {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hm-slider__track::-webkit-scrollbar,
.hm-rail__track::-webkit-scrollbar,
.hm-cats::-webkit-scrollbar {
    display: none;
}

/* =============================== hero slider =========================== */
.hm-slider {
    position: relative;
}

.hm-slider__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    border-radius: 28px;
}

.hm-slide {
    position: relative;
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: grid;
    align-items: center;
    gap: 1rem;
    min-height: clamp(280px, 24vw + 120px, 420px);
    /* inline padding keeps the copy clear of the 44px arrow buttons */
    padding: clamp(1.4rem, 1rem + 2vw, 3rem) clamp(4.6rem, 3rem + 3vw, 6rem);
    overflow: hidden;
    background: linear-gradient(120deg, #f3ecfb 0%, #e8ddf8 55%, #f5e8f5 100%);
}

.hm-slide::before, .hm-slide::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hm-slide::before {
    width: 340px;
    height: 340px;
    top: -170px;
    right: -90px;
    background: rgba(255, 255, 255, .45);
}

.hm-slide::after {
    width: 180px;
    height: 180px;
    bottom: -90px;
    right: 38%;
    border: 2px solid rgba(255, 255, 255, .7);
}

.hm-slide--rose {
    background: linear-gradient(120deg, #fbeef6 0%, #f1e0f3 55%, #ebe3fb 100%);
}

.hm-slide--peri {
    background: linear-gradient(120deg, #eef0fd 0%, #e5e0fa 55%, #f4e9f8 100%);
}

/* layout: square image on visual left (default) */
.hm-slide--square-left {
    direction: ltr;
    grid-template-columns: minmax(200px, 42%) 1fr;
    grid-template-areas: "art copy";
}

.hm-slide--square-left .hm-slide__copy {
    grid-area: copy;
    direction: rtl;
    justify-self: start;
    text-align: right;
}

.hm-slide--square-left .hm-slide__art {
    grid-area: art;
}

/* layout: square image on visual right */
.hm-slide--square-right {
    direction: ltr;
    grid-template-columns: 1fr minmax(200px, 42%);
    grid-template-areas: "copy art";
}

.hm-slide--square-right .hm-slide__copy {
    grid-area: copy;
    direction: rtl;
    justify-self: end;
    text-align: right;
}

.hm-slide--square-right .hm-slide__art {
    grid-area: art;
}

/* layout: full-bleed banner */
.hm-slide--full {
    grid-template-columns: 1fr;
    grid-template-areas: "copy";
    min-height: clamp(260px, 28vw, 440px);
    padding: clamp(1.6rem, 1.2rem + 2vw, 3.2rem) clamp(4.6rem, 3rem + 3vw, 6rem);
}

.hm-slide--full .hm-slide__copy {
    grid-area: copy;
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(6px);
}

.hm-slide--full .hm-slide__art {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    justify-self: stretch;
}

.hm-slide--full::before,
.hm-slide--full::after {
    display: none;
}

.hm-slide--media-only {
    grid-template-columns: 1fr;
    grid-template-areas: "art";
    padding: 0;
    min-height: clamp(220px, 24vw, 400px);
}

.hm-slide--media-only .hm-slide__art {
    grid-area: art;
    max-width: none;
    width: 100%;
    height: 100%;
    min-height: inherit;
    aspect-ratio: auto;
    border-radius: 0;
    object-fit: cover;
}

.hm-slide--full.hm-slide--media-only .hm-slide__art {
    position: relative;
}

.hm-slide__copy {
    position: relative;
    z-index: 1;
    max-width: 480px;
}

.hm-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .8rem;
    padding: .3rem .85rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .75);
    color: var(--c-brand-700);
    font-size: .78rem;
    font-weight: 700;
}

.hm-slide__title {
    margin: 0 0 .7rem;
    color: var(--c-ink);
    font-size: clamp(1.35rem, 1rem + 1.8vw, 2.4rem);
    font-weight: 800;
    line-height: 1.45;
}

.hm-slide__title em {
    font-style: normal;
    color: var(--c-brand-600);
}

.hm-slide__text {
    margin: 0 0 1.3rem;
    color: var(--c-ink-3);
    font-size: clamp(.86rem, .8rem + .3vw, 1rem);
    line-height: 1.9;
}

.hm-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.hm-slide__actions .hm-cta {
    margin-top: 0;
    padding: .7rem 1.6rem;
    font-size: .92rem;
}

.hm-slide__art {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 22px;
    transition: transform .9s cubic-bezier(.22, 1, .36, 1), opacity .9s;
}

.hm-slide:not(.is-current) .hm-slide__art {
    opacity: .4;
    transform: translateY(14px) scale(.96);
}

.hm-slide--full:not(.is-current) .hm-slide__art {
    opacity: .55;
    transform: none;
}

.hm-slider__dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    z-index: 3;
    display: flex;
    gap: .4rem;
    padding: .35rem .55rem;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .7);
    transform: translateX(-50%);
}

.hm-slider .hm-nav--prev {
    right: 1rem;
}

.hm-slider .hm-nav--next {
    left: 1rem;
}

@media (max-width: 767.98px) {
    .hm-slide--square-left,
    .hm-slide--square-right {
        grid-template-columns: 1fr;
        grid-template-areas: "art" "copy";
        text-align: center;
        align-content: start;
        gap: .2rem;
        padding: 1.2rem 1.2rem 2.8rem;
    }

    .hm-slide--square-left .hm-slide__copy,
    .hm-slide--square-right .hm-slide__copy {
        justify-self: stretch;
        text-align: center;
        max-width: none;
    }

    .hm-slide--square-left .hm-slide__art,
    .hm-slide--square-right .hm-slide__art {
        max-width: 230px;
    }

    .hm-slide--full {
        padding: 1.4rem 1.2rem 2.8rem;
        min-height: 280px;
        align-items: end;
    }

    .hm-slide--full .hm-slide__copy {
        max-width: none;
        text-align: center;
    }

    .hm-slide__actions {
        justify-content: center;
    }

    .hm-slider .hm-nav {
        display: none;
    }
}

/* ============================== promo banners ========================== */
.hm-promos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(.8rem, .6rem + 1vw, 1.4rem);
}

.hm-promo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    min-height: 180px;
    padding: 1.2rem clamp(1.2rem, 1rem + 1.4vw, 2.2rem);
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #f7ecf7, #eedff3);
    color: var(--c-ink-2);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.hm-promo:hover {
    color: var(--c-ink-2);
    transform: translateY(-3px);
    box-shadow: var(--sh-md);
}

.hm-promo--peri {
    background: linear-gradient(135deg, #eeeefc, #e4def8);
}

.hm-promo--rose {
    background: linear-gradient(135deg, #fbeef6, #f1e0f3);
}

.hm-promo::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    top: -110px;
    left: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
}

.hm-promo__copy {
    position: relative;
    z-index: 1;
}

.hm-promo__kicker {
    color: var(--c-brand-500);
    font-size: .78rem;
    font-weight: 700;
}

.hm-promo__title {
    margin: .2rem 0 .35rem;
    color: var(--c-ink);
    font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem);
    font-weight: 800;
}

.hm-promo__text {
    margin: 0 0 .8rem;
    color: var(--c-ink-3);
    font-size: .84rem;
}

.hm-promo__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: var(--c-brand-700);
    font-size: .84rem;
    font-weight: 700;
}

.hm-promo__link i {
    transition: transform var(--t-fast);
}

.hm-promo:hover .hm-promo__link i {
    transform: translateX(-4px);
}

.hm-promo__art {
    position: relative;
    z-index: 1;
    flex: none;
    width: clamp(130px, 38%, 220px);
    height: auto;
}

/* ============================ category circles ========================= */
.hm-cats {
    display: flex;
    justify-content: center;
    gap: clamp(.9rem, .5rem + 1.6vw, 2.2rem);
    margin: 0;
    padding: .4rem .2rem .6rem;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x proximity;
}

@media (max-width: 991.98px) {
    .hm-cats {
        justify-content: flex-start;
    }
}

.hm-cat {
    flex: none;
    scroll-snap-align: start;
}

.hm-cat__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    width: 104px;
    color: var(--c-ink-2);
    font-size: .86rem;
    font-weight: 700;
    text-align: center;
}

.hm-cat__icon {
    position: relative;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--cat-bg, var(--c-blush));
    color: var(--cat-fg, var(--c-brand-600));
    font-size: 1.9rem;
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.hm-cat__icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px dashed var(--cat-ring, var(--c-brand-200));
    transition: transform .8s cubic-bezier(.22, 1, .36, 1);
}

.hm-cat__link:hover {
    color: var(--c-brand-700);
}

.hm-cat__link:hover .hm-cat__icon {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(74, 52, 117, .12);
}

.hm-cat__link:hover .hm-cat__icon::after {
    transform: rotate(90deg);
}

.hm-cat:nth-child(4n+2) .hm-cat__icon {
    --cat-bg: var(--c-blush-2);
    --cat-fg: #a86aa3;
    --cat-ring: var(--c-leaf-300);
}

.hm-cat:nth-child(4n+3) .hm-cat__icon {
    --cat-bg: var(--c-blush-3);
    --cat-fg: var(--c-brand-700);
    --cat-ring: #d6d0f4;
}

.hm-cat:nth-child(4n) .hm-cat__icon {
    --cat-bg: #f5eefb;
    --cat-fg: var(--c-brand-500);
}

.hm-cat--hot .hm-cat__icon {
    --cat-bg: linear-gradient(135deg, var(--c-brand-400), var(--c-leaf-500));
    --cat-fg: #fff;
    --cat-ring: var(--c-leaf-400);
}

.hm-cat.hm-cat--deal .hm-cat__icon {
    --cat-bg: linear-gradient(135deg, var(--c-rose-500), var(--c-amber-400));
    --cat-fg: #fff;
    --cat-ring: var(--c-rose-500);
}

@media (max-width: 575.98px) {
    .hm-cat__link {
        width: 84px;
        font-size: .78rem;
    }

    .hm-cat__icon {
        width: 72px;
        height: 72px;
        font-size: 1.5rem;
    }
}

/* =============================== product rails ========================= */
.hm-rail {
    position: relative;
    padding: clamp(1.4rem, 1rem + 2vw, 2.6rem) clamp(.9rem, .5rem + 2vw, 2.4rem);
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(160deg, #f4eefc 0%, #eee4f9 100%);
}

.hm-rail--rose {
    background: linear-gradient(160deg, #fbf0f8 0%, #f3e3f2 100%);
}

.hm-rail--peri {
    background: linear-gradient(160deg, #f1f1fd 0%, #e7e3fa 100%);
}

.hm-rail--deal {
    background: linear-gradient(160deg, #fff3ec 0%, #fde3e6 100%);
}

.hm-petal {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 0 70% 0 70%;
    background: rgba(255, 255, 255, .5);
    pointer-events: none;
}

.hm-petal--a {
    top: -40px;
    right: -30px;
    transform: rotate(18deg);
}

.hm-petal--b {
    top: 30px;
    right: 70px;
    width: 54px;
    height: 54px;
    background: rgba(255, 255, 255, .35);
    transform: rotate(-24deg);
}

.hm-petal--c {
    bottom: -50px;
    left: -36px;
    width: 170px;
    height: 170px;
    transform: rotate(-12deg);
}

.hm-rail .hm-head {
    position: relative;
    z-index: 1;
}

.hm-rail__viewport {
    position: relative;
    z-index: 1;
}

.hm-rail__track {
    --per-view: 5;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * 1rem) / var(--per-view));
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: .4rem 0 .8rem;
}

.hm-rail__item {
    scroll-snap-align: start;
    min-width: 0;
}

@media (max-width: 1199.98px) {
    .hm-rail__track {
        --per-view: 4;
    }
}

@media (max-width: 991.98px) {
    .hm-rail__track {
        --per-view: 3;
    }
}

@media (max-width: 767.98px) {
    .hm-rail__track {
        --per-view: 2.25;
        gap: .75rem;
        grid-auto-columns: calc((100% - 1.25 * .75rem) / var(--per-view));
    }
}

@media (max-width: 419.98px) {
    .hm-rail__track {
        --per-view: 1.7;
        grid-auto-columns: calc((100% - .7 * .75rem) / var(--per-view));
    }
}

.hm-rail .hm-nav {
    top: 42%;
    width: 40px;
    height: 40px;
}

.hm-rail .hm-nav--prev {
    right: -.6rem;
}

.hm-rail .hm-nav--next {
    left: -.6rem;
}

@media (max-width: 767.98px) {
    .hm-rail .hm-nav {
        display: none;
    }
}

/* ------------------------------- product card -------------------------- */
.mcard {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: .7rem .7rem 1rem;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(74, 52, 117, .06);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.mcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(74, 52, 117, .12);
}

.mcard__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(160deg, #f8f4fd 0%, #efe6f8 100%);
}

.mcard__rings {
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .95);
    box-shadow: 0 0 0 14px rgba(255, 255, 255, .35), 0 0 0 30px rgba(255, 255, 255, .18);
    pointer-events: none;
}

.mcard__img {
    position: relative;
    width: 80%;
    height: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.mcard:hover .mcard__img {
    transform: scale(1.06);
}

.mcard__ph {
    position: relative;
    color: var(--c-brand-300);
    font-size: 2.6rem;
}

.mcard__wish,
.mcard__wish-btn {
    position: absolute;
    top: .85rem;
    left: .85rem;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--c-ink-3);
    box-shadow: 0 2px 10px rgba(17, 17, 17, .08);
    cursor: pointer;
    text-decoration: none;
    transition: color var(--t-fast), transform var(--t-fast), background var(--t-fast);
}

.mcard__wish-btn:hover,
.mcard__wish-btn.is-on {
    color: var(--c-rose-500);
}

.mcard__wish-btn.is-on {
    background: #fff;
}

.mcard__badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    z-index: 2;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--c-brand-600);
    font-size: .66rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 4px 12px rgba(74, 52, 117, .12);
}

.mcard__badge--low {
    color: var(--c-rose-500);
}

.mcard__badge--out {
    color: var(--c-ink-4);
}

.mcard__badge--off {
    background: var(--c-rose-500);
    color: #fff;
    font-size: .62rem;
}

.mcard__badge--off .num {
    display: block;
    font-size: .8rem;
}

.mcard__expire {
    margin: -.2rem 0 .35rem;
    color: var(--c-rose-500);
    font-size: .74rem;
    font-weight: 700;
}

.mcard__old {
    color: var(--c-ink-4);
    font-size: .8rem;
    font-weight: 600;
}

.mcard__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    text-align: center;
    padding: .8rem .2rem 0;
}

.mcard__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.9em;
    margin: 0 0 .45rem;
    overflow: hidden;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.45;
}

.mcard__title a {
    color: var(--c-ink);
}

.mcard__title a:hover {
    color: var(--c-brand-600);
}

.mcard__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: .1rem .4rem;
    max-width: 100%;
    margin-bottom: .8rem;
}

.mcard__old, .mcard__now, .mcard__from {
    white-space: nowrap;
}

.mcard__now {
    display: inline-flex;
    align-items: baseline;
    gap: .25rem;
}

.mcard__num {
    color: var(--c-ink);
    font-size: 1.02rem;
    font-weight: 800;
}

.mcard__cur, .mcard__from {
    color: var(--c-ink-4);
    font-size: .72rem;
    font-weight: 600;
}

.mcard__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    margin-top: auto;
    padding: .5rem .6rem;
    border: 1px solid var(--c-brand-100);
    border-radius: var(--r-pill);
    background: var(--c-brand-50);
    color: var(--c-brand-700);
    font-size: .8rem;
    font-weight: 700;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.mcard:hover .mcard__btn, .mcard__btn:hover {
    border-color: var(--c-brand-500);
    background: var(--c-brand-500);
    color: #fff;
}

.mcard.is-out .mcard__img {
    opacity: .55;
    filter: grayscale(.4);
}

.mcard.is-out:hover .mcard__btn {
    border-color: var(--c-brand-200);
    background: var(--c-brand-100);
    color: var(--c-brand-700);
}

/* ============================= consultation card ======================= */
.hm-consult {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: clamp(1rem, .6rem + 2vw, 2.4rem);
    padding: clamp(1.4rem, 1rem + 2vw, 2.8rem) clamp(1.2rem, .8rem + 3vw, 4rem);
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(120deg, #f8eef7 0%, #f0e6fa 60%, #ebe8fa 100%);
}

.hm-consult::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    bottom: -130px;
    right: -60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .4);
}

.hm-consult__copy {
    position: relative;
    z-index: 1;
}

.hm-consult__title {
    margin: .2rem 0 .6rem;
    color: var(--c-ink);
    font-size: clamp(1.15rem, .95rem + .9vw, 1.6rem);
    font-weight: 800;
}

.hm-consult__text {
    margin: 0 0 1rem;
    color: var(--c-ink-3);
    font-size: .9rem;
}

.hm-consult__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem 1rem;
    margin: 0 0 1.3rem;
    padding: 0;
    list-style: none;
}

@media (max-width: 991.98px) {
    .hm-consult__list {
        grid-template-columns: 1fr;
    }
}

.hm-consult__list li {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: var(--c-ink-2);
    font-size: .86rem;
    font-weight: 600;
}

.hm-consult__list i {
    flex: none;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--c-brand-500);
    font-size: .72rem;
}

.hm-consult__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.hm-consult__actions .hm-cta {
    margin-top: 0;
    padding: .65rem 1.5rem;
    border: 0;
    cursor: pointer;
}

.hm-consult__art {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: 100%;
    max-width: 340px;
    height: auto;
}

@media (max-width: 767.98px) {
    .hm-consult {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hm-consult__art {
        order: -1;
        max-width: 220px;
    }

    .hm-consult__list {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .hm-consult__actions {
        justify-content: center;
    }
}

/* ================================ features ============================= */
.hm-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(.7rem, .5rem + 1vw, 1.2rem);
}

@media (max-width: 991.98px) {
    .hm-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

.hm-feature {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--c-line);
    border-radius: 20px;
    background: #fff;
}

.hm-feature__icon {
    flex: none;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--c-blush);
    color: var(--c-brand-600);
    font-size: 1.15rem;
}

.hm-feature:nth-child(even) .hm-feature__icon {
    background: var(--c-blush-2);
    color: #a86aa3;
}

.hm-feature__title {
    color: var(--c-ink);
    font-size: .9rem;
    font-weight: 700;
}

.hm-feature__text {
    color: var(--c-ink-4);
    font-size: .76rem;
}

@media (max-width: 575.98px) {
    .hm-feature {
        flex-direction: column;
        text-align: center;
        padding: .9rem .6rem;
    }
}

/* ================================ magazine ============================= */
.hm-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.8rem, .6rem + 1vw, 1.4rem);
}

@media (max-width: 991.98px) {
    .hm-posts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .hm-posts {
        grid-template-columns: 1fr;
    }
}

.hm-post {
    display: flex;
    flex-direction: column;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(74, 52, 117, .06);
    transition: transform var(--t-base), box-shadow var(--t-base);
}

.hm-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(74, 52, 117, .12);
}

.hm-post__media {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--c-blush), var(--c-blush-2));
    color: var(--c-brand-300);
    font-size: 2.2rem;
}

.hm-post__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.hm-post:hover .hm-post__media img {
    transform: scale(1.05);
}

.hm-post__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem 1.15rem 1.15rem;
}

.hm-post__date {
    color: var(--c-ink-4);
    font-size: .74rem;
}

.hm-post__title {
    margin: .3rem 0 .45rem;
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.6;
}

.hm-post__title a {
    color: var(--c-ink);
}

.hm-post__title a:hover {
    color: var(--c-brand-600);
}

.hm-post__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0 0 .8rem;
    overflow: hidden;
    color: var(--c-ink-3);
    font-size: .84rem;
}

.hm-post__more {
    margin-top: auto;
    color: var(--c-brand-600);
    font-size: .84rem;
    font-weight: 700;
}

/* ================================ about text =========================== */
.hm-about {
    padding: clamp(1.2rem, 1rem + 1.4vw, 2.2rem);
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--c-line);
    color: var(--c-ink-3);
    font-size: .88rem;
    line-height: 2;
}

.hm-about h2 {
    font-size: 1.05rem;
}

.hm-about p:last-child {
    margin-bottom: 0;
}

/* ============================== contact card =========================== */
.hm-contact .contact-card {
    border-radius: 32px;
    box-shadow: 0 10px 30px rgba(74, 52, 117, .08);
}

.hm-contact .contact-card__aside {
    position: relative;
    overflow: hidden;
    border-left: 0;
    background: linear-gradient(160deg, #f4eefc, #f6e9f6);
}

.hm-contact .contact-card__aside::after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -60px;
    border-radius: 0 70% 0 70%;
    background: rgba(255, 255, 255, .5);
}

.hm-contact .form-control {
    border-radius: 14px;
}

.hm-contact #contactSubmit {
    border-radius: var(--r-pill);
}
