/* E-There redesign design system — shared patterns for static site pages. */
html { scroll-behavior: smooth; }
body { font-feature-settings: "kern"; }
.font-serif { letter-spacing: -0.015em; }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero-frame { box-shadow: 0 40px 80px -30px rgba(4, 57, 58, 0.45); }
.pkg-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.pkg-card:hover { transform: translateY(-4px); }

/* menu-group must stay static so the panel anchors to the header, not the nav link */
.menu-group { position: static; }

.mega-menu {
  position: absolute; top: 100%; left: 0; right: 0; width: auto;
  background: #fffdf9; z-index: 100;
  border-top: 1px solid #ece3d4;
  box-shadow: 0 20px 40px -12px rgba(4, 57, 58, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.mega-menu::before { content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.menu-group:hover .mega-menu,
.menu-group.menu-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-menu a {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0.75rem; border-radius: 0.75rem;
  transition: background-color 0.15s ease;
}
.mega-menu a:hover { background-color: #f5efe6; }
.mega-menu .menu-icon {
  flex-shrink: 0; width: 2rem; height: 2rem; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center; margin-top: 0.1rem;
}

.mobile-menu { display: none; }
.mobile-menu.active { display: block; }

.faq-a, .faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a,
.faq-item.open .faq-answer { max-height: 340px; }
.faq-item.open .faq-sign,
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-sign, .faq-icon { transition: transform 0.3s ease; }

.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}
.sticky-cta.visible { transform: translateY(0); }
@media (max-width: 1023px) { body.sticky-active { padding-bottom: 78px; } }
@media (min-width: 1024px) { .sticky-cta { display: none !important; } }
