/* =====================================================================
   Hydari site — header, footer, menus, mobile drawer and bottom bar (P26)
   Spec 4.4, 4.5, 4.11. Colours come only from the palette tokens (P23
   compiles them; the panel kit's tokens are the fallback), so night mode
   and every palette work without editing this file. Directions mirror by
   themselves (logical properties; --hy-flip for slide-ins).
   ===================================================================== */

:root { --hy-flip: 1; --hy-header-h: 64px; --hy-gap: 1rem; --hy-max: 1200px; --hy-ease: cubic-bezier(.2, .7, .2, 1); --hy-bar-h: 64px; }
[dir="rtl"] { --hy-flip: -1; }

.hy-only-mobile { display: none !important; }
@media (max-width: 991.98px) { .hy-only-desktop { display: none !important; } .hy-only-mobile { display: revert !important; } }
.visually-hidden { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- skip link --------------------------------------------------------- */
.hy-skip { position: absolute; inset-inline-start: 1rem; inset-block-start: -100px; z-index: 1100; padding: .6rem 1rem; border-radius: 10px; background: var(--color-primary); color: var(--color-on-primary, #fff); text-decoration: none; font-weight: 600; }
.hy-skip:focus { inset-block-start: .75rem; outline: 3px solid var(--color-primary-light); }

/* ---- header ------------------------------------------------------------ */
.hy-header { position: relative; z-index: 900; background: var(--bg-header, var(--bg-card)); color: var(--text-menu, var(--text-main)); border-block-end: 1px solid var(--border-light); transition: background-color .25s var(--hy-ease), box-shadow .25s var(--hy-ease); }
.hy-header--sticky, .hy-header--shrink { position: sticky; inset-block-start: 0; }
.hy-header--transparent { position: fixed; inset-block-start: 0; inset-inline: 0; background: transparent; border-color: transparent; }
.hy-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(0, 0, 0, .35); }
.hy-header--transparent.is-scrolled { background: var(--bg-header, var(--bg-card)); border-color: var(--border-light); }
.hy-header__inner { position: relative; display: flex; align-items: center; gap: var(--hy-gap); max-inline-size: var(--hy-max); margin-inline: auto; padding-inline: 1rem; }
.hy-header--w-full .hy-header__inner { max-inline-size: none; padding-inline: 1.5rem; }
.hy-header__row--main .hy-header__inner { min-block-size: var(--hy-header-h); transition: min-block-size .25s var(--hy-ease); }
.hy-header--shrink.is-scrolled .hy-header__row--main .hy-header__inner { min-block-size: 50px; }
.hy-header--shrink.is-scrolled .hy-logo__img { max-block-size: 34px; inline-size: auto; }
.hy-header__row--top { font-size: .85rem; background: var(--bg-sunken, var(--bg-app)); border-block-end: 1px solid var(--border-light); }
.hy-header__row--top .hy-header__inner { min-block-size: 38px; }
.hy-header__row--bottom { border-block-start: 1px solid var(--border-light); }
.hy-header__row--bottom .hy-header__inner { min-block-size: 46px; }
.hy-zone { display: flex; align-items: center; gap: .5rem; flex: 1 1 0; min-inline-size: 0; }
.hy-zone--center { justify-content: center; flex: 2 1 0; }
.hy-zone--end { justify-content: flex-end; }
.hy-zone:empty { flex-grow: .001; }
.hy-c { display: flex; align-items: center; min-inline-size: 0; }
.hy-header__mobile { display: none; }
@media (max-width: 991.98px) {
    .hy-header__desktop { display: none; }
    .hy-header__mobile { display: block; }
    .hy-header__mobile .hy-header__inner { min-block-size: 56px; }
    .hy-header__mobile .hy-zone--center { flex: 1 1 auto; }
}

.hy-logo { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; min-inline-size: 0; }
.hy-logo__img { display: block; inline-size: auto; max-inline-size: 220px; object-fit: contain; }
.hy-logo__img--night { display: none; }
[data-mode="dark"] .hy-logo__img--day { display: none; }
[data-mode="dark"] .hy-logo__img--night { display: block; }
.hy-logo__words { display: flex; flex-direction: column; line-height: 1.2; min-inline-size: 0; }
.hy-logo__words[data-has-image] .hy-logo__text { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hy-logo__text { font-family: var(--font-heading, inherit); font-weight: 700; font-size: 1.2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hy-logo__tagline { font-size: .78rem; color: var(--text-muted); }

.hy-iconbtn, .hy-burger, .hy-mode-toggle { display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer; }
.hy-iconbtn:hover, .hy-burger:hover, .hy-mode-toggle:hover { background: var(--bg-hover, var(--color-primary-soft)); }
.hy-iconbtn:focus-visible, .hy-burger:focus-visible, .hy-mode-toggle:focus-visible, .hy-menu__link:focus-visible, .hy-menu__toggle:focus-visible, .hy-dmenu__link:focus-visible, .hy-dmenu__toggle:focus-visible, .hy-bottomnav__item:focus-visible { outline: 3px solid var(--color-primary-light); outline-offset: 2px; }
.hy-phone, .hy-account { display: inline-flex; align-items: center; gap: .35rem; color: inherit; text-decoration: none; white-space: nowrap; }
.hy-text { margin: 0; }
.hy-buttons { display: flex; gap: .5rem; }
.hy-social { display: flex; align-items: center; gap: .6rem; }
.hy-social__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.hy-social .hb-social-icons { margin: 0; }

/* The language switcher (Languages module) in the header, footer and drawer: every language is a small code button (EN, FA…); the name is
   its tip (title) and stays for screen readers. The current one is filled; one without this page's text is dimmed with a corner dot. */
.hd-visually-hidden, .hd-lang__name, .hd-lang__untranslated { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hd-lang__list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hd-lang__item > a, .hd-lang__item > span { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-inline-size: 42px; block-size: 34px; padding: 0 .55rem;
    border: 1px solid var(--border-light); border-radius: 10px; background: var(--bg-card); color: inherit; text-decoration: none; transition: background-color .2s var(--hy-ease), border-color .2s var(--hy-ease), color .2s var(--hy-ease), transform .2s var(--hy-ease); }
.hd-lang__item > a:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-1px); }
.hd-lang__badge { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.hd-lang__item--current > a { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-on-primary, #fff); box-shadow: 0 4px 12px -6px var(--color-primary); }
.hd-lang__item--current > a:hover { color: var(--color-on-primary, #fff); }
.hd-lang__item--untranslated > a { border-style: dashed; color: var(--text-muted); }
.hd-lang__item--untranslated > a::after { content: ""; position: absolute; inset-block-start: -3px; inset-inline-end: -3px; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--color-warning, #d9a441); box-shadow: 0 0 0 2px var(--bg-card); }
.hd-lang__item--locked > span { opacity: .5; cursor: not-allowed; }
.hd-lang__item--locked svg { inline-size: 11px; block-size: 11px; }
/* The dropdown: an icon button (globe and a small code tag); the codes open under it as a small grid. */
.hy-header .hd-lang--dropdown { position: relative; }
.hy-header .hd-lang--dropdown summary { position: relative; display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; border-radius: 12px; cursor: pointer; list-style: none; transition: background-color .2s var(--hy-ease); }
.hy-header .hd-lang--dropdown summary::-webkit-details-marker { display: none; }
.hy-header .hd-lang--dropdown summary:hover, .hy-header .hd-lang--dropdown[open] summary { background: var(--bg-hover, var(--color-primary-soft)); }
.hy-header .hd-lang--dropdown summary:focus-visible { outline: 3px solid var(--color-primary-light); outline-offset: 2px; }
.hd-lang__globe { display: block; }
.hd-lang__code { position: absolute; inset-block-end: 3px; inset-inline-end: 1px; padding: 0 3px; border-radius: 5px; background: var(--color-primary); color: var(--color-on-primary, #fff); font-size: 9px; font-weight: 700; line-height: 13px; letter-spacing: .02em; }
.hy-header .hd-lang--dropdown > nav { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 960; padding: .5rem; border: 1px solid var(--border-light); border-radius: 14px; background: var(--bg-submenu, var(--bg-card)); color: var(--text-submenu, var(--text-main)); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .45); transform-origin: top; animation: hy-pop .18s var(--hy-ease); }
/* One column: the codes stand one under the other, each the full width of the small panel. */
.hy-header .hd-lang--dropdown > nav { padding: .4rem; }
.hy-header .hd-lang--dropdown .hd-lang__list { display: grid; grid-template-columns: 1fr; gap: 4px; }
.hy-header .hd-lang--dropdown .hd-lang__item > a, .hy-header .hd-lang--dropdown .hd-lang__item > span { inline-size: 100%; min-inline-size: 58px; block-size: 36px; }
.hy-header .hd-lang--dropdown .hd-lang__item { animation: hy-lang-in .26s var(--hy-ease) both; }
.hy-header .hd-lang--dropdown .hd-lang__item:nth-child(2) { animation-delay: .03s; }
.hy-header .hd-lang--dropdown .hd-lang__item:nth-child(3) { animation-delay: .06s; }
.hy-header .hd-lang--dropdown .hd-lang__item:nth-child(4) { animation-delay: .09s; }
.hy-header .hd-lang--dropdown .hd-lang__item:nth-child(n + 5) { animation-delay: .12s; }
@keyframes hy-lang-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hy-header .hd-lang--dropdown .hd-lang__item { animation: none; } }
@keyframes hy-pop { from { opacity: 0; transform: translateY(-4px) scale(.97); } to { opacity: 1; transform: none; } }

/* Search: a box, or a layer opened from the icon. */
.hy-search-form { display: flex; align-items: center; gap: .25rem; inline-size: 100%; max-inline-size: 420px; padding-inline: .5rem; border: 1px solid var(--border-base, var(--border-light)); border-radius: 999px; background: var(--bg-input, var(--bg-card)); }
.hy-search-form input { flex: 1 1 auto; min-inline-size: 0; block-size: 38px; border: 0; background: transparent; color: inherit; font: inherit; outline: none; }
.hy-search-form button { display: inline-flex; padding: .3rem; border: 0; background: none; color: var(--text-muted); cursor: pointer; }
/* The search window: the page blurs behind, the box drops in with a little spring, the field glows when focused. */
.hy-search-layer { position: fixed; inset: 0; z-index: 1050; display: flex; justify-content: center; align-items: flex-start; padding: 1rem;
    background: color-mix(in srgb, var(--color-dark, #111) 38%, transparent); -webkit-backdrop-filter: blur(6px) saturate(1.1); backdrop-filter: blur(6px) saturate(1.1); opacity: 0; transition: opacity .22s var(--hy-ease); }
.hy-search-layer[hidden] { display: none; }
.hy-search-layer.is-open { opacity: 1; }
.hy-search-layer__box { position: relative; display: flex; align-items: center; gap: .5rem; inline-size: min(680px, 100%); margin-block-start: 12vh; padding: .6rem; border: 1px solid var(--border-light); border-radius: 22px;
    background: var(--bg-card); color: var(--text-main); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .55); transform: translateY(-18px) scale(.96); opacity: 0;
    transition: transform .32s cubic-bezier(.2, 1.3, .4, 1), opacity .2s var(--hy-ease); }
.hy-search-layer.is-open .hy-search-layer__box { transform: none; opacity: 1; }
.hy-search-layer__box .hy-search-form { flex: 1 1 auto; max-inline-size: none; gap: .5rem; padding-inline: .9rem .4rem; border: 2px solid transparent; border-radius: 16px; background: var(--bg-sunken, var(--bg-app)); transition: border-color .2s var(--hy-ease), box-shadow .2s var(--hy-ease), background-color .2s var(--hy-ease); }
.hy-search-layer__box .hy-search-form:focus-within { border-color: var(--color-primary); background: var(--bg-card); box-shadow: 0 0 0 5px var(--color-primary-soft); }
.hy-search-layer__box .hy-search-form input { block-size: 54px; font-size: 1.1rem; }
.hy-search-layer__box .hy-search-form input::-webkit-search-cancel-button { display: none; }
.hy-search-layer__box .hy-search-form button { order: -1; padding: 0; color: var(--color-primary); }
.hy-search-layer__box .hy-search-form button svg { inline-size: 22px; block-size: 22px; }
.hy-search-layer__box > .hy-iconbtn { flex: none; inline-size: 44px; block-size: 44px; border-radius: 14px; color: var(--text-muted); transition: background-color .2s var(--hy-ease), color .2s var(--hy-ease), transform .3s var(--hy-ease); }
.hy-search-layer__box > .hy-iconbtn:hover { color: var(--text-main); transform: rotate(90deg); }
.hy-search-layer__hint { position: absolute; inset-block-start: calc(100% + .7rem); inset-inline: 0; margin: 0; text-align: center; font-size: .8rem; color: #fff; opacity: .85; }
.hy-search-layer__hint kbd { padding: .05rem .4rem; border: 1px solid rgba(255, 255, 255, .5); border-radius: 6px; font: inherit; font-size: .75rem; }
.hy-search-layer--full { align-items: center; background: var(--bg-card); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hy-search-layer--full .hy-search-layer__box { margin: 0; border: 0; box-shadow: none; }
.hy-search-layer--full .hy-search-layer__hint { color: var(--text-muted); }
.hy-search-layer--full .hy-search-layer__hint kbd { border-color: var(--border-base, var(--border-light)); }
@media (max-width: 575.98px) { .hy-search-layer__box { margin-block-start: 1rem; } .hy-search-layer__hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .hy-search-layer, .hy-search-layer__box, .hy-header .hd-lang--dropdown > nav { transition: none; animation: none; } }

/* ---- desktop menu ------------------------------------------------------- */
.hy-menu__list { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.hy-menu--v .hy-menu__list { flex-direction: column; align-items: stretch; }
.hy-menu__item { position: relative; display: flex; align-items: center; }
.hy-menu__link { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .7rem; border-radius: 10px; color: inherit; text-decoration: none; font-family: var(--font-menu, inherit); font-weight: 500; white-space: nowrap; }
.hy-menu__link:hover, .hy-menu__item.is-open > .hy-menu__link { background: var(--bg-hover, var(--color-primary-soft)); }
.hy-menu__link[aria-current="page"], .hy-menu__item.is-ancestor > .hy-menu__link { color: var(--color-primary); }
.hy-menu__link--heading { cursor: default; }
.hy-menu__toggle { display: inline-flex; align-items: center; justify-content: center; inline-size: 24px; block-size: 28px; margin-inline-start: -.45rem; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
.hy-chevron { transition: transform .2s var(--hy-ease); }
.hy-menu__item.is-open > .hy-menu__toggle .hy-chevron { transform: rotate(180deg); }
.hy-icon { display: inline-flex; inline-size: 20px; block-size: 20px; flex: none; }
.hy-icon svg, .hy-icon img { inline-size: 100%; block-size: 100%; }
.hy-badge { display: inline-flex; align-items: center; padding: .05rem .45rem; border-radius: 999px; background: var(--hy-badge, var(--color-danger, #c0392b)); color: #fff; font-size: .7rem; font-weight: 700; line-height: 1.5; }
.hy-count { color: var(--text-muted); font-size: .8em; }
.hy-menu__subtitle { display: block; color: var(--text-muted); font-size: .8em; font-weight: 400; }
.hy-menu__sep { inline-size: 1px; block-size: 22px; margin-inline: .35rem; background: var(--border-light); }
.hy-menu__button { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 1rem; border: 1px solid transparent; border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hy-menu__button--primary { background: var(--color-primary); color: var(--color-on-primary, #fff); }
.hy-menu__button--primary:hover { background: var(--color-primary-hover, var(--color-primary)); }
.hy-menu__button--secondary { background: var(--btn-secondary-bg, var(--color-primary-soft)); color: var(--btn-secondary-text, var(--color-primary)); }
.hy-menu__button--outline { border-color: currentColor; color: var(--color-primary); background: transparent; }

.hy-menu__sub, .hy-mega { position: absolute; inset-block-start: 100%; inset-inline-start: 0; z-index: 950; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s var(--hy-ease), transform .18s var(--hy-ease), visibility 0s linear .18s;
    background: var(--bg-submenu, var(--bg-card)); color: var(--text-submenu, var(--text-main)); border: 1px solid var(--border-light); border-radius: 14px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .45); }
.hy-menu__sub { min-inline-size: 230px; margin: 0; padding: .4rem; list-style: none; }
.hy-menu__sub .hy-menu__item { display: flex; }
.hy-menu__sub .hy-menu__link { flex: 1 1 auto; white-space: normal; }
.hy-menu__sub .hy-menu__sub { inset-block-start: -.4rem; inset-inline-start: 100%; }
.hy-menu__sub .hy-menu__toggle .hy-chevron { transform: rotate(calc(-90deg * var(--hy-flip))); }
.hy-menu__item:hover > .hy-menu__sub, .hy-menu__item:focus-within > .hy-menu__sub, .hy-menu__item.is-open > .hy-menu__sub,
.hy-menu__item:hover > .hy-mega, .hy-menu__item:focus-within > .hy-mega, .hy-menu__item.is-open > .hy-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.hy-menu__item.is-closed > .hy-menu__sub, .hy-menu__item.is-closed > .hy-mega { visibility: hidden; opacity: 0; }
.hy-menu__item.has-mega { position: static; }
.hy-mega { inset-inline: 1rem; padding: 1.25rem; }
.hy-mega--wide { inset-inline: max(1rem, calc((100% - 1000px) / 2)); }
.hy-mega--custom { inset-inline: auto; inset-inline-start: 50%; inline-size: min(var(--hy-mega-w, 960px), calc(100vw - 2rem)); translate: calc(-50% * var(--hy-flip)) 0; }
.hy-mega__grid { display: grid; grid-template-columns: var(--hy-mega-grid, 1fr 1fr 1fr); gap: 1.25rem; }
.hy-mega__col { display: grid; align-content: start; gap: 1rem; min-inline-size: 0; }
.hy-mega__title { margin: 0 0 .5rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.hy-mega__links { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hy-mega__link { --hy-accent: var(--color-primary); display: flex; align-items: center; gap: .75rem; padding: .6rem .7rem; border-radius: 12px; color: inherit; text-decoration: none;
    background: color-mix(in srgb, var(--hy-accent) 7%, transparent); }
.hy-mega__link:hover { background: color-mix(in srgb, var(--hy-accent) 14%, transparent); }
.hy-mega__tile { display: inline-flex; align-items: center; justify-content: center; inline-size: 38px; block-size: 38px; flex: none; border-radius: 10px; color: var(--hy-accent); background: color-mix(in srgb, var(--hy-accent) 16%, transparent); }
.hy-mega__text { display: flex; flex-direction: column; min-inline-size: 0; }
.hy-mega__text small { color: var(--hy-accent); font-size: .8rem; }
.hy-mega__posts { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.hy-mega__post { display: flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.hy-mega__post img { inline-size: 72px; block-size: 48px; object-fit: cover; border-radius: 8px; }
.hy-mega__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.hy-mega__tags a { display: inline-block; padding: .25rem .6rem; border-radius: 999px; background: var(--bg-tag, var(--color-primary-soft)); color: var(--text-tag, var(--color-primary)); font-size: .85rem; text-decoration: none; }
.hy-mega__block--image img { inline-size: 100%; border-radius: 12px; }
.hy-mega__block--image figcaption { margin-block-start: .3rem; color: var(--text-muted); font-size: .85rem; }
.hy-mega__block--cta { padding: 1rem; border-radius: 14px; background: var(--color-primary-soft); }
.hy-mega__block--cta p { margin: .4rem 0 .8rem; }

/* ==== Modern look (after P44): the top level of a horizontal menu sits in one soft capsule; each link is a small pill that lifts on
   hover (a light pill slides in under it), the current page is filled with the brand colour and carries a dot; sub-menus drop with a
   little spring and their links slide a step on hover. The icon buttons of the header grow a soft ring on hover; a scrolled sticky
   header turns frosted. ==== */
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list { gap: 2px; padding: 4px; border: 1px solid color-mix(in srgb, var(--border-light) 80%, transparent); border-radius: 999px;
    background: color-mix(in srgb, var(--bg-app, var(--bg-card)) 55%, var(--bg-header, var(--bg-card))); }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link { position: relative; isolation: isolate; padding: .42rem .95rem; border-radius: 999px; background: none;
    color: var(--text-secondary, inherit); font-size: .9rem; font-weight: var(--font-weight-menu, 600); letter-spacing: .005em; transition: color .2s var(--hy-ease), transform .2s var(--hy-ease); }
/* One line, always: the capsule takes the room it needs and its links tighten a little rather than wrapping to a second row. */
.hy-header .hy-zone--center:has(> .hy-c > .hy-menu:not(.hy-menu--v)) { flex: 1 0 auto; }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list { flex-wrap: nowrap; }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link { white-space: nowrap; padding-inline: clamp(.6rem, .9vw, .95rem); }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--bg-card);
    box-shadow: 0 2px 8px -4px rgba(0, 0, 0, .18); opacity: 0; transform: scale(.85); transition: opacity .2s var(--hy-ease), transform .25s cubic-bezier(.2, 1.4, .4, 1); }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link:hover,
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item.is-open > .hy-menu__link { color: var(--text-main, inherit); }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link:hover::before,
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item.is-open > .hy-menu__link::before { opacity: 1; transform: none; }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link:active { transform: scale(.97); }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link[aria-current="page"],
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item.is-ancestor > .hy-menu__link { color: var(--color-on-primary, #fff); }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link[aria-current="page"]::before,
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item.is-ancestor > .hy-menu__link::before { background: var(--color-primary); box-shadow: 0 6px 16px -8px var(--color-primary); opacity: 1; transform: none; }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__link[aria-current="page"]::after { content: ""; position: absolute; inset-block-end: 3px; inset-inline-start: 50%; inline-size: 4px; block-size: 4px;
    margin-inline-start: -2px; border-radius: 50%; background: var(--color-accent, currentColor); }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list > .hy-menu__item > .hy-menu__toggle { margin-inline-start: -.55rem; border-radius: 999px; color: var(--text-muted, inherit); }
.hy-header .hy-menu__sub, .hy-header .hy-mega { border-radius: 18px; padding: .45rem; transform: translateY(10px) scale(.98); transform-origin: top; transition: opacity .2s var(--hy-ease), transform .28s cubic-bezier(.2, 1.3, .4, 1), visibility 0s linear .2s; }
.hy-header .hy-menu__item:hover > .hy-menu__sub, .hy-header .hy-menu__item:focus-within > .hy-menu__sub, .hy-header .hy-menu__item.is-open > .hy-menu__sub,
.hy-header .hy-menu__item:hover > .hy-mega, .hy-header .hy-menu__item:focus-within > .hy-mega, .hy-header .hy-menu__item.is-open > .hy-mega { transform: none; }
.hy-header .hy-menu__sub .hy-menu__link { padding: .55rem .8rem; border-radius: 12px; font-size: .9rem; transition: background-color .2s var(--hy-ease), color .2s var(--hy-ease), padding .2s var(--hy-ease); }
.hy-header .hy-menu__sub .hy-menu__link:hover { padding-inline-start: 1.05rem; background: var(--color-primary-soft); color: var(--color-primary-text, var(--color-primary)); }
.hy-header .hy-zone--end .hy-iconbtn, .hy-header .hy-zone--end .hy-mode-toggle, .hy-header .hd-lang--dropdown summary { transition: background-color .2s var(--hy-ease), box-shadow .2s var(--hy-ease), transform .2s var(--hy-ease); }
.hy-header .hy-zone--end .hy-iconbtn:hover, .hy-header .hy-zone--end .hy-mode-toggle:hover, .hy-header .hd-lang--dropdown summary:hover { box-shadow: 0 0 0 3px var(--color-primary-soft); transform: translateY(-1px); }
.hy-header--sticky.is-scrolled, .hy-header--shrink.is-scrolled { background: color-mix(in srgb, var(--bg-header, var(--bg-card)) 86%, transparent); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
/* With the theme's script one pill glides between the links instead of each link lighting its own (the current page keeps its fill). */
.hy-header .hy-menu__list > .hy-menu__glide { --glide-bg: var(--bg-card); --glide-ring: 0 2px 10px -4px rgba(0, 0, 0, .2), 0 0 0 1px color-mix(in srgb, var(--border-light) 70%, transparent); }
.hy-header .hy-menu__list.has-glide > .hy-menu__item { z-index: 1; }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list.has-glide > .hy-menu__item > .hy-menu__link:not([aria-current="page"])::before { display: none; }
.hy-header .hy-menu:not(.hy-menu--v) > .hy-menu__list.has-glide > .hy-menu__item.is-ancestor > .hy-menu__link::before { display: block; }
@media (prefers-reduced-motion: reduce) {
    .hy-header .hy-menu__link, .hy-header .hy-menu__link::before, .hy-header .hy-menu__sub, .hy-header .hy-mega, .hy-menu__glide { transition: none; }
}

/* ---- special items ------------------------------------------------------- */
.hy-special { display: inline-flex; align-items: center; gap: .35rem; color: inherit; text-decoration: none; }
.hy-menu .hy-special__text { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hy-special--font { gap: .15rem; }
.hy-special--font button { padding: .2rem .45rem; border: 1px solid var(--border-light); border-radius: 8px; background: none; color: inherit; cursor: pointer; font: inherit; }

/* ---- mobile drawer (twenty styles) ---------------------------------------- */
.hy-drawer { position: fixed; inset: 0; z-index: 1000; }
.hy-drawer[hidden] { display: none; }
.hy-drawer__backdrop { position: absolute; inset: 0; background: var(--hy-backdrop, rgba(0, 0, 0, .45)); opacity: 0; transition: opacity .25s var(--hy-ease); }
.hy-drawer.is-open .hy-drawer__backdrop { opacity: 1; }
.hy-drawer__panel { position: absolute; display: flex; flex-direction: column; overflow: hidden auto; overscroll-behavior: contain; background: var(--bg-menu, var(--bg-card)); color: var(--text-menu, var(--text-main));
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); outline: none; transition: transform .3s var(--hy-ease), opacity .3s var(--hy-ease); padding-block-end: env(safe-area-inset-bottom); }
.hy-drawer--start .hy-drawer__panel, .hy-drawer--end .hy-drawer__panel { inset-block: 0; inline-size: min(var(--hy-drawer-w, 320px), 88vw); }
.hy-drawer--start .hy-drawer__panel { inset-inline-start: 0; border-start-end-radius: 22px; border-end-end-radius: 22px; }
.hy-drawer--end .hy-drawer__panel { inset-inline-end: 0; border-start-start-radius: 22px; border-end-start-radius: 22px; }
.hy-drawer--top .hy-drawer__panel { inset-block-start: 0; inset-inline: 0; max-block-size: 88vh; border-end-start-radius: 22px; border-end-end-radius: 22px; }
.hy-drawer--full .hy-drawer__panel { inset: 0; }
.hy-drawer--card .hy-drawer__panel { inset-block: 12px; inset-inline-start: 12px; inline-size: min(var(--hy-drawer-w, 300px), 80vw); border-radius: 22px; }
/* entrance */
.hy-drawer--anim-slide.hy-drawer--start .hy-drawer__panel, .hy-drawer--anim-slide.hy-drawer--card .hy-drawer__panel { transform: translateX(calc(-104% * var(--hy-flip))); }
.hy-drawer--anim-slide.hy-drawer--end .hy-drawer__panel { transform: translateX(calc(104% * var(--hy-flip))); }
.hy-drawer--anim-slide.hy-drawer--top .hy-drawer__panel { transform: translateY(-104%); }
.hy-drawer--anim-slide.hy-drawer--full .hy-drawer__panel { transform: translateY(4%); opacity: 0; }
.hy-drawer--anim-fade .hy-drawer__panel { opacity: 0; }
.hy-drawer--anim-scale .hy-drawer__panel { opacity: 0; transform: scale(.94); }
.hy-drawer.is-open .hy-drawer__panel { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hy-drawer__panel, .hy-drawer__backdrop, .hy-menu__sub, .hy-mega, .hy-header, .hy-bottomnav { transition: none !important; } }

.hy-drawer__top { position: relative; display: flex; align-items: center; gap: .75rem; padding: 1rem 1rem .5rem; }
.hy-drawer__close { position: absolute; inset-block-start: .6rem; inset-inline-end: .6rem; display: inline-flex; align-items: center; justify-content: center; inline-size: 40px; block-size: 40px; border: 0; border-radius: 12px; background: var(--bg-hover, transparent); color: inherit; cursor: pointer; }
.hy-drawer__profile { display: flex; align-items: center; gap: .75rem; padding-inline-end: 44px; min-inline-size: 0; }
.hy-drawer__profile--stack { flex-direction: column; text-align: center; inline-size: 100%; padding: .5rem 44px 0; }
.hy-drawer__avatar, .hy-drawer__logo { display: inline-flex; align-items: center; justify-content: center; inline-size: 56px; block-size: 56px; flex: none; border-radius: 50%; object-fit: cover; background: var(--color-primary-soft); color: var(--color-primary); font-size: 1.4rem; font-weight: 700; }
.hy-drawer__profile--row .hy-drawer__avatar, .hy-drawer__profile--row .hy-drawer__logo { inline-size: 44px; block-size: 44px; font-size: 1.1rem; }
.hy-drawer__who { display: flex; flex-direction: column; min-inline-size: 0; }
.hy-drawer__who strong { font-size: 1.05rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hy-drawer__who span, .hy-drawer__who a { color: var(--text-muted); font-size: .85rem; }
.hy-drawer__brand { display: flex; justify-content: center; inline-size: 100%; padding-block: .5rem; }
.hy-drawer__title { margin: 0; font-size: 1.15rem; font-weight: 700; }
.hy-drawer__title--bar { flex: 1 1 auto; }
.hy-drawer--s6 .hy-drawer__top, .hy-drawer--s10 .hy-drawer__top { margin: .5rem; border-radius: 16px; background: var(--color-primary); color: var(--color-on-primary, #fff); padding: .5rem .75rem; min-block-size: 52px; }
.hy-drawer--s6 .hy-drawer__close, .hy-drawer--s10 .hy-drawer__close { position: static; background: transparent; }
.hy-drawer--s10 .hy-search-form { background: var(--bg-card); color: var(--text-main); }
.hy-drawer__top .hy-search-form { flex: 1 1 auto; max-inline-size: none; }
.hy-drawer__chips, .hy-drawer__buttons { display: flex; flex-wrap: wrap; gap: .5rem; padding: .25rem 1rem .5rem; justify-content: center; }
.hy-drawer__chip { padding: .3rem .75rem; border-radius: 999px; background: var(--color-primary-soft); color: var(--color-primary); font-size: .85rem; text-decoration: none; }
.hy-drawer__buttons .hy-menu__button { flex: 1 1 0; justify-content: center; }
.hy-drawer__buttons--stacked { flex-direction: column; }
.hy-drawer__nav { position: relative; flex: 1 1 auto; padding: .25rem .75rem 1rem; min-block-size: 200px; }
.hy-drawer__foot { padding: .75rem 1rem 1rem; border-block-start: 1px solid var(--border-light); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem; }
.hy-drawer__foot--card { margin: .5rem; border: 0; border-radius: 16px; background: var(--color-primary-soft); }
.hy-drawer__foot--bar { margin: .5rem; border: 0; border-radius: 16px; background: var(--color-primary); color: var(--color-on-primary, #fff); }

.hy-dmenu, .hy-dmenu__sub { margin: 0; padding: 0; list-style: none; }
.hy-dmenu__item { display: flex; flex-wrap: wrap; align-items: center; border-radius: 12px; }
.hy-dmenu__link { display: flex; align-items: center; gap: .7rem; flex: 1 1 auto; min-inline-size: 0; padding: .7rem .75rem; border-radius: 12px; color: inherit; text-decoration: none; font-size: 1rem; }
.hy-dmenu__link:hover, .hy-dmenu__item.is-current > .hy-dmenu__link { background: var(--bg-hover, var(--color-primary-soft)); }
.hy-dmenu__link[aria-current="page"] { color: var(--color-primary); font-weight: 600; }
.hy-dmenu__toggle { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; border: 0; border-radius: 12px; background: none; color: inherit; cursor: pointer; }
.hy-dmenu__toggle[aria-expanded="true"] .hy-chevron { transform: rotate(180deg); }
.hy-dmenu__sub { flex: 0 0 100%; padding-inline-start: .9rem; border-inline-start: 2px solid var(--border-light); margin-inline-start: 1rem; }
.hy-dmenu__back { display: none; }
.hy-dmenu__sep { block-size: 1px; margin: .4rem .75rem; background: var(--border-light); }
.hy-dmenu__item--button, .hy-dmenu__item--special { padding: .4rem .75rem; }
/* step-by-step: the next level takes the place of the list, with a back button */
.hy-drawer[data-submenu="steps"] .hy-dmenu__toggle .hy-chevron { transform: rotate(calc(-90deg * var(--hy-flip))); }
.hy-drawer[data-submenu="steps"] .hy-dmenu__sub { flex-basis: auto; border: 0; margin: 0; padding: 0; }
.hy-drawer[data-submenu="steps"] .hy-dmenu__sub.is-step { position: absolute; inset: 0; z-index: 2; display: block; padding: .25rem .75rem 1rem; overflow: auto; background: var(--bg-menu, var(--bg-card)); }
.hy-drawer[data-submenu="steps"] .hy-dmenu__sub.is-step > .hy-dmenu__back { display: flex; align-items: center; gap: .5rem; padding: .25rem 0 .5rem; border-block-end: 1px solid var(--border-light); margin-block-end: .5rem; }
.hy-dmenu__back button { display: inline-flex; align-items: center; gap: .3rem; padding: .45rem .6rem; border: 0; border-radius: 10px; background: var(--bg-hover, var(--color-primary-soft)); color: inherit; cursor: pointer; font: inherit; }
.hy-dmenu__back .hy-back { transform: scaleX(var(--hy-flip)); }
.hy-dmenu__heading { font-weight: 700; }
/* bodies */
.hy-drawer--body-list-center .hy-dmenu__link { justify-content: center; text-align: center; }
.hy-drawer--body-list-center .hy-dmenu__item { justify-content: center; }
.hy-icon--letter { align-items: center; justify-content: center; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); font-size: .8rem; font-weight: 700; }
.hy-drawer--body-icons .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__link .hy-icon { inline-size: 32px; block-size: 32px; padding: 6px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); }
.hy-drawer--body-grid2 .hy-dmenu[data-level="0"], .hy-drawer--body-grid3 .hy-dmenu[data-level="0"], .hy-drawer--body-grid4 .hy-dmenu[data-level="0"] { display: grid; gap: .5rem; }
.hy-drawer--body-grid2 .hy-dmenu[data-level="0"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hy-drawer--body-grid3 .hy-dmenu[data-level="0"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hy-drawer--body-grid4 .hy-dmenu[data-level="0"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
[class*="hy-drawer--body-grid"] .hy-dmenu[data-level="0"] > .hy-dmenu__item { flex-direction: column; justify-content: flex-start; }
[class*="hy-drawer--body-grid"] .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__link { flex-direction: column; justify-content: flex-start; gap: .4rem; inline-size: 100%; text-align: center; font-size: .85rem; padding: .6rem .25rem; }
[class*="hy-drawer--body-grid"] .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__link .hy-icon { inline-size: 48px; block-size: 48px; padding: 12px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); }
.hy-drawer--body-grid2 .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__link .hy-icon { inline-size: 60px; block-size: 60px; padding: 15px; }
[class*="hy-drawer--body-grid"] .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__toggle { block-size: 28px; }
[class*="hy-drawer--body-grid"] .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__sub { inline-size: 100%; text-align: start; }
[class*="hy-drawer--body-grid"] .hy-dmenu[data-level="0"] > .hy-dmenu__item--special, [class*="hy-drawer--body-grid"] .hy-dmenu[data-level="0"] > .hy-dmenu__sep { grid-column: 1 / -1; }
.hy-drawer--body-rail .hy-drawer__panel { inline-size: 76px; }
.hy-drawer--body-rail .hy-drawer__top { padding: .5rem; justify-content: center; }
.hy-drawer--body-rail .hy-drawer__close { position: static; }
.hy-drawer--body-rail .hy-drawer__nav { padding: .25rem; overflow: visible; }
.hy-drawer--body-rail .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__link { flex-direction: column; justify-content: center; gap: .2rem; padding: .5rem .2rem; font-size: .65rem; text-align: center; }
.hy-drawer--body-rail .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__link .hy-icon { inline-size: 36px; block-size: 36px; padding: 7px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); }
.hy-drawer--body-rail .hy-dmenu[data-level="0"] > .hy-dmenu__item > .hy-dmenu__toggle { display: none; }
.hy-drawer--body-rail .hy-badge { display: none; }

/* ---- footer ------------------------------------------------------------- */
.hy-footer { margin-block-start: 3rem; background: var(--bg-footer, var(--bg-sunken, var(--bg-app))); color: var(--text-main); border-block-start: 1px solid var(--border-light); font-size: .95rem; }
.hy-footer__inner { max-inline-size: var(--hy-max); margin-inline: auto; padding-inline: 1rem; }
.hy-footer__row .hy-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-block: 1.1rem; }
.hy-footer__row--top .hy-footer__inner { padding-block: 1.5rem; }
.hy-footer__row--bottom { border-block-start: 1px solid var(--border-light); }
.hy-footer__cols + .hy-footer__row--bottom, .hy-footer__row--top + .hy-footer__row--bottom { border-block-start: 1px solid var(--border-light); }
.hy-fzone { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; min-inline-size: 0; }
.hy-fzone--end { justify-content: flex-end; margin-inline-start: auto; }
.hy-footer__cols .hy-footer__inner { display: grid; grid-template-columns: repeat(var(--hy-cols, 4), minmax(0, 1fr)); gap: 2rem; padding-block: 2.5rem 2rem; }
.hy-footer__cols--lead .hy-footer__inner { grid-template-columns: minmax(0, 1.6fr) repeat(calc(var(--hy-cols, 4) - 1), minmax(0, 1fr)); }
.hy-footer__col { display: grid; align-content: start; gap: 1rem; min-inline-size: 0; }
.hy-c__title { margin: 0 0 .25rem; font-family: var(--font-heading, inherit); font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-primary); }
.hy-footer .hy-c { display: block; }
.hy-links__list, .hy-links__sub { margin: 0; padding: 0; list-style: none; }
.hy-links__list { display: grid; gap: .45rem; }
.hy-links__sub { padding-inline-start: .8rem; margin-block-start: .35rem; display: grid; gap: .35rem; }
.hy-links__link { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; opacity: .9; }
.hy-links__link:hover { color: var(--color-primary); opacity: 1; text-decoration: none; }
.hy-links__title { margin: 0 0 .6rem; font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--color-primary); }
.hy-links__sep { block-size: 1px; background: var(--border-light); }
.hy-footer__row .hy-links__list, .hy-links--footer_bottom .hy-links__list { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.hy-footer__row .hy-links__title { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hy-footer__row--top .hy-links__link { font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.hy-about { display: grid; gap: .75rem; }
.hy-about__brand { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; }
.hy-about__mark { display: inline-flex; align-items: center; justify-content: center; inline-size: 36px; block-size: 36px; border-radius: 50%; background: var(--color-primary-soft); color: var(--color-primary); font-weight: 700; }
.hy-about__name { font-family: var(--font-heading, inherit); font-weight: 700; font-size: 1.15rem; }
.hy-about__text { margin: 0; color: var(--text-secondary, var(--text-muted)); line-height: 1.7; }
.hy-about__text--long { max-inline-size: 36rem; }
.hy-about__address { font-style: normal; color: var(--text-muted); }
.hy-contact { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hy-contact li { display: flex; align-items: flex-start; gap: .5rem; }
.hy-contact address { font-style: normal; }
.hy-contact a { color: inherit; }
.hy-copyright { margin: 0; color: var(--text-secondary); font-size: .88rem; }
.hy-newsletter form { display: flex; flex-wrap: wrap; gap: .5rem; margin-block-start: .5rem; }
.hy-newsletter input { flex: 1 1 12rem; min-inline-size: 0; block-size: 40px; padding-inline: .8rem; border: 1px solid var(--border-base, var(--border-light)); border-radius: 10px; background: var(--bg-input, var(--bg-card)); color: inherit; font: inherit; }
.hy-newsletter--inline form { flex-wrap: nowrap; }
.hy-newsletter--placeholder { padding: .75rem 1rem; border: 1px dashed var(--border-strong, var(--border-light)); border-radius: 12px; color: var(--text-muted); }
.hy-apps { display: flex; flex-wrap: wrap; gap: .5rem; }
.hy-store { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 0; border-radius: 10px; background: var(--color-primary); color: var(--color-on-primary, #fff); font: inherit; font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.hy-store[hidden] { display: none; }
.hy-badges { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.hy-map iframe, .hy-map .hb-map { border-radius: 12px; }

/* ==== Modern footer (after P44): always a deep ground (the palette's dark colour with a golden glow at one corner and a thin gold rule
   on top), light words, gold headings, links that light up softly (the theme's glide) and a quiet bottom bar. ==== */
.hy-footer { --hy-ft-ink: rgb(255 255 255 / .86); --hy-ft-muted: rgb(255 255 255 / .6); --hy-ft-line: rgb(255 255 255 / .12); position: relative; margin-block-start: 4rem; border: 0; color: var(--hy-ft-ink);
    background: radial-gradient(70% 140% at 100% 0%, color-mix(in srgb, var(--color-accent, #a98b4f) 26%, transparent), transparent 60%),
        linear-gradient(180deg, var(--color-dark, #2b4732), color-mix(in srgb, var(--color-dark, #2b4732) 78%, #000)); }
[dir="rtl"] .hy-footer { background: radial-gradient(70% 140% at 0% 0%, color-mix(in srgb, var(--color-accent, #a98b4f) 26%, transparent), transparent 60%),
    linear-gradient(180deg, var(--color-dark, #2b4732), color-mix(in srgb, var(--color-dark, #2b4732) 78%, #000)); }
.hy-footer::before { content: ""; position: absolute; inset-block-start: 0; inset-inline: 0; block-size: 3px; background: linear-gradient(90deg, transparent, var(--color-accent, #a98b4f), transparent); }
.hy-footer :is(.hy-c__title, .hy-links__title) { color: var(--color-accent, #a98b4f); letter-spacing: .06em; }
.hy-footer .hy-links__link { color: var(--hy-ft-ink); opacity: 1; transition: color .2s var(--hy-ease); }
.hy-footer .hy-links__link:hover { color: rgb(255 255 255); }
.hy-footer .hy-about__mark { background: var(--color-accent, #a98b4f); color: var(--color-dark, #2b4732); }
.hy-footer :is(.hy-about__text, .hy-about__address, .hy-copyright, .hy-social__label) { color: var(--hy-ft-muted); }
.hy-footer :is(.hy-footer__row--bottom, .hy-footer__cols + .hy-footer__row--bottom, .hy-footer__row--top + .hy-footer__row--bottom) { border-color: var(--hy-ft-line); }
.hy-footer .hy-footer__col { border-color: var(--hy-ft-line); }
.hy-footer .hy-newsletter input { border-color: var(--hy-ft-line); background: rgb(255 255 255 / .08); color: rgb(255 255 255); }
.hy-footer .hd-lang__item > a { border-color: var(--hy-ft-line); background: rgb(255 255 255 / .06); }
.hy-footer .hb-social__link { color: var(--hy-ft-ink); }

/* ==== The grand footer (2026-10-29): green ground, matte gold and a deep maroon, never glossy. A faint lattice of eight-point stars
   drifts behind everything; a menu in headed groups (Menus › footer, two levels) becomes a map of the site — one card per group with a
   maroon tile for its icon, a gold rule, links with their own small icons that slide on hover. ==== */
.hy-footer { --hy-ft-gold: var(--color-accent, #a98b4f); --hy-ft-maroon: color-mix(in srgb, var(--color-danger, #a8443c) 56%, #2a0a12);
    --hy-ft-card: rgb(255 255 255 / .035); isolation: isolate; overflow: hidden;
    background: radial-gradient(60% 120% at 100% 0%, color-mix(in srgb, var(--hy-ft-gold) 22%, transparent), transparent 62%),
        radial-gradient(50% 90% at 0% 100%, color-mix(in srgb, var(--hy-ft-maroon) 55%, transparent), transparent 70%),
        linear-gradient(180deg, var(--color-dark, #2b4732), color-mix(in srgb, var(--color-dark, #2b4732) 72%, #000)); }
[dir="rtl"] .hy-footer { background: radial-gradient(60% 120% at 0% 0%, color-mix(in srgb, var(--hy-ft-gold) 22%, transparent), transparent 62%),
        radial-gradient(50% 90% at 100% 100%, color-mix(in srgb, var(--hy-ft-maroon) 55%, transparent), transparent 70%),
        linear-gradient(180deg, var(--color-dark, #2b4732), color-mix(in srgb, var(--color-dark, #2b4732) 72%, #000)); }
.hy-footer::before { z-index: 2; block-size: 2px; background: linear-gradient(90deg, transparent, var(--hy-ft-maroon) 18%, var(--hy-ft-gold) 50%, var(--hy-ft-maroon) 82%, transparent); }
.hy-footer::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .09;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23d9bf86' stroke-width='.8'%3E%3Cpath d='M32 10l6 16 16 6-16 6-6 16-6-16-16-6 16-6z'/%3E%3Cpath d='M32 18l4 10 10 4-10 4-4 10-4-10-10-4 10-4z' opacity='.6'/%3E%3Cpath d='M0 0l10 10M64 0L54 10M0 64l10-10M64 64L54 54'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 64px 64px; -webkit-mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / .35) 70%, transparent); mask-image: linear-gradient(180deg, #000, rgb(0 0 0 / .35) 70%, transparent);
    animation: hy-ft-drift 90s linear infinite; }
@keyframes hy-ft-drift { to { background-position: 64px 128px; } }
.hy-footer > * { position: relative; z-index: 1; }

/* The brand column: the mark in gold with a maroon ring, the newsletter in a framed card. */
.hy-footer .hy-about__mark { inline-size: 44px; block-size: 44px; border-radius: 14px; background: linear-gradient(145deg, color-mix(in srgb, var(--hy-ft-gold) 88%, #fff), var(--hy-ft-gold));
    color: var(--color-dark, #2b4732); font-size: 1.15rem; box-shadow: 0 0 0 3px rgb(0 0 0 / .32), 0 10px 24px -12px rgb(0 0 0 / .6); }
.hy-footer .hy-about__name { font-size: 1.3rem; letter-spacing: .01em; color: rgb(255 255 255); }
.hy-footer .hy-c--headerfooter-newsletter { padding: .9rem; border: 1px solid color-mix(in srgb, var(--hy-ft-gold) 26%, transparent); border-radius: 18px; background: var(--hy-ft-card); }
.hy-footer .hy-newsletter form { position: relative; display: block; margin: 0; }
.hy-footer .hy-newsletter input[type="email"] { inline-size: 100%; block-size: 52px; padding-inline: 1rem 8.5rem; font-size: .95rem; }
.hy-footer .hy-newsletter button[type="submit"] { position: absolute; inset-block: 5px; inset-inline-end: 5px; min-block-size: 0; padding-inline: 1.1rem; }
.hy-footer .hy-newsletter input { border-radius: 14px; }
.hy-footer .hy-newsletter input::placeholder { color: rgb(255 255 255 / .55); }
.hy-footer .hy-newsletter button { border-radius: 10px; background: var(--hy-ft-gold); color: var(--color-dark, #2b4732); font-weight: 700; border: 0; box-shadow: none; }
.hy-footer .hy-newsletter button:hover { background: color-mix(in srgb, var(--hy-ft-gold) 85%, #fff); }

/* The grouped menu: the column title gives way to the groups' own heads. */
.hy-footer__cols--lead .hy-footer__inner:has(.hy-links__link--heading) { grid-template-columns: minmax(19rem, 1.15fr) minmax(0, 3fr); gap: clamp(1.5rem, 3vw, 3rem); padding-block: 3.25rem 2.5rem; }
.hy-footer .hy-links:has(.hy-links__link--heading) > .hy-links__title { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hy-footer .hy-links:has(.hy-links__link--heading) > .hy-links__list { grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: .9rem; }
.hy-footer .hy-links__list > .hy-links__item:has(> .hy-links__link--heading) { position: relative; display: grid; align-content: start; gap: .2rem; padding: 1rem 1rem .8rem;
    border: 1px solid rgb(255 255 255 / .07); border-radius: 20px; background: var(--hy-ft-card); transition: border-color .35s var(--hy-ease), background-color .35s var(--hy-ease), transform .35s var(--hy-ease); }
.hy-footer .hy-links__list > .hy-links__item:has(> .hy-links__link--heading):hover { border-color: color-mix(in srgb, var(--hy-ft-gold) 34%, transparent); background: rgb(255 255 255 / .055); }
.hy-footer .hy-links__link--heading { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon title" "icon sub"; align-items: center; column-gap: .7rem; row-gap: .05rem;
    position: relative; padding-block-end: .8rem; margin-block-end: .35rem; border-block-end: 1px solid rgb(255 255 255 / .08); opacity: 1; }
.hy-footer .hy-links__link--heading > .hy-icon { grid-area: icon; display: grid; place-items: center; inline-size: 40px; block-size: 40px; border-radius: 13px; background: var(--hy-ft-maroon);
    color: color-mix(in srgb, var(--hy-ft-gold) 80%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--hy-ft-gold) 30%, transparent); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.hy-footer .hy-links__link--heading > .hy-icon svg { inline-size: 19px; block-size: 19px; }
.hy-footer .hy-links__item:hover > .hy-links__link--heading > .hy-icon { transform: rotate(-8deg) scale(1.06); }
.hy-footer .hy-links__link--heading > .hy-links__link__text { grid-area: title; color: rgb(255 255 255); font-family: var(--font-heading, inherit); font-size: 1rem; font-weight: 800; line-height: 1.3; }
.hy-footer .hy-links__link--heading > .hy-menu__subtitle { grid-area: sub; color: color-mix(in srgb, var(--hy-ft-gold) 75%, #fff); font-size: .74rem; line-height: 1.4; opacity: .85; }
/* A short gold-and-maroon rule under each group's head. */
.hy-footer .hy-links__link--heading::after { content: ""; position: absolute; inset-inline-start: 0; inset-block-end: -1px; inline-size: 34px; block-size: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--hy-ft-gold), var(--hy-ft-maroon)); transition: inline-size .4s var(--hy-ease); }
[dir="rtl"] .hy-footer .hy-links__link--heading::after { background: linear-gradient(-90deg, var(--hy-ft-gold), var(--hy-ft-maroon)); }
.hy-footer .hy-links__item:hover > .hy-links__link--heading::after { inline-size: 64px; }
.hy-footer .hy-links__link--heading ~ .hy-links__sub { margin: 0; padding: 0; gap: 1px; }
.hy-footer .hy-links__sub .hy-links__link { position: relative; display: flex; gap: .55rem; inline-size: 100%; padding: .38rem .5rem; border-radius: 10px; font-size: .9rem; color: var(--hy-ft-ink);
    transition: color .25s var(--hy-ease), background-color .25s var(--hy-ease), padding .3s var(--hy-ease); }
.hy-footer .hy-links__sub .hy-links__link .hy-icon { inline-size: 16px; block-size: 16px; color: color-mix(in srgb, var(--hy-ft-gold) 70%, transparent); transition: color .25s var(--hy-ease), transform .3s var(--hy-ease); }
.hy-footer .hy-links__sub .hy-links__link .hy-icon svg { inline-size: 16px; block-size: 16px; }
.hy-footer .hy-links__sub .hy-links__link:hover { padding-inline-start: .8rem; background: rgb(255 255 255 / .06); color: rgb(255 255 255); }
.hy-footer .hy-links__sub .hy-links__link:hover .hy-icon { color: var(--hy-ft-gold); transform: scale(1.12); }
.hy-footer .hy-links__sub .hy-links__link[aria-current="page"] { color: rgb(255 255 255); font-weight: 700; }
.hy-footer .hy-links__sub .hy-links__link[aria-current="page"]::after { content: ""; inline-size: 6px; block-size: 6px; margin-inline-start: auto; border-radius: 50%; background: var(--hy-ft-gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--hy-ft-gold) 25%, transparent); }
/* The groups rise in turn when the footer comes into view (where the browser can tie an animation to scrolling). */
@supports (animation-timeline: view()) {
    .hy-footer .hy-links__list > .hy-links__item:has(> .hy-links__link--heading) { animation: hy-ft-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .hy-footer .hy-links__list > .hy-links__item:nth-child(2) { animation-range: entry 8% entry 78%; }
    .hy-footer .hy-links__list > .hy-links__item:nth-child(3) { animation-range: entry 16% entry 86%; }
    .hy-footer .hy-links__list > .hy-links__item:nth-child(4) { animation-range: entry 24% entry 94%; }
}
@keyframes hy-ft-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* The bottom bar: copyright at one end, the site's pages as quiet pills with gold dots between them at the other. */
.hy-footer .hy-footer__row--bottom { background: rgb(0 0 0 / .16); }
.hy-footer .hy-footer__row--bottom .hy-footer__inner { padding-block: .9rem; }
.hy-footer .hy-links--footer_bottom .hy-links__list { gap: .25rem; align-items: center; }
.hy-footer .hy-links--footer_bottom .hy-links__item + .hy-links__item::before { content: ""; display: inline-block; inline-size: 4px; block-size: 4px; margin-inline-end: .25rem; border-radius: 50%; background: var(--hy-ft-gold); opacity: .7; vertical-align: middle; }
.hy-footer .hy-links--footer_bottom .hy-links__link { padding: .25rem .6rem; border-radius: 999px; font-size: .84rem; color: var(--hy-ft-muted); }
.hy-footer .hy-links--footer_bottom .hy-links__link:hover { background: rgb(255 255 255 / .07); color: rgb(255 255 255); }
.hy-footer .hy-links--footer_bottom .hy-icon svg { inline-size: 14px; block-size: 14px; }
.hy-footer .hy-copyright { font-size: .84rem; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .hy-footer::after { animation: none; } .hy-footer .hy-links__list > .hy-links__item { animation: none !important; } }
@media (max-width: 1023.98px) { .hy-footer__cols--lead .hy-footer__inner:has(.hy-links__link--heading) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767.98px) {
    .hy-footer .hy-links:has(.hy-links__link--heading) > .hy-links__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
    .hy-footer .hy-links__list > .hy-links__item:has(> .hy-links__link--heading) { padding: .8rem .7rem .6rem; border-radius: 16px; }
    .hy-footer .hy-links__link--heading { grid-template-areas: "icon title"; }
    .hy-footer .hy-links__link--heading > .hy-menu__subtitle { display: none; }
    .hy-footer .hy-links__link--heading > .hy-icon { inline-size: 34px; block-size: 34px; border-radius: 11px; }
    .hy-footer .hy-links__sub .hy-links__link { padding: .32rem .35rem; font-size: .85rem; }
    .hy-footer__col:has(.hy-links__link--heading) { border-block-end: 0; }
}

@media (max-width: 767.98px) {
    .hy-footer__cols .hy-footer__inner, .hy-footer__cols--lead .hy-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 0; padding-block: 1rem; }
    .hy-footer__col { padding-block: .75rem; border-block-end: 1px solid var(--border-light); }
    .hy-footer__col:last-child { border-block-end: 0; }
    .hy-fold__toggle { display: flex; align-items: center; justify-content: space-between; inline-size: 100%; padding: .25rem 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: start; }
    .hy-fold__toggle .hy-chevron { transition: transform .2s var(--hy-ease); }
    .hy-fold__toggle[aria-expanded="true"] .hy-chevron { transform: rotate(180deg); }
    .hy-footer__row .hy-footer__inner { flex-direction: column; align-items: flex-start; }
    .hy-fzone--end { margin-inline-start: 0; justify-content: flex-start; }
    .hy-newsletter--inline form { flex-wrap: wrap; }
}
@media (min-width: 768px) { .hy-fold__toggle .hy-chevron { display: none; } .hy-fold__toggle { all: unset; display: block; } .hy-fold__body[hidden] { display: grid !important; } }

/* ---- bottom bar (phones) -------------------------------------------------- */
.hy-bottomnav { display: none; }
@media (max-width: 767.98px) {
    body:has(.hy-bottomnav) { padding-block-end: calc(var(--hy-bar-h) + 22px + env(safe-area-inset-bottom)); }
    .hy-bottomnav { display: block; position: fixed; inset-inline: 10px; inset-block-end: calc(10px + env(safe-area-inset-bottom)); z-index: 890; transition: transform .3s var(--hy-ease); }
    .hy-bottomnav.is-hidden { transform: translateY(calc(100% + 30px)); }
    .hy-bottomnav__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: end; block-size: var(--hy-bar-h); margin: 0; padding: 0 6px 7px; list-style: none;
        background: var(--bg-mobile-nav, var(--bg-card)); border: 1px solid var(--border-light); border-radius: 22px; box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .35); }
    .hy-bottomnav__item { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; inline-size: 100%; block-size: 100%; padding: 0; border: 0; background: none;
        color: var(--text-mobile-nav, var(--text-muted)); font: inherit; font-size: 11px; text-decoration: none; cursor: pointer; }
    .hy-bottomnav__bubble { display: inline-flex; align-items: center; justify-content: center; inline-size: 30px; block-size: 30px; border-radius: 50%; transition: transform .25s var(--hy-ease), background-color .25s var(--hy-ease), box-shadow .25s var(--hy-ease); }
    .hy-bottomnav__bubble svg { inline-size: 22px; block-size: 22px; }
    .hy-bottomnav__label { max-inline-size: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.2; }
    .hy-bottomnav__item.is-active { color: var(--text-mobile-nav-active, var(--text-main)); font-weight: 700; }
    /* bubble (Demo): the active item rises in a round bubble and the bar curves around it */
    .hy-bottomnav--bubble .hy-bottomnav__item.is-active .hy-bottomnav__bubble { inline-size: 56px; block-size: 56px; transform: translateY(-22px); margin-block-end: -22px; background: var(--bg-mobile-nav, var(--bg-card)); color: var(--color-primary);
        box-shadow: 0 0 0 7px var(--bg-app), 0 -1px 0 7px var(--border-light), 0 10px 20px -10px rgba(0, 0, 0, .4); }
    .hy-bottomnav--bubble .hy-bottomnav__item.is-active .hy-bottomnav__bubble svg { fill: var(--color-primary-light); }
    .hy-bottomnav--underline { inset-inline: 0; inset-block-end: 0; }
    .hy-bottomnav--underline .hy-bottomnav__list { border-radius: 0; border-inline: 0; border-block-end: 0; padding-block-end: calc(7px + env(safe-area-inset-bottom)); block-size: calc(var(--hy-bar-h) + env(safe-area-inset-bottom)); }
    .hy-bottomnav--underline .hy-bottomnav__item.is-active { color: var(--color-primary); }
    .hy-bottomnav--underline .hy-bottomnav__item.is-active::after { content: ""; position: absolute; inset-block-end: -4px; inline-size: 26px; block-size: 3px; border-radius: 3px; background: var(--color-primary); }
    .hy-bottomnav--floating .hy-bottomnav__item.is-active { color: var(--color-primary); }
    .hy-bottomnav--pill .hy-bottomnav__item.is-active .hy-bottomnav__bubble { inline-size: 54px; border-radius: 999px; background: var(--color-primary-light); color: var(--color-primary); }
}

/* ---- preview frames of the panel ------------------------------------------ */
.hy-preview .hy-header--transparent { position: sticky; }
