/* Shared navigation. Scoped to the header to preserve every page layout. */
.ho-header { --ho-ink: #26351c; --ho-muted: #58634f; --ho-green: #426e1b; --ho-border: #dde4d5; }
.home-3-page header.main-header.ho-header { position: fixed; top: max(22px, env(safe-area-inset-top)); z-index: 1000; }
.ho-header .header-sticky { overflow: visible; }
.home-3-page header.main-header.ho-header .header-sticky {
  border-color: #ffffffdc;
  box-shadow: 0 0 0 1px #e5c5d9a6, 0 0 16px #ffffff80, 0 0 32px #db94bb45, 0 12px 30px #658e3540, 0 20px 48px #17290e30;
}
html { scroll-padding-top: 125px; }
.ho-nav-bar { display: flex; align-items: center; gap: 22px; padding: 14px 25px; }
.home-3-page .ho-header .navbar-brand img { width: 218px; height: auto; }
.ho-header .navbar-brand { flex: 0 0 auto; }
.ho-navigation { display: flex; align-items: center; justify-content: flex-end; gap: 18px; flex: 1; min-width: 0; }
.ho-menu, .ho-card-list { list-style: none; padding: 0; margin: 0; }
.ho-menu { display: flex; align-items: center; gap: 2px; }
.ho-top-row { display: flex; align-items: center; border-radius: 12px; }
.ho-top-link { display: block; padding: 12px 9px; color: var(--ho-ink); font-size: 1rem; font-weight: 650; line-height: 1.35; white-space: nowrap; border-radius: 12px; }
.ho-top-row .ho-top-link { padding-right: 1px; }
.ho-top-link:hover, .ho-top-link:focus-visible { color: var(--ho-green); background: #edf3e7; }
.ho-top-link[aria-current="page"], .ho-section-current > .ho-top-row { color: var(--ho-green); background: #edf3e7; }
.ho-section-current > .ho-top-row .ho-top-link { color: var(--ho-green); }
.ho-submenu-toggle { width: 29px; height: 42px; flex: 0 0 29px; display: grid; place-items: center; border: 0; background: transparent; color: var(--ho-ink); border-radius: 9px; padding: 0; }
.ho-submenu-toggle:hover { color: var(--ho-green); background: #e5eddd; }
.ho-submenu-toggle svg { transition: transform .18s ease; }
.ho-submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.ho-nav-group.is-open > .ho-top-row { background: #edf3e7; }
.ho-header :is(a, button):focus-visible { outline: 3px solid #5c822f; outline-offset: 3px; }
.ho-book-button { display: inline-flex; justify-content: center; align-items: center; gap: 6px; border: 1px solid #426e1b; border-radius: 100px; padding: 11px 15px 11px 10px; color: #fff; background: #426e1b; font-size: .9375rem; font-weight: 650; line-height: 1.25; white-space: nowrap; box-shadow: inset 0 1px 0 #ffffff25; transition: background .18s ease; }
.ho-book-button:hover, .ho-book-button:focus-visible { color: #fff; background: #314f17; }
.ho-book-button img { flex-shrink: 0; }
.ho-mega { position: absolute; top: calc(100% + 12px); left: 10px; right: 10px; width: auto; max-width: 1030px; margin: 0 auto; color: var(--ho-ink); background: #fffefd; border: 1px solid #d9e2d0; border-radius: 24px; box-shadow: 0 28px 64px #17290e30, 0 4px 12px #17290e0c; overflow: visible; z-index: 110; }
.ho-mega[hidden] { display: none; }
.ho-mega::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.ho-mega-services { max-width: 1260px; }
.ho-mega-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 21px 29px 17px; border-bottom: 1px solid var(--ho-border); background: linear-gradient(110deg, #f1f6eb, #fcf1f6); border-radius: 24px 24px 0 0; }
.ho-mega-heading > span:first-child { font-size: 1.25rem; line-height: 1.4; font-weight: 700; }
.ho-mega-caption { color: var(--ho-muted); font-size: .875rem; line-height: 1.4; }
.ho-mega-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 23px 23px 22px; max-height: calc(100dvh - 280px); overflow-y: auto; overscroll-behavior: contain; }
.ho-mega-services .ho-mega-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ho-mega-column { min-width: 0; }
.ho-mega-column + .ho-mega-column { border-left: 1px solid var(--ho-border); padding-left: 20px; }
.ho-mega-services .ho-mega-column + .ho-mega-column { padding-left: 14px; }
.ho-mega-column h2 { margin: 0 0 10px; padding: 0 8px; color: #526143; font-size: .875rem; line-height: 1.5; font-weight: 650; }
.ho-card-list { display: grid; gap: 5px; }
.ho-menu-card { display: flex; align-items: center; gap: 13px; padding: 11px 8px; border: 1px solid transparent; border-radius: 14px; color: var(--ho-ink); text-decoration: none; min-height: 86px; transition: background .18s ease, border-color .18s ease; }
.ho-menu-card:hover, .ho-menu-card:focus-visible { background: #f1f6eb; color: var(--ho-green); border-color: #dce7cf; }
.ho-menu-card[aria-current="page"] { background: #f7edf2; border-color: #ead2df; }
.ho-menu-icon { display: block; width: 64px; height: 64px; flex: 0 0 64px; object-fit: contain; transition: transform .2s ease; }
.ho-menu-card:hover .ho-menu-icon { transform: translateY(-2px); }
.ho-menu-copy { min-width: 0; }
.ho-menu-title { display: block; font-size: 1.0625rem; font-weight: 650; line-height: 1.3; }
.ho-menu-description { display: block; margin-top: 5px; font-size: .875rem; font-weight: 400; line-height: 1.45; color: var(--ho-muted); }
.ho-mega-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ho-border); padding: 10px 29px; background: #f8faf5; border-radius: 0 0 24px 24px; }
.ho-mega-footer a { display: inline-flex; align-items: center; gap: 8px; color: var(--ho-green); font-size: .9375rem; font-weight: 600; line-height: 1.4; min-height: 38px; }
.ho-mega-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ho-mobile-toggle { display: none; }
.ho-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
html:not(.ho-nav-ready) .ho-nav-group:is(:hover, :focus-within) > .ho-mega { display: block; }

@media (min-width: 1100px) and (max-width: 1240px) {
  .ho-nav-bar { gap: 12px; padding-inline: 18px; }
  .home-3-page .ho-header .navbar-brand img { width: 185px; }
  .ho-navigation { gap: 9px; }
  .ho-menu { gap: 0; }
  .ho-top-link { padding-left: 7px; padding-right: 7px; }
  .ho-book-button { padding-right: 12px; font-size: .875rem; }
  .ho-mega-columns { padding-inline: 18px; }
  .ho-menu-card { gap: 8px; padding-inline: 4px; }
  .ho-mega-services .ho-mega-column + .ho-mega-column { padding-left: 10px; }
}

@media (max-width: 1099px) {
  .home-3-page header.main-header.ho-header { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); top: max(12px, env(safe-area-inset-top)); }
  .home-3-page .ho-header .header-sticky { border-radius: 24px; }
  .ho-nav-bar { padding: 12px 18px; gap: 16px; justify-content: space-between; }
  .home-3-page .ho-header .navbar-brand img { width: min(47vw, 220px); }
  .ho-nav-ready .ho-mobile-toggle { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 46px; padding: 11px 15px; border: 1px solid #d0dbc4; border-radius: 13px; background: #edf3e7; color: var(--ho-ink); }
  .ho-toggle-label { font-size: 1rem; line-height: 1.35; font-weight: 650; }
  .ho-hamburger { width: 19px; height: 17px; position: relative; }
  .ho-hamburger span { position: absolute; width: 19px; height: 2px; left: 0; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
  .ho-hamburger span:nth-child(1) { top: 1px; }
  .ho-hamburger span:nth-child(2) { top: 7px; }
  .ho-hamburger span:nth-child(3) { top: 13px; }
  .ho-mobile-toggle[aria-expanded="true"] .ho-hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .ho-mobile-toggle[aria-expanded="true"] .ho-hamburger span:nth-child(2) { opacity: 0; }
  .ho-mobile-toggle[aria-expanded="true"] .ho-hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .ho-navigation { display: block; position: absolute; top: calc(100% + 9px); left: 0; right: 0; max-height: calc(100dvh - var(--ho-header-bottom, 102px) - 22px); overflow-y: auto; overscroll-behavior: contain; padding: 12px 14px 18px; background: #fffefd; border: 1px solid var(--ho-border); border-radius: 22px; box-shadow: 0 24px 50px #15230d38; -webkit-overflow-scrolling: touch; }
  .ho-nav-ready .ho-navigation:not(.is-mobile-open) { display: none; }
  .ho-menu { display: block; }
  .ho-menu > li { padding-block: 2px; border-bottom: 1px solid #e4e9df; }
  .ho-menu > li:last-child { border-bottom: 0; }
  .ho-top-row { justify-content: space-between; }
  .ho-top-link { padding: 14px 12px; font-size: 1.0625rem; white-space: normal; min-height: 50px; }
  .ho-top-row .ho-top-link { flex: 1; }
  .ho-submenu-toggle { width: 46px; height: 46px; flex-basis: 46px; background: #f1f5ec; margin-right: 2px; }
  .ho-mega { position: static; margin: 5px 0 11px; width: 100%; max-width: none; border: 0; border-radius: 15px; box-shadow: none; background: #fafbf7; }
  .ho-mega::before { display: none; }
  .ho-mega-heading { display: none; }
  .ho-mega-columns, .ho-mega-services .ho-mega-columns { grid-template-columns: 1fr; gap: 15px; padding: 14px 7px 10px; max-height: none; overflow: visible; }
  .ho-mega-column + .ho-mega-column, .ho-mega-services .ho-mega-column + .ho-mega-column { border-left: 0; border-top: 1px solid var(--ho-border); padding: 16px 0 0; }
  .ho-mega-column h2 { font-size: .875rem; padding-inline: 7px; margin-bottom: 5px; }
  .ho-card-list { gap: 4px; }
  .ho-menu-card { gap: 12px; padding: 10px 5px; min-height: 80px; }
  .ho-menu-icon { width: 64px; height: 64px; flex-basis: 64px; }
  .ho-menu-title { font-size: 1.125rem; line-height: 1.4; }
  .ho-menu-description { font-size: 1rem; line-height: 1.45; margin-top: 3px; }
  .ho-mega-footer { display: none; }
  .ho-book-button { display: flex; margin-top: 15px; min-height: 54px; padding: 10px 18px; font-size: 1rem; }
  html.ho-mobile-menu-open { overflow: hidden; }
  html.ho-mobile-menu-open body { overflow: hidden; }
  html:not(.ho-nav-ready) .ho-mega[hidden] { display: block; }

  /* The entire header expands to the viewport; only menu items scroll. */
  .ho-mobile-menu-open .home-3-page header.main-header.ho-header {
    inset: 0;
    height: 100vh;
    height: 100dvh;
    background: #fffefd;
  }
  .ho-mobile-menu-open .home-3-page header.main-header.ho-header .header-sticky {
    height: 100%; max-width: none; border: 0; border-radius: 0;
    background: #fffefd; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .ho-mobile-menu-open .ho-nav { height: 100%; }
  .ho-mobile-menu-open .ho-nav-bar {
    height: 100%; min-height: 0; display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: stretch;
    gap: 16px 12px;
    padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  }
  .ho-navigation.is-mobile-open {
    position: static; display: grid; grid-column: 1 / -1;
    /* Reset desktop alignment so the single grid column fills the screen. */
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto; gap: 14px;
    place-content: stretch; place-items: stretch;
    align-self: stretch; width: 100%; height: 100%; min-height: 0; max-height: none;
    margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0;
    background: transparent; box-shadow: none;
  }
  .is-mobile-open .ho-menu {
    width: 100%; min-width: 0; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; padding: 5px 4px 20px;
    scrollbar-width: thin; scrollbar-color: #cbd9bc transparent;
  }
  .is-mobile-open .ho-menu > li { padding-block: 5px; animation: ho-menu-reveal .48s ease both; }
  .is-mobile-open .ho-menu > li:nth-child(2) { animation-delay: .05s; }
  .is-mobile-open .ho-menu > li:nth-child(3) { animation-delay: .10s; }
  .is-mobile-open .ho-menu > li:nth-child(4) { animation-delay: .15s; }
  .is-mobile-open .ho-menu > li:nth-child(5) { animation-delay: .20s; }
  .is-mobile-open .ho-menu > li:nth-child(6) { animation-delay: .25s; }
  .is-mobile-open .ho-top-link { font-size: clamp(1.375rem, 5.5vw, 1.75rem); padding: 16px 12px; line-height: 1.35; }
  .is-mobile-open .ho-submenu-toggle { width: 52px; height: 52px; flex-basis: 52px; }
  .is-mobile-open .ho-submenu-toggle svg { width: 20px; height: 20px; }
  .is-mobile-open .ho-mega:not([hidden]) { animation: ho-menu-reveal .35s ease both; }
  .is-mobile-open .ho-book-button {
    width: 100%; margin: 0; min-height: 62px; padding: 13px 18px; font-size: 1.125rem;
    white-space: normal; text-align: center;
    box-shadow: 0 -10px 24px #fffefd, 0 5px 16px #426e1b24;
    animation: ho-menu-reveal .48s .20s ease both;
  }
  .is-mobile-open .ho-book-button img { width: 36px; height: 36px; }
  .ho-mobile-menu-open .ho-header .navbar-brand { min-width: 0; }
  .ho-mobile-menu-open .ho-header .navbar-brand img { max-width: 100%; }
}

@keyframes ho-menu-reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 359px) {
  .ho-nav-bar { padding: 12px; gap: 10px; }
  .ho-mobile-toggle { gap: 7px; padding-inline: 10px; }
  .ho-navigation { padding-inline: 9px; }
  .ho-menu-card { gap: 8px; }
  .ho-menu-icon { width: 56px; height: 56px; flex-basis: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .ho-header *, .ho-header *::before, .ho-header *::after { transition: none !important; animation: none !important; }
}
