:root {
  --gs-bottom-callout-navy: #051A55;
  --gs-bottom-callout-blue: #001C58;
  --gs-bottom-callout-gold: #AB903C;
  --gs-bottom-callout-gold-dark: #96793A;
  --gs-bottom-callout-cream: #F7F3EA;
  --gs-bottom-callout-text: #404041;
}

.gs-bottom-callout[hidden] {
  display: none !important;
}

.gs-bottom-callout {
  position: fixed;
  left: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 32px);
  width: min(370px, calc(100vw - 32px));
  z-index: 9000;
  box-sizing: border-box;
  color: var(--gs-bottom-callout-text);
  font-family: "DM Sans", Arial, sans-serif;
  background: linear-gradient(135deg, #fff 0%, var(--gs-bottom-callout-cream) 100%);
  border: 1px solid rgba(171, 144, 60, 0.34);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(0, 28, 88, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.gs-bottom-callout.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gs-bottom-callout.is-hiding {
  opacity: 0;
  transform: translateY(12px);
  visibility: hidden;
  pointer-events: none;
}

.gs-bottom-callout *,
.gs-bottom-callout *::before,
.gs-bottom-callout *::after {
  box-sizing: border-box;
}

.gs-bottom-callout__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 22px 22px 20px;
  padding-right: 42px;
}

.gs-bottom-callout__close {
  appearance: none;
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 26, 85, 0.07);
  color: var(--gs-bottom-callout-navy);
  font: inherit;
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.gs-bottom-callout__close:hover,
.gs-bottom-callout__close:focus-visible {
  background: var(--gs-bottom-callout-navy);
  color: #fff;
  transform: translateY(-1px);
}

.gs-bottom-callout__close:focus-visible,
.gs-bottom-callout__button:focus-visible {
  outline: 3px solid rgba(171, 144, 60, 0.5);
  outline-offset: 3px;
}

.gs-bottom-callout__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(171, 144, 60, 0.15);
  color: var(--gs-bottom-callout-navy);
  flex: 0 0 auto;
}

.gs-bottom-callout__icon svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.gs-bottom-callout__content {
  min-width: 0;
}

.gs-bottom-callout__eyebrow {
  margin: 0 0 7px;
  color: var(--gs-bottom-callout-gold-dark);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gs-bottom-callout__headline {
  margin: 0 0 8px;
  color: var(--gs-bottom-callout-navy) !important;
  font-size: clamp(20px, 2.2vw, 25px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.gs-bottom-callout__body {
  margin: 0;
  color: var(--gs-bottom-callout-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.42;
}

.gs-bottom-callout__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  min-height: 38px;
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--gs-bottom-callout-navy);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(5, 26, 85, 0.18);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.gs-bottom-callout__button:hover,
.gs-bottom-callout__button:focus {
  background: var(--gs-bottom-callout-gold-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(5, 26, 85, 0.2);
}

@media (max-width: 767px) {
  .gs-bottom-callout {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    border-radius: 18px;
  }

  .gs-bottom-callout__inner {
    gap: 12px;
    padding: 18px 18px 17px;
    padding-right: 40px;
  }

  .gs-bottom-callout__icon {
    width: 40px;
    height: 40px;
  }

  .gs-bottom-callout__icon svg {
    width: 21px;
    height: 21px;
  }

  .gs-bottom-callout__eyebrow {
    font-size: 11px;
  }

  .gs-bottom-callout__body {
    font-size: 14px;
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gs-bottom-callout,
  .gs-bottom-callout__close,
  .gs-bottom-callout__button {
    transition: none;
  }
}

body.gs-mobile-nav-open .gs-bottom-callout,
body.fl-builder-edit .gs-bottom-callout {
  display: none !important;
}

.gs-bottom-callout-modal[hidden] {
  display: none !important;
}

.gs-bottom-callout-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: "DM Sans", Arial, sans-serif;
}

.gs-bottom-callout-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 28, 88, 0.58);
  backdrop-filter: blur(3px);
}

.gs-bottom-callout-modal__panel {
  position: relative;
  width: min(650px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(34px, 5vw, 54px);
  padding-right: clamp(34px, 5vw, 58px);
  border-radius: 10px;
  background: #fff;
  border-top: 8px solid var(--gs-bottom-callout-gold);
  box-shadow: 0 28px 80px rgba(0, 18, 64, 0.34);
  color: var(--gs-bottom-callout-text);
}

.gs-bottom-callout-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 26, 85, 0.08);
  color: var(--gs-bottom-callout-navy);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.gs-bottom-callout-modal__close:hover,
.gs-bottom-callout-modal__close:focus-visible {
  background: var(--gs-bottom-callout-navy);
  color: #fff;
}

.gs-bottom-callout-modal__heading {
  margin: 0 0 20px;
  max-width: 560px;
  color: var(--gs-bottom-callout-navy) !important;
  font-size: clamp(34px, 4.4vw, 50px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.gs-bottom-callout-modal__body p {
  margin: 0 0 16px;
  color: var(--gs-bottom-callout-text);
  font-size: clamp(17px, 2vw, 19px);
  font-weight: 500;
  line-height: 1.55;
}

.gs-bottom-callout-modal__subheading {
  margin: 26px 0 0;
  color: var(--gs-bottom-callout-navy) !important;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.gs-bottom-callout-modal__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
  padding: 18px;
  border-radius: 3px;
  background: var(--gs-bottom-callout-gold);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  box-shadow: none;
}

.gs-bottom-callout-modal__button:hover,
.gs-bottom-callout-modal__button:focus-visible {
  background: var(--gs-bottom-callout-navy);
  color: #fff !important;
  transform: translateY(-1px);
}

.gs-bottom-callout-modal__close:focus-visible,
.gs-bottom-callout-modal__button:focus-visible {
  outline: 3px solid rgba(171, 144, 60, 0.5);
  outline-offset: 3px;
}

body.gs-bottom-callout-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .gs-bottom-callout-modal {
    align-items: flex-end;
    padding: 14px;
  }

  .gs-bottom-callout-modal__panel {
    max-height: calc(100vh - 28px);
    padding: 30px 22px 24px;
    padding-right: 42px;
    border-radius: 20px;
  }
}
