/* ==========================================================================
   POWER HOUSE GYM - MODERN INTERACTION & POLISH STYLESHEET
   Adheres to Emil Kowalski's Design Engineering & Vanguard UI Architecture
   ========================================================================== */

/* --- Smooth Scrolling & Focus --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

:focus-visible {
  outline: 2px solid var(--primary, #a8ff00) !important;
  outline-offset: 3px !important;
}

/* --- Sticky Header Scrolled State --- */
.site-header {
  transition: background-color 250ms cubic-bezier(0.32, 0.72, 0, 1),
              border-color 250ms cubic-bezier(0.32, 0.72, 0, 1),
              backdrop-filter 250ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 250ms cubic-bezier(0.32, 0.72, 0, 1) !important;
}

.site-header.header-scrolled {
  background: rgba(8, 8, 8, 0.92) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8) !important;
}

/* --- Button Micro-Interactions --- */
button, 
.inline-flex[href],
.nav-cta,
.goal-option,
.price-card,
.mobile-actions a {
  transition: transform 180ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 200ms cubic-bezier(0.32, 0.72, 0, 1),
              background-color 150ms ease,
              border-color 150ms ease,
              color 150ms ease !important;
}

button:active, 
.inline-flex[href]:active,
.mobile-actions a:active {
  transform: scale(0.97) !important;
}

.bg-primary:hover,
a.bg-primary:hover {
  background-color: var(--accent, #c4ff45) !important;
  box-shadow: 0 8px 24px -4px rgba(168, 255, 0, 0.35) !important;
  transform: translateY(-2px) !important;
}

.bg-primary:active,
a.bg-primary:active {
  transform: scale(0.97) translateY(0) !important;
  box-shadow: 0 2px 8px -2px rgba(168, 255, 0, 0.2) !important;
}

/* --- Feature Cards & Interactive Surfaces --- */
.home-feature,
.editorial-card,
.contact-info-card,
.price-card,
.visit-steps > div {
  transition: transform 240ms cubic-bezier(0.32, 0.72, 0, 1),
              border-color 240ms ease,
              background-color 240ms ease,
              box-shadow 240ms cubic-bezier(0.32, 0.72, 0, 1) !important;
  will-change: transform;
}

.home-feature:hover,
.editorial-card:hover,
.contact-info-card:hover,
.visit-steps > div:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(168, 255, 0, 0.3) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.8) !important;
}

.price-card {
  cursor: pointer;
  background: var(--background, #080808) !important;
  color: var(--foreground, #ffffff) !important;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.1)) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.price-card span {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.price-card strong {
  color: #ffffff !important;
  font: 3.1rem var(--font-display, Anton, Impact, sans-serif) !important;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.price-card p {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}
.price-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(220, 255, 0, 0.45) !important;
  background: #121212 !important;
  color: #ffffff !important;
}
.price-card:hover strong,
.price-card:hover span {
  color: #ffffff !important;
}
.price-card:hover p {
  color: rgba(255, 255, 255, 0.75) !important;
}
.price-card.selected,
.price-card.is-selected {
  border-color: var(--primary, #dcff00) !important;
  background: #141c00 !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 1px var(--primary, #dcff00), 0 12px 28px -8px rgba(220, 255, 0, 0.25) !important;
}
.price-card.selected span,
.price-card.is-selected span {
  color: var(--primary, #dcff00) !important;
  font-weight: 700;
}
.price-card.selected strong,
.price-card.is-selected strong {
  color: #ffffff !important;
  text-shadow: 0 0 20px rgba(220, 255, 0, 0.25);
}
.price-card.selected p,
.price-card.is-selected p {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* --- Form Field Micro-interactions --- */
.field input,
.field select,
.field textarea {
  transition: border-color 200ms ease,
              box-shadow 200ms ease,
              background-color 200ms ease !important;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary, #a8ff00) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: 0 0 0 3px rgba(168, 255, 0, 0.15) !important;
  outline: none !important;
}

/* --- Field Validation & Shake (Binary Froster Standard) --- */
.field input.field-error,
.field select.field-error,
.field textarea.field-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.shake-element {
  animation: shake 0.45s ease-in-out;
}

.form-inline-error {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 4px;
  font-weight: 500;
}

/* --- Trial Pass Activation Badge --- */
.trial-active-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(168, 255, 0, 0.12), rgba(168, 255, 0, 0.04));
  border: 1px solid rgba(168, 255, 0, 0.35);
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 24px;
  animation: bannerGlow 3s ease-in-out infinite alternate;
}

@keyframes bannerGlow {
  0% { box-shadow: 0 4px 16px -4px rgba(168, 255, 0, 0.15); border-color: rgba(168, 255, 0, 0.3); }
  100% { box-shadow: 0 6px 24px -2px rgba(168, 255, 0, 0.3); border-color: rgba(168, 255, 0, 0.6); }
}

.trial-active-banner .badge-icon {
  font-size: 1.5rem;
  line-height: 1;
  background: var(--primary, #a8ff00);
  color: #080808;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.trial-active-banner strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.trial-active-banner p {
  font-size: 0.82rem;
  color: #d4d4d8;
  margin: 0;
  line-height: 1.4;
}

/* --- Form Highlight Pulse (When scrolled to via CTA) --- */
.trial-form-highlight {
  animation: formHighlightPulse 2s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

@keyframes formHighlightPulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 255, 0, 0); }
  30% { box-shadow: 0 0 0 4px rgba(168, 255, 0, 0.6), 0 16px 40px -8px rgba(168, 255, 0, 0.35); }
  100% { box-shadow: 0 0 0 1px rgba(168, 255, 0, 0.3); }
}

/* --- Trial Confirmation / Success Card --- */
.trial-success-box {
  background: rgba(18, 18, 18, 0.95);
  border: 1px solid var(--primary, #a8ff00);
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.9), 0 0 20px rgba(168, 255, 0, 0.2);
  animation: successEntry 350ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

@keyframes successEntry {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.trial-success-box .success-icon {
  width: 54px;
  height: 54px;
  background: var(--primary, #a8ff00);
  color: #080808;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 auto 16px;
}

.trial-success-box h3 {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: 2.2rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 8px;
}

.trial-success-box p {
  font-size: 0.92rem;
  color: #d4d4d8;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 14px;
}

.trial-success-box .trial-summary-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 20px;
}

.trial-success-box .whatsapp-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25d366;
  color: #000;
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 28px;
  border-radius: 4px;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 6px 18px -4px rgba(37, 211, 102, 0.4);
}
.trial-success-box .whatsapp-action-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(37, 211, 102, 0.5);
}

/* --- Mobile Navigation Drawer --- */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(0.32, 0.72, 0, 1);
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-nav {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(88%, 380px);
  height: 100dvh;
  background: #101010;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding: max(24px, env(safe-area-inset-top)) 24px calc(32px + env(safe-area-inset-bottom)) 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.85);
}

.mobile-drawer.open .mobile-drawer-nav {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: #fff;
}
.mobile-drawer-brand img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mobile-drawer-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.12);
}
.mobile-drawer-close:active {
  transform: scale(0.92);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.mobile-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 4px;
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #d4d4d8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.mobile-drawer-links a svg {
  width: 18px;
  height: 18px;
  color: #71717a;
  transition: transform 150ms ease, color 150ms ease;
}

.mobile-drawer-links a:hover,
.mobile-drawer-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}
.mobile-drawer-links a.active {
  color: var(--primary, #a8ff00);
}
.mobile-drawer-links a:hover svg,
.mobile-drawer-links a.active svg {
  color: var(--primary, #a8ff00);
  transform: translateX(3px);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary, #a8ff00);
  color: #080808;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 20px;
  border-radius: 4px;
  box-shadow: 0 6px 18px -4px rgba(168, 255, 0, 0.35);
}

.mobile-drawer-legal {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: #71717a;
  justify-content: center;
}
.mobile-drawer-legal a {
  color: #a1a1aa;
  text-decoration: underline;
}

/* --- Gallery Lightbox Modal --- */
.gallery-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms cubic-bezier(0.32, 0.72, 0, 1);
}

.gallery-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  transition: transform 260ms cubic-bezier(0.32, 0.72, 0, 1);
}

.gallery-modal-overlay.open .gallery-modal-content {
  transform: scale(1);
}

.gallery-modal-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.95);
}

.gallery-modal-caption {
  margin-top: 14px;
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.gallery-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* --- Scroll Reveal Animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.32, 0.72, 0, 1),
              transform 600ms cubic-bezier(0.32, 0.72, 0, 1) !important;
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* --- Mobile Bottom Bar Polish --- */
.mobile-actions {
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  background: rgba(14, 14, 14, 0.92) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.7) !important;
}

.mobile-actions a {
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}

.mobile-actions a:last-child {
  color: var(--primary, #a8ff00) !important;
}

/* ==========================================================================
   DROPDOWN & SELECT FORM STYLING (MEMBERSHIP & INQUIRIES)
   ========================================================================== */
select,
.field select,
.trial-form select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #141414 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a8ff00' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 16px !important;
  padding-right: 44px !important;
  padding-left: 14px !important;
  height: 48px !important;
  line-height: 48px !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 6px !important;
  font-family: inherit !important;
  font-size: 0.92rem !important;
  cursor: pointer !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

select:hover,
.field select:hover,
.trial-form select:hover {
  border-color: rgba(168, 255, 0, 0.5) !important;
  background-color: #181818 !important;
}

select:focus,
.field select:focus,
.trial-form select:focus {
  outline: none !important;
  border-color: var(--primary, #a8ff00) !important;
  box-shadow: 0 0 0 3px rgba(168, 255, 0, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

select option,
select optgroup {
  background-color: #141414 !important;
  color: #ffffff !important;
  padding: 10px 14px !important;
}

select optgroup {
  font-weight: 800 !important;
  color: var(--primary, #a8ff00) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.06em !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ==========================================================================
   HEADER NAVIGATION DROPDOWN (PROGRAMS / MEMBERSHIP)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.desktop-nav .nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-dropdown-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  color: var(--muted-foreground) !important;
  padding: 30px 0 !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  position: relative !important;
  text-decoration: none !important;
  line-height: normal !important;
  background: transparent !important;
  border: none !important;
}

.desktop-nav .nav-item-dropdown:hover > .nav-dropdown-trigger,
.desktop-nav .nav-item-dropdown.is-open > .nav-dropdown-trigger,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.active {
  color: var(--foreground) !important;
}

.nav-dropdown-trigger.active::after {
  content: "";
  background: var(--primary);
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.dropdown-chevron {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  transition: transform 200ms cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: none;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 300px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.95), 0 0 1px 1px rgba(255, 255, 255, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Invisible hover bridge to prevent menu from closing when mouse travels */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 0;
  right: 0;
  height: 15px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu,
.nav-item-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Reset any desktop-nav 'a' styling for dropdown menu links */
.desktop-nav .nav-dropdown-menu a.nav-dropdown-item,
.nav-dropdown-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  text-transform: none !important;
  position: static !important;
  font-family: inherit !important;
  font-size: 0.82rem !important;
  line-height: 1.35 !important;
  background: transparent !important;
  transition: background 150ms ease, transform 150ms ease, color 150ms ease !important;
  border-bottom: none !important;
}

.desktop-nav .nav-dropdown-menu a.nav-dropdown-item::after,
.nav-dropdown-item::after {
  display: none !important;
  content: none !important;
}

.nav-dropdown-item strong {
  font-size: 0.88rem !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  transition: color 150ms ease !important;
}

.nav-dropdown-item span {
  font-size: 0.75rem !important;
  color: #a1a1aa !important;
  font-weight: 400 !important;
  margin-top: 2px !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.desktop-nav .nav-dropdown-menu a.nav-dropdown-item:hover,
.nav-dropdown-item:hover {
  background: rgba(168, 255, 0, 0.08) !important;
  transform: translateX(4px) !important;
  color: var(--primary, #a8ff00) !important;
}

.nav-dropdown-item:hover strong {
  color: var(--primary, #a8ff00) !important;
}

.desktop-nav .nav-dropdown-menu a.nav-dropdown-item.highlight-item,
.nav-dropdown-item.highlight-item {
  background: rgba(168, 255, 0, 0.06) !important;
  border: 1px solid rgba(168, 255, 0, 0.22) !important;
  margin-top: 4px;
}
.desktop-nav .nav-dropdown-menu a.nav-dropdown-item.highlight-item:hover,
.nav-dropdown-item.highlight-item:hover {
  background: rgba(168, 255, 0, 0.16) !important;
}

/* Mobile Drawer Sublinks */
.mobile-drawer-group {
  display: flex;
  flex-direction: column;
}
.mobile-sublinks {
  display: flex;
  flex-direction: column;
  padding: 4px 0 8px 16px;
  gap: 8px;
  border-left: 2px solid rgba(168, 255, 0, 0.3);
  margin: 6px 0 12px 14px;
}
.mobile-sublink {
  font-size: 0.85rem !important;
  color: #a1a1aa !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  padding: 4px 0 !important;
  font-family: inherit !important;
  border-bottom: none !important;
  transition: color 150ms ease, transform 150ms ease !important;
}
.mobile-sublink:hover,
.mobile-sublink.active {
  color: var(--primary, #a8ff00) !important;
  transform: translateX(3px);
}
.mobile-sublink.highlight {
  color: var(--primary, #a8ff00) !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   INTERACTIVE MEMBERSHIP PLAN FINDER (WITH GOAL & DURATION DROPDOWNS)
   ========================================================================== */
.plan-finder-section {
  padding: 60px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.plan-finder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.9);
  align-items: center;
}

.plan-finder-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-finder-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-finder-tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: #a1a1aa;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 6px;
  cursor: pointer;
  transition: all 180ms ease;
}

.plan-finder-tab-btn.is-active {
  background: var(--primary, #a8ff00);
  color: #000000;
  box-shadow: 0 2px 8px rgba(168, 255, 0, 0.3);
}

.plan-finder-result {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-finder-result-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: opacity 0.25s ease, object-position 0.25s ease;
}

.selector-photo {
  transition: object-position 0.25s ease;
}

.plan-finder-price {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: 2.8rem;
  color: var(--primary, #a8ff00);
  line-height: 1;
}

@media (max-width: 850px) {
  .plan-finder-grid {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

/* --- Legal Pages Header (Text-Only, No Images) --- */
.legal-hero {
  padding: 80px 24px 32px;
  max-width: 908px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hero .hero-kicker {
  display: inline-block;
  color: var(--primary, #a8ff00);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.legal-hero h1 {
  font-family: var(--font-display, "Bebas Neue", sans-serif);
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: #ffffff;
  line-height: 1.05;
  margin: 0 0 12px 0;
  letter-spacing: 0.03em;
}

.legal-hero p {
  color: #a1a1aa;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .legal-hero {
    padding: 60px 20px 24px;
  }
}

