/* Site-wide header, the same on every page. */
html body.hero3-nav-open { overflow: hidden !important; }
.hero3-header {
  --h3-accent: #1fb3e0; --h3-header-h: 96px; --h3-container-max: 1700px; --h3-ease: cubic-bezier(.22, .61, .36, 1);
  position: fixed; top: 0; left: 0; right: 0; z-index: 150; height: var(--h3-header-h);
  color: #fff; font-family: 'Titillium Web', sans-serif; line-height: 1.6;
  transition: opacity .8s var(--h3-ease) .2s, transform .8s var(--h3-ease) .2s;
}
body.hero3-is-loading .hero3-header, body.hero3-nav-open .hero3-header { z-index: 1001; }
.hero3-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgb(8 10 14 / 59%);
  backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .45);
}
/* Homepage only: stays hidden for the first moments of the preloader, then fades in over it. */
body.hero3-is-loading:not(.hero3-header-ready) .hero3-header { opacity: 0; transform: translateY(-12px); }
.hero3-header a { color: inherit; text-decoration: none; }
.hero3-header ul { list-style: none; margin: 0; }
.hero3-nav__list { padding: 0; }
.hero3-header__inner {
  height: 100%; width: min(var(--h3-container-max), 100% - 40px); margin-inline: auto;
  display: flex; align-items: center; gap: 2rem;
}
.hero3-header__logo { margin-left: 30px; }
.hero3-header__logo img { display: block; height: 52px; width: auto; max-width: 100%; }
.hero3-nav { margin-left: auto; }
.hero3-nav__list { display: flex; align-items: center; gap: 2rem; }
.hero3-nav__list > li { position: relative; }
.hero3-nav__list a {
  font-size: 1.02rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: .5rem 0; display: inline-flex; align-items: center; gap: .4rem; opacity: .92; transition: opacity .2s, color .2s;
}
.hero3-nav__list a:hover { opacity: 1; color: var(--h3-accent); }
.hero3-chev { transition: transform .25s; }
/* Contact block under the mobile menu's nav links (hidden on desktop,
   where .hero3-nav is the inline header nav, not the fullscreen overlay). */
.hero3-nav__contact { display: none; }
.hero3-header__cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: #fff; cursor: pointer; padding: 0;
  transition: color .2s, transform .2s;
}
.hero3-header__cart:hover { color: var(--h3-accent); transform: translateY(-1px); }
.hero3-sub-toggle { display: none; }
.hero3-sub {
  position: absolute; top: 100%; left: -1rem; min-width: 220px; padding: .6rem;
  background: #fff; color: #0b0d10; border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--h3-ease), visibility 0s linear .25s;
}
.hero3-nav__list .hero3-sub a { display: block; padding: .6rem .9rem; border-radius: 8px; font-size: .9rem; }
.hero3-nav__list .hero3-sub a:hover { background: #eef8fc; color: #0b7da3; }
@media (hover: hover) and (min-width: 901px) {
  .hero3-has-sub:hover .hero3-sub, .hero3-has-sub:focus-within .hero3-sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .hero3-has-sub:hover .hero3-chev { transform: rotate(180deg); }
}
.hero3-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: var(--h3-accent); transition: transform .25s var(--h3-ease), background .25s;
}
.hero3-header a.hero3-btn { color: #fff; }
.hero3-btn:hover { transform: translateY(-2px); background: #17a0cb; }
.hero3-header__cta { margin-right: 45px; }
.hero3-burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; color: #fff; cursor: pointer; position: relative; padding: 0; }
.hero3-burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--h3-ease), opacity .2s, top .3s var(--h3-ease); }
.hero3-burger span:nth-child(1) { top: 15px; }
.hero3-burger span:nth-child(2) { top: 21px; }
.hero3-burger span:nth-child(3) { top: 27px; }
.hero3-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hero3-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hero3-burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .hero3-header { --h3-header-h: 76px; }
  .hero3-header__logo { margin-left: 15px; }
  .hero3-header__logo img { height: 47px; }
  .hero3-header__cta { display: none; }
  .hero3-header__cart { margin-left: auto; }
  .hero3-burger { display: block; z-index: 2; margin-left: 0; }
  .hero3-nav {
    position: fixed; inset: 0; margin: 0; padding: calc(var(--h3-header-h) + 1.5rem) 24px 2rem;
    background: #07090c; color: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--h3-ease), transform .35s var(--h3-ease), visibility 0s linear .35s;
  }
  body.hero3-nav-open .hero3-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .hero3-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .hero3-nav__list > li { border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero3-nav__list a { font-size: 1.15rem; padding: 1rem 0; width: 100%; }
  .hero3-has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  /* Only the "Interior Design" text itself should navigate - it no longer
     stretches to fill the row. The toggle button takes all the remaining
     space (the blank area after the text, plus the arrow), so tapping
     anywhere there expands/collapses the submenu instead of needing to
     land exactly on the small arrow. */
  .hero3-has-sub > a { width: auto; flex: 0 0 auto; }
  .hero3-has-sub .hero3-chev { display: none; }
  .hero3-sub-toggle { display: flex; align-items: center; justify-content: flex-end; flex: 1; height: 44px; min-width: 44px; background: none; border: 0; position: relative; color: #fff; cursor: pointer; }
  .hero3-sub-toggle::before { content: ""; position: absolute; right: 15px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); transition: transform .25s; }
  .hero3-has-sub.is-open .hero3-sub-toggle::before { transform: translateY(-50%) rotate(-135deg); }
  .hero3-sub { position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .6rem 1rem; background: none; color: #fff; box-shadow: none; border-radius: 0;
         opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; transition: max-height .35s var(--h3-ease); }
  .hero3-has-sub.is-open .hero3-sub { max-height: 360px; }
  .hero3-nav__list .hero3-sub a { font-size: 1rem; padding: .65rem 0; opacity: .8; }
  .hero3-nav__list .hero3-sub a:hover { background: none; color: var(--h3-accent); }
  /* Current page's link in the mobile menu, set by site-header.js */
  .hero3-nav__list a.hero3-nav__link-active { color: var(--h3-accent); }

  .hero3-nav__contact {
    display: block; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  }
  .hero3-nav__contact-label {
    display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em;
    color: var(--h3-accent); margin-bottom: .9rem;
  }
  .hero3-nav__contact-locations { margin: 0 0 .7rem; font-size: .95rem; letter-spacing: .04em; color: #fff; opacity: .9; }
  .hero3-nav__contact-link {
    display: block; width: fit-content; font-size: 1rem; color: #fff; opacity: .9; padding: .4rem 0;
    transition: opacity .2s, color .2s;
  }
  .hero3-nav__contact-link:hover { opacity: 1; color: var(--h3-accent); }
  .hero3-nav__contact-social { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1rem; }
  .hero3-nav__contact-social a {
    font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #fff; opacity: .9;
    transition: opacity .2s, color .2s;
  }
  .hero3-nav__contact-social a:hover { opacity: 1; color: var(--h3-accent); }
}
