:root {
    --hm-green: #8dc63f;
    --hm-green-dark: #5f9f25;
    --hm-navy: #063d5b;
    --hm-blue: #0e7490;
    --hm-coral: #f9735b;
    --hm-amber: #f5b84b;
    --hm-ink: #0f172a;
    --hm-muted: #64748b;
    --hm-line: #dbe5ee;
    --hm-soft: #f6fafb;
    --hm-card: #ffffff;
    --hm-shadow: 0 14px 35px rgba(15, 23, 42, .12);
    --hm-radius: 8px;
}

.home-page { background: #fff; }
.home-page .v-nav { position: fixed; left: 0; right: 0; top: 0; background: rgba(255,255,255,.9); }

.hm-hero {
    min-height: 92vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--hm-navy);
    color: #fff;
}

.hm-hero__slider,
.hm-hero__slide,
.hm-hero__overlay {
    position: absolute;
    inset: 0;
}

.hm-hero__slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .8s ease, transform 6s ease;
}

.hm-hero__slide.is-active { opacity: 1; transform: scale(1); }

.hm-hero__overlay {
    background:
        linear-gradient(90deg, rgba(3, 37, 56, .94) 0%, rgba(6, 61, 91, .72) 45%, rgba(6, 61, 91, .18) 100%),
        linear-gradient(0deg, rgba(3, 37, 56, .48), rgba(3, 37, 56, .1));
}

html[dir="rtl"] .hm-hero__overlay {
    background:
        linear-gradient(270deg, rgba(3, 37, 56, .94) 0%, rgba(6, 61, 91, .72) 45%, rgba(6, 61, 91, .18) 100%),
        linear-gradient(0deg, rgba(3, 37, 56, .48), rgba(3, 37, 56, .1));
}

.hm-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, .72fr);
    gap: 44px;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 64px;
}

.hm-hero__content h1 {
    max-width: 760px;
    margin: 0 0 20px;
    font-size: 56px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}

.hm-hero__content p {
    max-width: 650px;
    color: rgba(255,255,255,.88);
    font-size: 19px;
    line-height: 1.9;
    margin: 0 0 30px;
}

.hm-kicker,
.hm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 800;
    color: var(--hm-green);
}

.hm-kicker {
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    padding: 9px 14px;
    border-radius: var(--hm-radius);
    margin-bottom: 22px;
}

.hm-kicker i { color: var(--hm-green); }

.hm-hero__actions,
.hm-section__head--split,
.hm-service-card__footer,
.hm-product-card__footer,
.hm-booking__head,
.hm-clinic-card {
    display: flex;
    align-items: center;
}

.hm-hero__actions { gap: 12px; flex-wrap: wrap; }

.hm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: var(--hm-radius);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.hm-btn:hover { transform: translateY(-2px); }
.hm-btn--primary { background: var(--hm-green); color: #052f20; box-shadow: 0 12px 28px rgba(141,198,63,.28); }
.hm-btn--secondary { background: #fff; color: var(--hm-navy); border-color: var(--hm-line); }
.hm-btn--ghost { color: #fff; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.1); }
.hm-btn--full { width: 100%; }

.hm-hero__dots { display: flex; gap: 8px; margin-top: 34px; }
.hm-hero__dots button {
    width: 34px;
    height: 4px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.35);
    cursor: pointer;
}
.hm-hero__dots button.is-active { background: var(--hm-green); }

.hm-booking,
.hm-card,
.hm-service-card,
.hm-chat {
    background: rgba(255,255,255,.94);
    color: var(--hm-ink);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: var(--hm-radius);
    box-shadow: var(--hm-shadow);
}

.hm-booking { 
padding-top: 49px;
padding-left:6px;
padding-right:6px;
    padding-bottom: 30px;	
 backdrop-filter: blur(16px); }
.hm-booking__head { gap: 14px; margin-bottom: 20px; }
.hm-booking__head > span,
.hm-icon,
.hm-product-card__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--hm-radius);
    background: #eaf6d9;
    color: var(--hm-green-dark);
    flex: 0 0 auto;
}
.hm-booking__head strong { display: block; font-size: 20px; color: var(--hm-navy); }
.hm-booking__head small { display: block; color: var(--hm-muted); line-height: 1.5; margin-top: 2px; }

.hm-form { display: grid; gap: 14px; }
.hm-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-form label { display: grid; gap: 7px; font-weight: 800; color: var(--hm-ink); }
.hm-form label span { font-size: 13px; }
.hm-form input,
.hm-form select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    padding: 10px 12px;
    font: inherit;
    color: var(--hm-ink);
    background: #f8fbfd;
}
.hm-form input:focus,
.hm-form select:focus { outline: 3px solid rgba(141,198,63,.22); border-color: var(--hm-green); background: #fff; }

.hm-stats { background: #fff; position: relative; z-index: 3; }
.hm-stats__grid {
    margin-top: -38px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--hm-line);
    border: 1px solid var(--hm-line);
    border-radius: var(--hm-radius);
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15,23,42,.1);
}
.hm-stats__grid div { background: #fff; padding: 26px; text-align: center; }
.hm-stats__grid strong { display: block; color: var(--hm-navy); font-size: 30px; font-weight: 900; }
.hm-stats__grid span { color: var(--hm-muted); font-weight: 700; }

.hm-section { padding: 92px 0; }
.hm-section--features,
.hm-section--clinics { background: #fff; }
.hm-section--services,
.hm-section--products { background: var(--hm-soft); }
.hm-section__head { margin-bottom: 34px; }
.hm-section__head--split { max-width: none; justify-content: center; gap: 24px; }
.hm-section__head h2,
.hm-ai h2,
.hm-cta h2 {
    margin: 10px 0 10px;
    color: var(--hm-navy);
    font-size: 38px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0;
}
.hm-section__head p,
.hm-ai p,
.hm-cta p { color: var(--hm-muted); font-size: 17px; line-height: 1.8; margin: 0; }

.hm-feature-grid,
.hm-clinic-grid,
.hm-product-grid {
    display: grid;
    gap: 18px;
}
.hm-feature-grid { grid-template-columns: repeat(4, 1fr); }
.hm-clinic-grid { grid-template-columns: repeat(3, 1fr); }
.hm-product-grid { grid-template-columns: repeat(3, 1fr); }
.hm-card { padding: 22px; box-shadow: 0 8px 24px rgba(15,23,42,.07); border-color: var(--hm-line); }
.hm-card h3 { color: var(--hm-navy); margin: 14px 0 8px; font-size: 19px; font-weight: 900; }
.hm-card p { color: var(--hm-muted); margin: 0; line-height: 1.7; }

.hm-service-rail {
    display: grid;
    grid-template-columns: repeat(6, minmax(280px, 1fr));
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
}
.hm-service-card { min-width: 280px; overflow: hidden; scroll-snap-align: start; }
.hm-service-card img { width: 100%; height: 190px; object-fit: cover; }
.hm-service-card > div { padding: 18px; }
.hm-service-card span { color: var(--hm-green-dark); }
.hm-service-card h3 { margin: 8px 0; color: var(--hm-navy); font-size: 20px; font-weight: 900; }
.hm-service-card p { min-height: 54px; margin: 0 0 16px; color: var(--hm-muted); line-height: 1.7; }
.hm-service-card__footer { justify-content: space-between; border-top: 1px solid var(--hm-line); padding-top: 14px; }
.hm-service-card__footer strong { color: var(--hm-coral); }
.hm-service-card__footer a { color: var(--hm-navy); font-weight: 900; }

.hm-clinic-card { gap: 14px; text-decoration: none; position: relative; }
.hm-clinic-card img { width: 62px; height: 62px; object-fit: cover; border-radius: var(--hm-radius); border: 1px solid var(--hm-line); }
.hm-clinic-card h3 { margin-top: 0; }
.hm-clinic-card span { display: inline-flex; gap: 6px; align-items: center; color: var(--hm-muted); font-size: 13px; font-weight: 800; margin-top: 10px; }
.hm-clinic-card > strong { margin-inline-start: auto; color: var(--hm-amber); white-space: nowrap; }

.hm-product-card { position: relative; min-height: 260px; text-decoration: none; }
.hm-product-card__badge {
    position: absolute;
    top: 14px;
    inset-inline-end: 14px;
    background: var(--hm-coral);
    color: #fff;
    padding: 6px 10px;
    border-radius: var(--hm-radius);
    font-size: 12px;
    font-weight: 900;
}
.hm-product-card__badge--navy { background: var(--hm-navy); }
.hm-product-card small { display: block; color: var(--hm-green-dark); font-weight: 900; margin-top: 16px; }
.hm-product-card__footer { justify-content: space-between; margin-top: 22px; border-top: 1px solid var(--hm-line); padding-top: 16px; }
.hm-product-card__footer strong { color: var(--hm-navy); }
.hm-product-card__footer span { color: var(--hm-green-dark); }

.hm-ai {
    padding: 94px 0;
    background: #384244;
    color: #fff;
}
.hm-ai__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr); gap: 48px; align-items: center; }
.hm-ai h2 { color: #fff; }
.hm-ai p { color: rgba(255,255,255,.72); }
.hm-ai__checks { display: grid; gap: 12px; margin: 26px 0; }
.hm-ai__checks span { display: flex; gap: 10px; align-items: center; font-weight: 800; }
.hm-ai__checks i { color: var(--hm-green); }
.hm-chat { padding: 24px; color: var(--hm-ink); display: grid; gap: 14px; }
.hm-chat p { width: fit-content; max-width: 88%; padding: 12px 14px; border-radius: var(--hm-radius); margin: 0; color: var(--hm-ink); }
.hm-chat__bot { background: #eef6f9; }
.hm-chat__bot i { color: var(--hm-blue); margin-inline-end: 8px; }
.hm-chat__user { background: var(--hm-green); justify-self: end; font-weight: 800; }

.hm-cta { padding: 80px 0; text-align: center; background: #fff; }
.hm-cta p { max-width: 680px; margin: 0 auto 26px; }

@media (max-width: 1024px) {
    .hm-hero__inner,
    .hm-ai__grid { grid-template-columns: 1fr; }
    .hm-hero__content h1 { font-size: 44px; }
    .hm-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .hm-clinic-grid,
    .hm-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hm-hero { min-height: auto; }
    .hm-hero__inner { padding-top: 96px; gap: 28px; }
    .hm-hero__content h1 { font-size: 34px; }
    .hm-hero__content p { font-size: 16px; }
    .hm-form__row,
    .hm-stats__grid,
    .hm-feature-grid,
    .hm-clinic-grid,
    .hm-product-grid { grid-template-columns: 1fr; }
    .hm-section { padding: 64px 0; }
    .hm-section__head--split { align-items: flex-start; flex-direction: column; }
    .hm-section__head h2,
    .hm-ai h2,
    .hm-cta h2 { font-size: 29px; }
    .hm-service-rail { grid-template-columns: repeat(6, 82vw); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================
   Homepage products — modern responsive cards
   ========================================================== */
.hm-section--products {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}
.hm-section--products::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    inset-inline-end: -150px;
    top: 30px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 164, 47, .10), transparent 68%);
    pointer-events: none;
}
.hm-section--products .vg-container { position: relative; z-index: 1; }
.hm-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.hm-product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3edf0;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(8, 47, 69, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.hm-product-card:hover {
    transform: translateY(-7px);
    border-color: rgba(91, 164, 47, .38);
    box-shadow: 0 20px 42px rgba(8, 47, 69, .14);
}
.hm-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f2f7f8;
    text-decoration: none;
}
.hm-product-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(6, 47, 69, .30) 100%);
    opacity: 0;
    transition: opacity .25s ease;
}
.hm-product-card:hover .hm-product-card__media::after { opacity: 1; }
.hm-product-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}
.hm-product-card:hover .hm-product-card__media img { transform: scale(1.055); }
.hm-product-card__badges {
    position: absolute;
    z-index: 3;
    top: 14px;
    inset-inline-start: 14px;
    inset-inline-end: 14px;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}
.hm-product-card__badge {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(0,0,0,.12);
}
.hm-product-card__badge--discount { background: #ef5b4b; }
.hm-product-card__badge--navy { background: #07364e; }
.hm-product-card__quick-view {
    position: absolute;
    z-index: 4;
    inset-inline-start: 50%;
    bottom: 14px;
    transform: translate(-50%, 14px);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.96);
    color: #07364e;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}
[dir="rtl"] .hm-product-card__quick-view { transform: translate(50%, 14px); }
.hm-product-card:hover .hm-product-card__quick-view { opacity: 1; transform: translate(-50%, 0); }
[dir="rtl"] .hm-product-card:hover .hm-product-card__quick-view { transform: translate(50%, 0); }
.hm-product-card__body { padding: 18px; }
.hm-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.hm-product-card__category {
    color: #4f8f2a;
    font-size: 12px;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hm-product-card__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #526775;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.hm-product-card__rating i { color: #f5ad24; }
.hm-product-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 50px;
    overflow: hidden;
    color: #07364e;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease;
}
.hm-product-card__title:hover { color: #4f8f2a; }
.hm-product-card__description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 46px;
    overflow: hidden;
    margin: 8px 0 12px;
    color: #718391;
    font-size: 13px;
    line-height: 1.75;
}
.hm-product-card__stock { min-height: 24px; margin-bottom: 12px; }
.hm-product-card__stock span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
}
.hm-product-card__stock .is-available { color: #418326; }
.hm-product-card__stock .is-unavailable { color: #c7463b; }
.hm-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid #e7eef1;
}
.hm-product-card__price { display: grid; gap: 2px; min-width: 0; }
.hm-product-card__price strong {
    color: #07364e;
    font-size: 19px;
    font-weight: 950;
    line-height: 1.2;
    white-space: nowrap;
}
.hm-product-card__price strong small { font-size: 11px; font-weight: 800; color: #607483; }
.hm-product-card__price del { color: #98a5ad; font-size: 11px; white-space: nowrap; }
.hm-product-card__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: #5ba42f;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
    white-space: nowrap;
}
.hm-product-card__action:hover { background: #4a8e25; color: #fff; transform: translateY(-1px); }

@media (max-width: 1199px) {
    .hm-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    .hm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .hm-section--products .hm-section__head--split { align-items: flex-start; }
    .hm-product-grid { grid-template-columns: 1fr; gap: 16px; }
    .hm-product-card { border-radius: 18px; }
    .hm-product-card__media { aspect-ratio: 16 / 10; }
    .hm-product-card__body { padding: 16px; }
    .hm-product-card__title { min-height: auto; font-size: 17px; }
    .hm-product-card__description { min-height: auto; }
    .hm-product-card__quick-view { display: none; }
    .hm-product-card__action span { display: none; }
    .hm-product-card__action { width: 42px; padding: 0; border-radius: 50%; }
}
