: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: 24px; 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 { max-width: 720px; margin-bottom: 34px; }
.hm-section__head--split { max-width: none; justify-content: space-between; 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: #062f45;
    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; }
}
