/*
 * Jemixo public home page + public footer (mobile-first).
 * Scoped: .jh-* (home page sections), body.jh-home (header tweaks), .jf-* (footer, all app1 pages).
 * Loaded after jemixo-theme.css; colours come from the --jx-* tokens defined there (fallbacks inline).
 * Breakpoints: base = 320-575px, 576, 768, 992, 1200.
 */
:root {
    --jh-mint: var(--jx-mint, #75b998);
    --jh-deep: var(--jx-deep, #2f7453);
    --jh-ink: var(--jx-ink, #10281c);
    --jh-t50: var(--jx-tint-50, #f1f8f5);
    --jh-t100: var(--jx-tint-100, #e3f1ea);
    --jh-t200: var(--jx-tint-200, #cfe6db);
    --jh-text: #35493f;
    --jh-deep-txt: #25634a;            /* body copy on mist/white: >= 8:1 */
    --jh-amber: #f59e0b;
    --jh-dark: #14392a;            /* footer / dark panels */
    --jh-dark-2: #1f5a40;
    --jh-radius: 18px;
    --jh-cw: 100vw;                /* bootstrap container width at the current breakpoint */
    --jh-shadow: 0 8px 28px rgba(16, 40, 28, .08);
}

@media (min-width: 576px) { :root { --jh-cw: 540px; } }
@media (min-width: 768px) { :root { --jh-cw: 720px; } }
@media (min-width: 992px) { :root { --jh-cw: 960px; } }
@media (min-width: 1200px) { :root { --jh-cw: 1140px; } }
@media (min-width: 1400px) { :root { --jh-cw: 1320px; } }

/* ---------- utilities ---------- */
.jh-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.jh-skip { position: fixed; top: 8px; left: 8px; z-index: 3000; transform: translateY(-200%); background: var(--jh-ink); color: #fff !important; padding: 12px 18px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.jh-skip:focus { transform: none; }
.jh-home main { overflow-x: clip; color: var(--jh-text); }
.jh-home main:focus { outline: none; }
.jh-home :focus-visible,
.jf-footer :focus-visible { outline: 3px solid #1d6b49; outline-offset: 2px; border-radius: 6px; }
.jf-footer :focus-visible,
.jh-final :focus-visible,
.jh-nfc :focus-visible { outline-color: #bfe8d2; }
.jh-center { text-align: center; }
.jh-narrow { max-width: 760px; }

/* ---------- header (shared partial, CSS-only changes) ---------- */
.jh-home .header {
    position: sticky; top: 0; padding: 8px 0; z-index: 1030;
    background: rgba(242, 244, 242, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--jh-t200);
}
.jh-home .header .navbar-brand { height: auto; min-height: 44px; }
.jh-home .header .navbar-nav .nav-item.px-3 { padding-inline: 10px !important; }
.jh-home .header .navbar-brand img { max-height: 36px !important; }
.jh-home .header .row { flex-wrap: nowrap; }
.jh-home .header .row > div { width: auto; max-width: none; flex: 0 0 auto; }
.jh-home .header .row > div:first-child { flex: 1 1 auto; min-width: 0; }
.jh-home .header .btn-white { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 18px !important; font-size: 15px !important; }
.jh-home .header .navbar-toggler { width: 44px; height: 44px; margin: 0 !important; cursor: pointer; }
@media (max-width: 991.98px) { .jh-home .header .navbar-toggler { display: block; } }
.jh-home .header .navbar-toggler .navbar-toggler-icon { left: 10px; }
.jh-home .header .navbar-toggler .top-bar { top: 15px; }
.jh-home .header .navbar-toggler .middle-bar { top: 22px; }
.jh-home .header .navbar-toggler .bottom-bar { top: 29px; }
.jh-home .header .navbar-toggler.open .top-bar,
.jh-home .header .navbar-toggler.open .bottom-bar { top: 22px; }
.jh-home .header .navbar-toggler:focus-visible { outline: 3px solid #1d6b49; outline-offset: 0; border-radius: 10px; }
.jh-home .header .navbar-collapse {
    top: calc(100% + 4px); max-height: calc(100vh - 90px); overflow-y: auto;
    border-radius: 16px; box-shadow: 0 16px 40px rgba(16, 40, 28, .18);
}
.jh-home .header .navbar-nav { box-shadow: none; padding: 8px 6px; }
.jh-home .header .navbar-collapse .navbar-nav .nav-item { padding: 0 10px; }
.jh-home .header .navbar-collapse .navbar-nav .nav-item .nav-link,
.jh-home .header .dropdown .dropdown-toggle { min-height: 48px; display: flex; align-items: center; padding: 0; }
.jh-home .header .dropdown .dropdown-item { min-height: 44px; display: flex; align-items: center; }
.jh-home .header .jh-nav-cta { padding: 6px 10px 10px !important; }
.jh-home .header .jh-nav-cta .btn { width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; }
.jh-home .header .navbar-nav .nav-link { color: var(--jh-ink); }

@media (min-width: 992px) {
    .jh-home .header .row > div:first-child { flex: 0 0 auto; }
    .jh-home .header nav { flex: 1 1 auto; }
    .jh-home .header .jh-nav-cta { padding: 0 !important; }
    .jh-home .header .jh-nav-cta .btn { width: auto; padding: 0 22px; margin-inline-end: 8px; }
    .jh-home .header .navbar-collapse { max-height: none; overflow: visible; }
    .jh-home .header .navbar-collapse .navbar-nav .nav-item { padding: 0 8px; }
}

/* ---------- shared bits ---------- */
.jh-btn {
    min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2;
    text-decoration: none; text-align: center; border: 1.5px solid transparent; cursor: pointer;
}
.jh-alias .jh-btn--dark, html body .jh-alias .btn-primary.jh-btn--dark { background: var(--jh-dark-2) !important; border-color: var(--jh-dark-2) !important; color: #fff !important; }
.jh-alias .jh-btn--dark:hover, html body .jh-alias .btn-primary.jh-btn--dark:hover { background: var(--jh-dark) !important; border-color: var(--jh-dark) !important; color: #fff !important; }
.jh-btn--ghost { color: var(--jh-ink) !important; border-color: var(--jh-ink); background: transparent; }
.jh-btn--ghost:hover { background: var(--jh-ink); color: #fff !important; }
.jh-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; color: var(--jh-deep); text-decoration: none; }
.jh-link:hover { text-decoration: underline; }
.jh-section { padding: 48px 0; }
.jh-section--tint { background: var(--jh-t50); border-block: 1px solid var(--jh-t200); }
.jh-head { margin-bottom: 24px; }
.jh-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 16px; }
.jh-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--jh-deep); }
.jh-section h2, .jh-final h2 { margin: 0; font-size: clamp(1.5rem, 6vw, 2.25rem); line-height: 1.18; letter-spacing: -.015em; color: var(--jh-ink); font-weight: 700; }
.jh-section h3 { color: var(--jh-ink); }
.jh-section h2::after { display: none; }
.jh-card, .jh-plan, .jh-quote, .jh-form, .jh-steps li, .jh-about__item {
    background: #fff; border: 1px solid var(--jh-t200); border-radius: var(--jh-radius); box-shadow: var(--jh-shadow);
}
ul.jh-features, ul.jh-templates, ul.jh-plans, ul.jh-testi, ol.jh-steps, .jh-trust ul, .jh-contact__info ul, .jh-chips, .jh-plan__list, .jf-social, .jf-cols ul {
    list-style: none; margin: 0; padding: 0;
}

/* ---------- hero ---------- */
.jh-hero {
    padding: 16px 0 28px;
    background:
        radial-gradient(520px 320px at 90% 8%, rgba(117, 185, 152, .28), transparent 70%),
        radial-gradient(420px 280px at 0% 60%, rgba(126, 188, 117, .16), transparent 70%);
}
.jh-hero .alert { margin-bottom: 8px; }
.jh-hero__grid { display: grid; gap: 22px; }
.jh-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 12px; border-radius: 999px;
    background: rgba(117, 185, 152, .18); border: 1px solid rgba(117, 185, 152, .5);
    color: var(--jh-deep-txt); font-size: 13px; font-weight: 600;
}
.jh-hero h1 { margin: 12px 0 10px; font-size: clamp(1.75rem, 7.6vw, 3.4rem); line-height: 1.1; letter-spacing: -.025em; font-weight: 700; color: var(--jh-ink); }
.jh-grad { color: var(--jh-deep); }
.jh-lead { margin: 0 0 18px; font-size: 1rem; line-height: 1.55; color: var(--jh-text); max-width: 34rem; }
.jh-alias { display: grid; gap: 10px; max-width: 520px; }
.jh-alias__field { position: relative; }
.jh-alias__field i, .jh-alias__field > svg { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--jh-deep); pointer-events: none; }
.jh-alias__field .form-control {
    height: 52px; padding-inline: 44px 16px; border-radius: 999px; border: 1.5px solid var(--jh-t200);
    background: #fff; font-size: 16px; color: var(--jh-ink); box-shadow: var(--jh-shadow);
}
.jh-alias__field .form-control::placeholder { color: #5b6e64; opacity: 1; }
.jh-alias .jh-btn { width: 100%; }
.jh-alias__msg { margin-top: 8px; font-weight: 600; font-size: 14px; }
.jh-alias__msg--err { color: #a12218; }
.jh-alias__msg--ok { color: #1f6b45; }
.jh-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.jh-cta-row .jh-btn { flex: 1 1 150px; }
.jh-cta-row--center { justify-content: center; }
.jh-cta-row--center .jh-btn { flex: 0 1 auto; }
.jh-hero__visual { margin: 0 auto; width: 100%; max-width: 440px; }
.jh-hero__visual img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 18px 40px rgba(16, 40, 28, .22); background: #2a2f2d; }

/* ---------- trust strip ---------- */
.jh-trust { padding: 0 0 8px; }
.jh-trust ul { display: flex; flex-wrap: wrap; gap: 8px; }
.jh-trust li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13.5px; font-weight: 500; color: var(--jh-ink); background: #fff; border: 1px solid var(--jh-t200); border-radius: 999px; }
.jh-trust i, .jh-trust svg { color: var(--jh-deep); }

/* ---------- how it works ---------- */
.jh-steps { display: grid; gap: 14px; counter-reset: s; }
.jh-steps li { position: relative; padding: 20px 20px 20px 20px; }
.jh-step__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--jh-mint); color: var(--jh-ink); font-weight: 700; margin-bottom: 10px; }
.jh-steps h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.jh-steps h3 i, .jh-steps h3 svg { color: var(--jh-deep); }
.jh-steps p { margin: 0; color: var(--jh-text); line-height: 1.55; }

/* ---------- features ---------- */
.jh-features { display: grid; gap: 14px; }
.jh-card { padding: 16px; display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; }
.jh-card .jh-icon { grid-row: 1 / span 2; margin: 0; }
.jh-card h3 { align-self: center; min-height: 52px; display: flex; align-items: center; }
.jh-card__text { grid-column: 2; }
.jh-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--jh-t100); color: var(--jh-deep); font-size: 22px; margin-bottom: 12px; overflow: hidden; }
.jh-icon img { width: 100%; height: 100%; object-fit: cover; }
.jh-card h3 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 700; }
.jh-card__text { color: var(--jh-text); line-height: 1.55; font-size: 15px; }
.jh-card__text p:last-child { margin-bottom: 0; }

/* ---------- scrollers (templates, plans, testimonials) ---------- */
.jh-scroller {
    --pad: max(16px, calc((100vw - var(--jh-cw)) / 2 + 12px));
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 4px var(--pad) 18px; scroll-padding-inline: var(--pad); scrollbar-width: thin;
}
.jh-scroller > ul { display: flex; gap: 14px; width: max-content; }
.jh-scroller > ul > li { scroll-snap-align: start; }
.jh-scroller:focus-visible { outline-offset: -3px; }

.jh-tpl { width: min(62vw, 230px); }
.jh-tpl a { display: block; text-decoration: none; color: var(--jh-ink); }
.jh-tpl img { display: block; width: 100%; height: auto; border-radius: var(--jh-radius); box-shadow: var(--jh-shadow); border: 1px solid var(--jh-t200); background: var(--jh-t100); aspect-ratio: 420 / 752; object-fit: cover; }
.jh-tpl__name { display: block; margin-top: 10px; font-weight: 700; }
.jh-tpl__blurb { display: block; font-size: 13.5px; color: var(--jh-text); margin-top: 2px; }
.jh-tpl a:hover .jh-tpl__name { color: var(--jh-deep); text-decoration: underline; }

/* ---------- NFC teaser ---------- */
.jh-nfc { display: grid; gap: 24px; padding: 26px 22px; border-radius: 26px; color: #e6f2ec; background: linear-gradient(140deg, var(--jh-dark-2), var(--jh-dark)); overflow: hidden; }
.jh-nfc .jh-kicker { color: #9ad8b8; }
.jh-nfc h2 { color: #fff; }
.jh-nfc p { margin: 12px 0 16px; line-height: 1.55; }
.jh-nfc .jh-kicker { margin: 0 0 6px; }
.jh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.jh-chips li { padding: 6px 12px; border-radius: 999px; font-size: 13.5px; border: 1px solid rgba(255, 255, 255, .35); color: #fff; }
.jh-nfc__art { position: relative; height: 190px; }
.jh-ncard { position: absolute; left: 50%; top: 50%; width: 250px; height: 158px; margin: -79px 0 0 -125px; border-radius: 16px; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); }
.jh-ncard--3 { background: #cfe6db; transform: translate(26px, 4px) rotate(9deg); }
.jh-ncard--2 { background: var(--jh-mint); transform: translate(-22px, 2px) rotate(-8deg); }
.jh-ncard--1 { background: linear-gradient(145deg, #0e1b15, #24402f); border: 1px solid rgba(117, 185, 152, .55); display: flex; align-items: flex-end; justify-content: space-between; padding: 16px; }
.jh-ncard--1 img { width: 44px; height: 44px; }
.jh-ncard--1 i, .jh-ncard--1 svg { color: var(--jh-mint); font-size: 22px; transform: rotate(90deg); }

/* ---------- about ---------- */
.jh-about { display: grid; gap: 14px; }
.jh-about__item { display: grid; gap: 16px; padding: 18px; }
.jh-about__img { aspect-ratio: 16 / 9; background: var(--jh-t50); border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.jh-about__img img { width: 100%; height: 100%; object-fit: contain; }
.jh-about h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 700; }
.jh-about p { margin: 0; line-height: 1.6; }

/* ---------- plans ---------- */
.jh-plan { width: min(80vw, 300px); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.jh-plan h3 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.jh-badge { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--jh-t100); color: var(--jh-deep); font-size: 12.5px; font-weight: 600; }
.jh-plan__price { margin: 0; font-size: 2rem; line-height: 1.1; font-weight: 700; color: var(--jh-ink); }
.jh-plan__price small { font-size: .45em; font-weight: 500; color: var(--jh-text); }
.jh-plan__list { flex: 1; display: grid; gap: 8px; font-size: 14.5px; margin: 4px 0 8px; }
.jh-plan__list li { position: relative; padding-inline-start: 24px; }
.jh-plan__list li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: var(--jh-deep); font-weight: 700; }
.jh-plan .jh-btn { width: 100%; }

/* ---------- testimonials ---------- */
.jh-quote { width: min(84vw, 360px); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.jh-quote blockquote { margin: 0; line-height: 1.6; color: var(--jh-ink); }
.jh-quote figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--jh-ink); }
.jh-quote img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--jh-mint); }

/* ---------- FAQ ---------- */
.jh-faq details { background: #fff; border: 1px solid var(--jh-t200); border-radius: 14px; margin-bottom: 10px; }
.jh-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 16px; font-weight: 600; color: var(--jh-ink); }
.jh-faq summary::-webkit-details-marker { display: none; }
.jh-faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--jh-deep); flex: none; }
.jh-faq details[open] summary::after { content: "\2212"; }
.jh-faq details > div { padding: 0 16px 16px; line-height: 1.6; }

/* ---------- contact ---------- */
.jh-contact { display: grid; gap: 28px; }
.jh-contact__info ul { display: grid; gap: 14px; margin-top: 18px; }
.jh-contact__info li { display: flex; align-items: center; gap: 12px; line-height: 1.4; }
.jh-contact__info li > i, .jh-contact__info li > svg { flex: none; box-sizing: border-box; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--jh-t100); color: var(--jh-deep); display: grid; place-items: center; }
.jh-contact__info a { display: inline-flex; align-items: center; min-height: 44px; color: var(--jh-deep); font-weight: 600; word-break: break-word; }
.jh-form { padding: 22px; }
.jh-form h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 700; }
.jh-form label { display: block; margin: 12px 0 6px; font-size: 14px; font-weight: 600; color: var(--jh-ink); }
.jh-form .form-control { min-height: 48px; border-radius: 12px; border: 1.5px solid var(--jh-t200); background: #fff; font-size: 16px; }
.jh-form textarea.form-control { min-height: 120px; }
.jh-form__row { display: grid; gap: 0 14px; }
.jh-form .jh-btn { width: 100%; margin-top: 18px; }

/* ---------- final CTA (brand mint band, ink text) ---------- */
.jh-final { margin: 0; padding: 52px 0; background: var(--jh-mint); text-align: center; color: var(--jh-ink); }
.jh-final p { margin: 10px 0 0; font-size: 1.05rem; }
.jh-final .btn-primary { background: var(--jh-ink) !important; border-color: var(--jh-ink) !important; color: #fff !important; }
.jh-final .btn-primary:hover { background: #1b4631 !important; border-color: #1b4631 !important; color: #fff !important; }

/* ---------- WhatsApp widget: keep it clear of the sticky cookie bar ---------- */
@media (max-width: 767px) { .jh-home .whatsapp-widget { bottom: 76px; } }

/* ---------- cookie banner ---------- */
html body .cookie-consent .btn { min-height: 44px; }
/* compact on phones (same markup / JS) */
@media (max-width: 767px) {
    html body .cookie-consent { position: fixed !important; left: 0; right: 0; bottom: 0; padding: 10px 14px !important; justify-content: stretch !important; text-align: left !important; }
    html body .cookie-consent > div { width: 100%; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    html body .cookie-consent .m-3 { margin: 0 !important; flex: 1 1 100%; }
    html body .cookie-consent .cookie-consent__message { margin: 0 !important; font-size: 12.5px !important; line-height: 1.35; }
    html body .cookie-consent > div > .d-flex { margin: 0 !important; width: 100%; gap: 8px; }
    html body .cookie-consent .btn { flex: 1 1 0; min-height: 44px; margin: 0 !important; padding: 0 12px !important; font-size: 14px !important; }
}

/* ---------- footer (all pages on the app1 layout) ---------- */
.jf-footer { background: var(--jh-dark); color: #e8f3ed; padding: 40px 0 0; border-radius: 28px 28px 0 0; margin-top: 0; }
.jf-footer a { color: #e8f3ed; text-decoration: none; }
.jf-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.jf-top { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.jf-logo { display: inline-flex; min-height: 44px; align-items: center; }
.jf-logo img { height: 36px; width: auto; }
.jf-tagline, .jf-muted { margin: 8px 0 0; color: #c9dfd3; line-height: 1.55; }
.jf-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.jf-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; }
.jf-social a:hover { background: var(--jh-mint); color: var(--jh-ink); text-decoration: none; }
.jf-h { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9ad8b8; }
.jf-news-wrap .jf-h { font-size: 1.2rem; letter-spacing: 0; text-transform: none; color: #fff; }
.jf-news { display: grid; gap: 10px; margin-top: 14px; max-width: 460px; }
.jf-news .form-control { height: 48px; border: 0; border-radius: 999px; padding: 0 18px; background: #fff; color: var(--jh-ink); font-size: 16px; }
.jf-news .btn { min-height: 48px; border-radius: 999px; font-weight: 600; }
.jf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.jf-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; padding: 26px 0; }
.jf-cols li a { display: flex; align-items: center; min-height: 44px; font-size: 15px; overflow-wrap: anywhere; }
.jf-bottom { padding: 16px 0 20px; border-top: 1px solid rgba(255, 255, 255, .15); text-align: center; font-size: 14px; color: #c9dfd3; }
.jf-bottom p { margin: 0; }
.jf-bottom strong { color: #fff; }

/* ---------- >= 576 ---------- */
@media (min-width: 576px) {
    .jh-card { display: block; padding: 20px; }
    .jh-card .jh-icon { margin-bottom: 12px; }
    .jh-card h3 { display: block; min-height: 0; }
    .jh-alias { grid-template-columns: 1fr auto; align-items: center; background: #fff; border: 1.5px solid var(--jh-t200); border-radius: 999px; padding: 5px; box-shadow: var(--jh-shadow); }
    .jh-alias__field .form-control { border: 0; box-shadow: none; height: 48px; }
    .jh-alias .jh-btn { width: auto; }
    .jh-form__row { grid-template-columns: 1fr 1fr; }
    .jh-features { grid-template-columns: repeat(2, 1fr); }
    .jf-news { grid-template-columns: 1fr auto; }
}

/* ---------- >= 768 ---------- */
@media (min-width: 768px) {
    .jh-section { padding: 72px 0; }
    .jh-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .jh-steps li { padding: 26px; }
    .jh-nfc { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 44px; }
    .jh-nfc__art { height: 240px; }
    .jh-about__item { grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; padding: 24px; }
    .jh-about__item:nth-child(even) .jh-about__img { order: 2; }
    .jh-scroller--plans { overflow: visible; width: auto; max-width: var(--jh-cw); margin-inline: auto; padding: 4px 12px 8px; }
    .jh-scroller--plans > ul { display: grid; width: auto; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
    .jh-scroller--plans .jh-plan { width: auto; }
    .jh-contact { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
    .jf-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .jf-bottom { text-align: start; }
}

/* ---------- >= 992 ---------- */
@media (min-width: 992px) {
    .jh-hero { padding: 56px 0 56px; }
    .jh-hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
    .jh-hero__visual { max-width: 560px; }
    .jh-lead { font-size: 1.125rem; }
    .jh-features { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .jh-tpl { width: 210px; }
    .jf-top { grid-template-columns: 1fr 1fr; gap: 56px; }
    .jf-footer { padding-top: 56px; }
}

/* ---------- RTL ---------- */
.home1-rtl .jh-ncard--1 i, .home1-rtl .jh-ncard--1 svg { transform: rotate(-90deg); }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .jh-home *, .jh-home *::before, .jh-home *::after, .jf-footer * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
