/* ==========================================================================
   Gizmo's Computers — Header, Morphing MegaMenu, Page Transitions & Footer
   Black, Green & White Palette + Full Multi-Device Responsiveness
   ========================================================================== */

/* 1. Top Announcement Banner (Signature Gizmo Green) */
.announcement-bar {
  position: relative;
  z-index: 120;
  background: var(--green-500);
  color: #ffffff;
  min-height: var(--banner-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  text-align: center;
}

.announcement-pill {
  background: #060807;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.announcement-link:hover {
  opacity: 0.85;
}

@media (max-width: 520px) {
  .announcement-bar {
    font-size: 0.76rem;
    padding: 7px 12px;
  }
  .announcement-extra {
    display: none;
  }
}

/* 2. Sticky Architectural Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: var(--bg-nav);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header.menu-open {
  background: var(--bg-page);
  border-bottom-color: var(--border-medium);
}

.header-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 520px) {
  .header-inner {
    height: 66px;
    gap: 10px;
  }
}

/* Brand Lockup with Gizmos Diamond Logo */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo-frame {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: #060807;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(6, 8, 7, 0.18);
  transition: transform 0.38s var(--ease-bounce), box-shadow 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.brand-link:hover .brand-logo-frame {
  transform: rotate(-4deg) scale(1.06);
  border-color: var(--green-500);
  box-shadow: 0 6px 20px var(--green-glow);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  white-space: nowrap;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

@media (max-width: 400px) {
  .brand-logo-frame {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 0.96rem;
  }
  .brand-sub {
    font-size: 0.58rem;
  }
}

/* Desktop Navigation with Gliding Magnetic Pill */
.desktop-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

.nav-glider {
  position: absolute;
  top: 50%;
  left: 0;
  height: 38px;
  transform: translateY(-50%);
  border-radius: var(--radius-xs);
  background: var(--bg-pill);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s var(--ease-spring),
              width 0.36s var(--ease-spring),
              opacity 0.22s ease;
  z-index: 0;
}

.nav-glider.is-visible {
  opacity: 1;
}

.nav-underline-glider {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  background: var(--green-500);
  border-radius: 2px 2px 0 0;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.36s var(--ease-spring),
              width 0.36s var(--ease-spring),
              opacity 0.2s ease;
  z-index: 2;
}

.nav-underline-glider.is-visible {
  opacity: 1;
}

.nav-item {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-xs);
  transition: color 0.2s ease;
  height: 100%;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-item:hover,
.nav-item.is-active,
.nav-item.is-current-page {
  color: var(--text-primary);
}

.nav-item.is-active {
  color: var(--green-500);
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.34s var(--ease-bounce);
  opacity: 0.65;
  flex-shrink: 0;
}

.nav-item.is-active .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--green-500);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.theme-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all 0.25s var(--ease-spring);
  flex-shrink: 0;
}

.theme-icon-btn:hover {
  color: var(--green-500);
  border-color: var(--green-500);
  transform: rotate(12deg);
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: var(--radius-xs);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phone-link:hover {
  color: var(--green-500);
  background: var(--bg-pill);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.hamburger-lines {
  width: 18px;
  height: 12px;
  position: relative;
}

.hamburger-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.34s var(--ease-spring), opacity 0.2s ease, top 0.34s var(--ease-spring);
}

.hamburger-lines span:nth-child(1) { top: 0; }
.hamburger-lines span:nth-child(2) { top: 5px; }
.hamburger-lines span:nth-child(3) { top: 10px; }

.mobile-toggle.is-open .hamburger-lines span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}
.mobile-toggle.is-open .hamburger-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.is-open .hamburger-lines span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

@media (max-width: 1520px) {
  .header-phone-link {
    display: none;
  }
}

@media (max-width: 1060px) {
  .desktop-nav {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .header-anydesk-btn {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-cta-desktop {
    display: none;
  }
}

/* ==========================================================================
   3. MORPHING FULL-WIDTH MEGA MENU (Black, Green & White)
   ========================================================================== */

.megamenu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(6, 8, 7, 0.5);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--ease-out-expo);
}

.megamenu-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.megamenu-shell {
  position: fixed;
  top: var(--megamenu-top, 112px);
  left: 0;
  right: 0;
  z-index: 105;
  background: var(--bg-megamenu);
  border-bottom: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out-expo),
              transform 0.36s var(--ease-out-expo),
              visibility 0.28s ease;
}

.megamenu-shell.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

.megamenu-stage {
  position: relative;
  overflow: hidden;
  transition: height 0.38s var(--ease-spring);
}

.megamenu-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 34px 0 30px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px) scale(0.985);
  filter: blur(6px);
  transition: transform 0.42s var(--ease-out-expo),
              opacity 0.28s ease,
              filter 0.34s ease;
}

.megamenu-panel.exit-left {
  transform: translateX(-48px) scale(0.985);
  opacity: 0;
  filter: blur(6px);
}

.megamenu-panel.exit-right {
  transform: translateX(48px) scale(0.985);
  opacity: 0;
  filter: blur(6px);
}

.megamenu-panel.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.megamenu-panel.is-active .mm-stagger {
  animation: mmItemReveal 0.44s var(--ease-out-expo) both;
  animation-delay: calc(var(--i, 0) * 38ms + 40ms);
}

@keyframes mmItemReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(280px, 360px);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: start;
}

.mm-col-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.mm-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mm-link {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  transition: background-color 0.22s ease, transform 0.24s var(--ease-spring);
}

.mm-link:hover {
  background: var(--bg-surface-elevated);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.mm-link-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-500);
  flex-shrink: 0;
  transition: background-color 0.22s ease, color 0.22s ease, transform 0.25s var(--ease-bounce);
}

.mm-link:hover .mm-link-icon {
  background: var(--green-500);
  color: #ffffff;
  border-color: var(--green-500);
  transform: scale(1.06);
}

.mm-link-title {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-weight: 650;
  font-size: 0.94rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.mm-link-desc {
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Featured Spotlight Card inside MegaMenu (Obsidian Black + Emerald Glow) */
.mm-promo {
  position: relative;
  border-radius: var(--radius-md);
  padding: 22px;
  background: linear-gradient(145deg, #060807 0%, #0b1911 58%, #0e4a27 100%);
  color: #ffffff;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 236px;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, border-color 0.3s ease;
}

.mm-promo:hover {
  transform: translateY(-3px);
  border-color: var(--green-400);
  box-shadow: 0 20px 44px rgba(0, 168, 70, 0.26);
}

.mm-promo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 14%, rgba(34, 197, 94, 0.34), transparent 55%);
  pointer-events: none;
}

.mm-promo-media {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 112px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #060807;
}

.mm-promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-expo);
}

.mm-promo:hover .mm-promo-media img {
  transform: scale(1.06);
}

.mm-promo-title {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.mm-promo-desc {
  position: relative;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 14px;
  line-height: 1.45;
}

.mm-promo-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green-300);
}

/* Integrated Megamenu Utility Bar */
.megamenu-utility {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-page);
  padding: 13px 0;
}

.mm-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.mm-quick-intent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mm-quick-select {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xs);
  padding: 6px 28px 6px 11px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.mm-utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.live-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.79rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(0, 168, 70, 0.24);
  animation: pulseDot 2.2s infinite;
  flex-shrink: 0;
}

.status-dot.closed {
  background: #6b7280;
  box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.22);
  animation: none;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(0, 168, 70, 0.28); }
  50% { box-shadow: 0 0 0 6px rgba(0, 168, 70, 0.08); }
}

.theme-segmented {
  position: relative;
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.theme-seg-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.theme-seg-btn.is-active {
  background: var(--bg-page);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   4. ANIMATED MOBILE / TABLET DRAWER WITH NESTED SLIDE SUB-MENUS
   ========================================================================== */

.mobile-drawer {
  position: fixed;
  inset: 0;
  top: var(--megamenu-top, 106px);
  z-index: 108;
  background: var(--bg-page);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.32s var(--ease-out-expo),
              transform 0.38s var(--ease-out-expo),
              visibility 0.32s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-drawer-viewport {
  position: relative;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-pane {
  position: absolute;
  inset: 0;
  padding: 20px var(--container-pad) 36px;
  overflow-y: auto;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s ease;
}

.mobile-pane-root.is-shifted {
  transform: translateX(-35%);
  opacity: 0;
  pointer-events: none;
}

.mobile-pane-sub {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  background: var(--bg-page);
}

.mobile-pane-sub.is-active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 6px;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.2s ease, padding-left 0.25s var(--ease-spring);
}

.mobile-nav-row:hover {
  color: var(--green-500);
  padding-left: 10px;
}

.mobile-sub-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-500);
  margin-bottom: 16px;
  padding: 6px 0;
}

.mobile-drawer-footer {
  padding: 16px var(--container-pad);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   5. SIGNATURE PAGE-TO-PAGE TRANSITION ENGINE (Black & Green Curtain)
   ========================================================================== */

.page-curtain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: linear-gradient(140deg, #040605 0%, #091d12 58%, #00a846 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path, opacity;
}

.page-curtain.phase-in {
  animation: curtainSweepIn 0.28s var(--ease-in-out-quint) forwards;
}

.page-curtain.phase-out {
  animation: curtainSweepOut 0.42s var(--ease-in-out-quint) forwards;
}

@keyframes curtainSweepIn {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes curtainSweepOut {
  from { clip-path: inset(0 0 0 0); }
  to { clip-path: inset(0 0 100% 0); }
}

.curtain-emblem {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(34, 197, 94, 0.55));
  animation: curtainPulse 0.6s var(--ease-spring) both;
}

.curtain-label {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

@keyframes curtainPulse {
  from { transform: scale(0.82) rotate(-8deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

#app-view {
  min-height: 72vh;
}

#app-view.page-entering {
  animation: pageReveal 0.55s var(--ease-out-expo) both;
}

@keyframes pageReveal {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.992);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out-expo), transform 0.72s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   6. MONUMENTAL BLACK, GREEN & WHITE FOOTER
   ========================================================================== */

.site-footer {
  background: var(--dark-canvas);
  color: #ffffff;
  border-top: 1px solid var(--dark-border);
  padding-top: clamp(56px, 6vw, 88px);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 56px;
}

.footer-brand-col p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.66);
  max-width: 290px;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a,
.footer-col button {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  white-space: nowrap;
}

.footer-col a:hover,
.footer-col button:hover {
  color: var(--green-300);
  transform: translateX(3px);
}

.footer-monument {
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: clamp(28px, 4vw, 44px) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-monument-wordmark {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 9vw, 7.6rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.055em;
  background: linear-gradient(180deg, #ffffff 0%, #22c55e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

.footer-monument-logo {
  width: clamp(78px, 10vw, 146px);
  height: clamp(78px, 10vw, 146px);
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(0, 168, 70, 0.34));
  transition: transform 0.5s var(--ease-bounce);
}

.footer-monument-logo:hover {
  transform: rotate(-6deg) scale(1.07);
}

.footer-bottom {
  padding: 24px 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.54);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--dark-border);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.social-pill:hover {
  border-color: var(--green-500);
  background: rgba(0, 168, 70, 0.16);
  color: #ffffff;
}

.footer-admin-bolt {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.34);
  border: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease, transform 0.25s var(--ease-bounce);
}

.footer-admin-bolt:hover {
  color: var(--green-400);
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(0, 168, 70, 0.14);
  transform: scale(1.08);
}

.footer-admin-bolt.is-authenticated {
  color: var(--green-400);
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(0, 168, 70, 0.18);
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-col a,
  .footer-col button {
    white-space: normal;
  }
}
