/**
 * Action Bar Styles
 * Desktop: Inline bar under header with expandable form
 * Mobile: Floating buttons with modal
 */
.action-bar {
  display: none;
}
@media (min-width: 992px) {
  .action-bar {
    display: block;
    position: fixed;
    top: var(--action-bar-top, 93px);
    left: 0;
    right: 0;
    z-index: 99999990;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
  }
}
.action-bar .action-bar__btn {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  html:not([data-has-hero=true]) .action-bar {
    display: none;
  }
}

@media (min-width: 992px) {
  body.header-scrolled .action-bar {
    top: 92px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  }
  body.header-scrolled .action-bar .action-bar__cta,
body.header-scrolled .action-bar .action-bar__cta a {
    color: #333;
  }
  body.header-scrolled .action-bar .action-bar__btn--quote {
    background: #17a2b8;
    color: #fff;
    border-color: #17a2b8;
  }
  body.header-scrolled .action-bar .action-bar__btn--search {
    background: #f39c12;
    color: #fff;
    border-color: #f39c12;
  }
}

.action-bar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  height: 50px;
}

.action-bar__cta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.9rem;
}
.action-bar__cta i {
  color: #17a2b8;
}
.action-bar__cta a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.action-bar__cta a:hover {
  color: #17a2b8;
}

.action-bar__buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-bar__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.action-bar__btn i:first-child {
  font-size: 0.9rem;
}
.action-bar__btn--quote {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.action-bar__btn--quote:hover {
  background: #17a2b8;
  border-color: #17a2b8;
}
.action-bar__btn--quote.is-active {
  background: #17a2b8;
  border-color: #17a2b8;
}
.action-bar__btn--quote.is-active .action-bar__chevron {
  transform: rotate(180deg);
}
.action-bar__btn--search {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.action-bar__btn--search:hover {
  background: #f39c12;
  border-color: #f39c12;
}
.action-bar__btn--submitted {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
  cursor: default;
}

.action-bar__chevron {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.action-bar__expand {
  position: relative;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  transition: max-height 0.4s ease;
}
.action-bar__expand.is-open {
  max-height: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.action-bar__expand-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  font-size: 1rem;
  color: #6c757d;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  z-index: 10;
}
.action-bar__expand-close:hover {
  background: #e9ecef;
  color: #333;
  transform: scale(1.1);
}

.action-bar__expand-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
}

.action-bar__expand-header {
  text-align: center;
  margin-bottom: 12px;
}
.action-bar__expand-header h5 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}
.action-bar__expand-header p {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
}

.action-bar__success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  color: #28a745;
}
.action-bar__success i {
  font-size: 1.5rem;
}
.action-bar__success span {
  font-size: 1rem;
  font-weight: 500;
}

.floating-actions {
  display: flex;
  position: fixed;
  bottom: 85px;
  right: 25px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 9998;
}
@media (min-width: 992px) {
  .floating-actions {
    display: none;
  }
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}
.floating-btn i {
  font-size: 1.1rem;
}
.floating-btn__label {
  white-space: nowrap;
}
.floating-btn--quote {
  background: #17a2b8;
}
.floating-btn--quote:hover {
  background: #138496;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(23, 162, 184, 0.4);
}
.floating-btn--search {
  background: #f39c12;
  -webkit-animation: subtleGlow 4s ease-in-out infinite;
          animation: subtleGlow 4s ease-in-out infinite;
  -webkit-animation-delay: 10s;
          animation-delay: 10s;
}
.floating-btn--search:hover {
  background: #e67e22;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(243, 156, 18, 0.5);
  -webkit-animation: none;
          animation: none;
}
.floating-btn--submitted {
  background: #28a745;
  cursor: default;
  opacity: 0.9;
}
@media (max-width: 991px) {
  .floating-btn {
    width: 46px;
    height: 46px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .floating-btn__label {
    display: none;
  }
  .floating-btn i, .floating-btn svg {
    font-size: 1.2rem;
    margin: 0;
  }
}

@-webkit-keyframes subtleGlow {
  0%, 100% {
    box-shadow: none;
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.3);
    filter: brightness(1.1);
  }
}

@keyframes subtleGlow {
  0%, 100% {
    box-shadow: none;
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.3);
    filter: brightness(1.1);
  }
}
#desktopSearchBtn svg,
#floatingSearchBtn svg {
  -webkit-animation: iconPulse 4s ease-in-out infinite !important;
          animation: iconPulse 4s ease-in-out infinite !important;
}

#desktopSearchBtn:hover svg,
#floatingSearchBtn:hover svg {
  -webkit-animation: none !important;
          animation: none !important;
}

@-webkit-keyframes iconPulse {
  0%, 80%, 100% {
    transform: scale(1) rotate(0deg);
  }
  85% {
    transform: scale(1.3) rotate(-30deg);
  }
  90% {
    transform: scale(1.3) rotate(30deg);
  }
  95% {
    transform: scale(1.1) rotate(0deg);
  }
}

@keyframes iconPulse {
  0%, 80%, 100% {
    transform: scale(1) rotate(0deg);
  }
  85% {
    transform: scale(1.3) rotate(-30deg);
  }
  90% {
    transform: scale(1.3) rotate(30deg);
  }
  95% {
    transform: scale(1.1) rotate(0deg);
  }
}
.quote-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}
.quote-modal.is-open {
  display: block;
}
@media (min-width: 992px) {
  .quote-modal {
    display: none !important;
  }
}

.quote-modal__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-animation: fadeIn 0.2s ease-out;
          animation: fadeIn 0.2s ease-out;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.quote-modal__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  -webkit-animation: modalSlideIn 0.3s ease-out;
          animation: modalSlideIn 0.3s ease-out;
}
@media (max-width: 575px) {
  .quote-modal__content {
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    max-height: 85vh;
    -webkit-animation: modalSlideUp 0.3s ease-out;
            animation: modalSlideUp 0.3s ease-out;
  }
}

@-webkit-keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}
@-webkit-keyframes modalSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes modalSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.quote-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.quote-modal__header h4 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.quote-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  font-size: 1.25rem;
  color: #6c757d;
  background: #f8f9fa;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}
.quote-modal__close:hover {
  background: #e9ecef;
  color: #333;
}

.quote-modal__body {
  padding: 24px;
}

.quote-modal__intro {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.quote-modal__success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  color: #28a745;
}
.quote-modal__success i {
  font-size: 1.5rem;
}
.quote-modal__success span {
  font-size: 1rem;
  font-weight: 500;
}

@media (min-width: 992px) {
  header.header.mm-slideout.sticky {
    border-bottom: none !important;
  }
  header.header.mm-slideout:not(.sticky) #top_menu a,
header.header.mm-slideout:not(.sticky) .main-menu a {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  }
}

@media (min-width: 992px) {
  body:not(:has(#hero-home)):not(:has(.activities-page)) header.header.mm-slideout:not(.sticky) {
    height: 170px !important;
  }
}

html.mm-blocking #mm-blocker {
  display: none !important;
  pointer-events: none !important;
}

html.mm-blocking.mm-opened #mm-blocker {
  display: block !important;
  pointer-events: auto !important;
}

.hero_single .wrapper,
.hero_single.version_2 .wrapper,
.hero_in .wrapper {
  background-color: transparent !important;
  background: transparent !important;
}

html[data-has-hero=true] .value-banner,
html[data-has-hero=true] .specials-content,
html[data-has-hero=true] .activities-content,
html[data-has-hero=true] .content-section {
  margin-top: 0;
}

@media (min-width: 992px) {
  body:has(.vda-hero):not(.header-scrolled) .action-bar,
body:has(.vle-hero):not(.header-scrolled) .action-bar,
body:has(.vdp-hero):not(.header-scrolled) .action-bar,
body:has(.faq-hero):not(.header-scrolled) .action-bar,
body:has(.faq-vle-hero):not(.header-scrolled) .action-bar {
    background: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (min-width: 992px) {
  body:has(.vda-hero).header-scrolled .action-bar,
body:has(.vle-hero).header-scrolled .action-bar,
body:has(.vdp-hero).header-scrolled .action-bar,
body:has(.faq-hero).header-scrolled .action-bar,
body:has(.faq-vle-hero).header-scrolled .action-bar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}