/* Header: top bar, logo, main menu, mega menu, search, mobile menu */
/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #DCE3DF; font-size: 14px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar__note { margin: 0; }
.topbar__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__links a { text-decoration: none; }
.topbar__links a:hover { color: #fff; }
@media (max-width: 760px) { .topbar__note { display: none; } .topbar__links { width: 100%; justify-content: center; } .topbar__links li:not(:last-child) { display: none; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand > img { height: 62px; width: auto; max-width: 240px; object-fit: contain; }
@media (max-width: 760px) { .brand > img { height: 50px; max-width: 170px; } }
.brand > img.brand__badge { height: 76px; background: #fff; padding: 8px 14px; border-radius: 10px; box-sizing: border-box; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font-size: 25px; font-variation-settings: "wdth" 125; font-weight: 750; letter-spacing: -.01em; }
.brand__word small { font-size: 12.5px; color: var(--concrete); margin-top: 4px; letter-spacing: .02em; }
.brand--light .brand__word small { color: #A8B6B1; }

.nav { margin-left: auto; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav__link { display: flex; align-items: center; gap: 4px; padding: 10px 14px; text-decoration: none; font-weight: 550; font-size: 16px; border-radius: var(--r-sm); }
.nav__link:hover { background: var(--lime); color: var(--ink); }
.chev { width: 12px; height: 12px; transition: transform .15s; }
.nav__mobile-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--r-sm); cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--lime); }
.burger { display: none; }
.burger { position: relative; }
.burger span { position: absolute; left: 12px; width: 20px; height: 2px; background: currentColor; border-radius: 1px; transition: transform .2s, opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }

/* Mega menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(24, 48, 45, .35); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility 0s .15s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.has-mega:hover .chev, .has-mega.is-open .chev { transform: rotate(180deg); }
.mega__in { display: grid; grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 32px; padding-block: 28px 32px; }

/* left: group tabs */
.mega__tabs { display: flex; flex-direction: column; gap: 4px; padding-right: 24px; border-right: 1px solid var(--line); }
.mega__tab { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 8px; width: 100%; padding: 12px 14px; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: background-color .15s; }
.mega__tab-name { font-weight: 700; font-size: 16.5px; font-variation-settings: "wdth" 106; }
.mega__tab-count { grid-column: 1; font-size: 13px; color: var(--concrete); }
.mega__tab-arrow { grid-column: 2; grid-row: 1 / span 2; opacity: 0; transition: opacity .15s, transform .15s; }
.mega__tab:hover { background: var(--lime); }
.mega__tab.is-active { background: var(--ink); color: #fff; }
.mega__tab.is-active .mega__tab-count { color: #B9C6C1; }
.mega__tab.is-active .mega__tab-arrow { opacity: 1; transform: translateX(2px); }
.mega__all { margin-top: auto; padding: 12px 14px 0; font-weight: 650; font-size: 15px; text-decoration: none; border-top: 1px solid var(--line); }
.mega__all:hover { color: var(--oak-deep); }

/* middle: collection photo cards */
.mega__panel { display: none; }
.mega__panel.is-active { display: block; animation: mega-in .18s ease-out; }
@keyframes mega-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mega__panel-head { display: none; }
.mega__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mega__card { display: block; text-decoration: none; color: var(--ink); }
.mega__thumb { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--lime); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.mega__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mega__card:hover .mega__thumb img { transform: scale(1.06); }
.mega__card-text { display: block; padding-top: 9px; }
.mega__card-text b { display: block; font-size: 15px; line-height: 1.3; }
.mega__card-text small { color: var(--concrete); font-size: 13px; }
.mega__card:hover b { color: var(--oak-deep); }

/* right: site-visit card with photo */
.mega__cta { position: relative; display: flex; align-items: flex-end; min-height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: #DCE3DF; text-decoration: none; font-size: 14.5px; isolation: isolate; }
.mega__cta-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.mega__cta.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(24, 48, 45, .1) 0%, rgba(24, 48, 45, .92) 62%); }
.mega__cta:hover .mega__cta-img { transform: scale(1.04); }
.mega__cta-body { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; padding: 22px; }
.mega__cta:hover { color: #fff; }
.mega__cta-title { font-size: 20px; font-weight: 700; color: #fff; font-variation-settings: "wdth" 112; line-height: 1.2; }
.mega__cta .btn { margin-top: 6px; }
@media (max-width: 1240px) and (min-width: 1081px) { .mega__in { grid-template-columns: 190px minmax(0, 1fr) 220px; } .mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Search bar */
.searchbar { border-top: 1px solid var(--line); background: var(--lime); }
.searchbar__in { display: flex; gap: 10px; padding-block: 12px; }
.searchbar input, .search-inline input { flex: 1; min-height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; background: #fff; }
.searchbar input:focus, .search-inline input:focus { border-color: var(--ink); outline: none; }

@media (max-width: 1080px) {
  .burger { display: grid; }
  .header-cta { display: none; }
  .site-header { backdrop-filter: none; background: #fff; }
  .nav { position: fixed; inset: var(--nav-top, 114px) 0 0 0; background: #fff; overflow-y: auto; padding: 16px var(--gutter) 40px; transform: translateX(100%); transition: transform .25s ease; margin: 0; }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 16px 0; font-size: 19px; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .nav__link:hover { background: none; }
  .mega { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; display: none; }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega__in { display: block; padding: 6px 0 16px; }
  .mega__tabs, .mega__cta { display: none; }
  .mega__panel { display: block; animation: none; margin-bottom: 14px; }
  .mega__panel-head { display: block; font-weight: 700; font-size: 14px; color: var(--concrete); margin: 10px 0 6px; }
  .mega__grid { grid-template-columns: 1fr; gap: 2px; }
  .mega__card { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
  .mega__thumb { width: 52px; flex-shrink: 0; aspect-ratio: 1 / 1; border-radius: 6px; }
  .mega__card-text { padding: 0; }
  .mega__card-text b { font-size: 16px; }
  .nav__mobile-extra { display: grid; gap: 10px; margin-top: 24px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.nav-open .burger span:nth-child(2) { opacity: 0; }
  body.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 760px) { .nav { inset: var(--nav-top, 114px) 0 0 0; } .site-header__in { min-height: 76px; gap: 12px; } .brand__word b { font-size: 22px; } }

