:root {
  --guest-header-height: 72px;
}

.guest-site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  width: 100%;
  min-height: var(--guest-header-height);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .06);
  backdrop-filter: blur(18px);
}

.guest-site-header__inner {
  width: min(1180px, calc(100% - 2rem));
  min-height: var(--guest-header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.guest-site-header__brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: #15803d;
  text-decoration: none;
}

.guest-site-header__brand img {
  display: block;
  width: auto;
  max-width: 170px;
  max-height: 38px;
}

.guest-site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  margin-left: auto;
}

.guest-site-header__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .55rem .78rem;
  border-radius: 10px;
  color: #475569;
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.guest-site-header__link:hover,
.guest-site-header__link:focus-visible,
.guest-site-header__link.is-active {
  color: #15803d;
  background: #f0fdf4;
}

.guest-site-header__link.is-active::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .28rem;
  height: 2px;
  border-radius: 99px;
  background: #22c55e;
}

.guest-site-header__actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
}

.guest-site-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .55rem 1rem;
  border: 1px solid rgba(21, 128, 61, .2);
  border-radius: 999px;
  background: #fff;
  color: #166534;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.guest-site-header__button--primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #15803d);
  box-shadow: 0 7px 18px rgba(34, 197, 94, .22);
}

.guest-site-header__button:hover,
.guest-site-header__button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(21, 128, 61, .18);
}

.guest-site-header__toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 11px;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
}

.guest-site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0, rgba(34, 197, 94, .16), transparent 30%),
    radial-gradient(circle at 95% 100%, rgba(6, 182, 212, .12), transparent 28%),
    #0f172a;
  color: #cbd5e1;
}

.guest-site-footer__main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(145px, .75fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(3.5rem, 7vw, 5.25rem) 0 3rem;
}

.guest-site-footer__brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .35rem .65rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
}

.guest-site-footer__brand img {
  display: block;
  width: auto;
  max-width: 165px;
  max-height: 36px;
}

.guest-site-footer__brand-column > p {
  max-width: 410px;
  margin: 1.15rem 0 1.35rem;
  color: #94a3b8;
  font-size: .86rem;
  line-height: 1.75;
}

.guest-site-footer__support {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #f8fafc;
  font-size: .8rem;
  font-weight: 750;
  text-decoration: none;
}

.guest-site-footer__support > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(37, 211, 102, .15);
  color: #4ade80;
  font-size: 1.05rem;
}

.guest-site-footer__support span,
.guest-site-footer__support small {
  display: block;
}

.guest-site-footer__support small {
  margin-bottom: .08rem;
  color: #64748b;
  font-size: .67rem;
  font-weight: 700;
}

.guest-site-footer__column h2 {
  margin: .25rem 0 1.05rem;
  color: #fff;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.guest-site-footer__column a {
  display: block;
  width: fit-content;
  margin: .72rem 0;
  color: #94a3b8;
  font-size: .81rem;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.guest-site-footer__column a:hover,
.guest-site-footer__column a:focus-visible,
.guest-site-footer__support:hover,
.guest-site-footer__support:focus-visible {
  color: #86efac;
  transform: translateX(2px);
}

.guest-site-footer__bottom {
  width: min(1180px, calc(100% - 2rem));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #64748b;
  font-size: .74rem;
}

.guest-site-footer__status {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.guest-site-footer__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .12);
}

/* One coordinated bottom-utility system for every landing page. */
html body .lp-sticky-cta {
  right: 1rem !important;
  bottom: 1rem !important;
  left: 1rem !important;
  width: min(1180px, calc(100% - 2rem)) !important;
  min-height: 64px;
  margin: 0 auto !important;
  padding: .72rem .9rem !important;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
}

html body .lp-top-btn {
  right: 1.25rem !important;
  bottom: calc(1.25rem + var(--ap-cookie-offset, 0px) + var(--ap-sticky-offset, 0px)) !important;
  left: auto !important;
}

html body .lp-wa-btn {
  right: 1.25rem !important;
  bottom: calc(4.65rem + var(--ap-cookie-offset, 0px) + var(--ap-sticky-offset, 0px)) !important;
}

body.cookie-consent-open .lp-sticky-cta,
body.global-footer-in-view .lp-sticky-cta {
  transform: translateY(180%) !important;
}

/* Compact consent card: visible without covering the entire page width. */
.cookie-consent-banner {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10050;
  width: min(430px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: .9rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(15, 23, 42, .97);
  color: #f8fafc;
  box-shadow: 0 22px 55px rgba(15, 23, 42, .32);
  opacity: 0;
  transform: translateY(20px) scale(.98);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  backdrop-filter: blur(18px);
}

.cookie-consent-banner.cookie-consent-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Keep the landing CTA from competing with consent on a visitor's first view. */
.cookie-consent-banner__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(34, 197, 94, .15);
  color: #86efac;
  font-size: 1.05rem;
}

.cookie-consent-banner__content {
  min-width: 0;
}

.cookie-consent-banner strong {
  display: block;
  margin-bottom: .22rem;
  color: #fff;
  font-size: .92rem;
}

.cookie-consent-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: .78rem;
  line-height: 1.55;
}

.cookie-consent-banner a {
  color: #86efac;
  font-weight: 700;
  text-underline-offset: 2px;
}

.cookie-consent-banner__actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .1rem;
}

.cookie-consent-banner__accept {
  min-height: 38px;
  padding: .55rem 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #15803d);
  color: #fff;
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent-banner__policy {
  padding: .45rem .6rem;
  font-size: .76rem;
  text-decoration: none;
}

@media (max-width: 930px) {
  .guest-site-header__inner {
    flex-wrap: wrap;
    gap: 0;
    padding: .75rem 0;
  }

  .guest-site-header__toggle {
    display: inline-flex;
  }

  .guest-site-header__nav,
  .guest-site-header__actions {
    display: none;
    width: 100%;
  }

  .guest-site-header.is-open .guest-site-header__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .35rem;
    margin-top: .8rem;
    padding-top: .8rem;
    border-top: 1px solid rgba(15, 23, 42, .08);
  }

  .guest-site-header.is-open .guest-site-header__actions {
    display: flex;
    padding-top: .65rem;
  }

  .guest-site-header__link {
    white-space: normal;
  }
}

@media (max-width: 780px) {
  .guest-site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guest-site-footer__brand-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .guest-site-header__inner {
    width: min(100% - 1.25rem, 1180px);
  }

  .guest-site-header__brand img {
    max-width: 145px;
    max-height: 34px;
  }

  .guest-site-header.is-open .guest-site-header__nav {
    grid-template-columns: 1fr;
  }

  .guest-site-header.is-open .guest-site-header__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-consent-banner {
    right: .75rem;
    bottom: .75rem;
    width: calc(100vw - 1.5rem);
    grid-template-columns: 36px minmax(0, 1fr);
    gap: .7rem;
    padding: .85rem;
    border-radius: 16px;
  }

  .cookie-consent-banner__icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .cookie-consent-banner__actions {
    grid-column: 1 / -1;
  }

  .cookie-consent-banner__accept {
    flex: 1;
  }

  .guest-site-footer__main {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 3rem 0 2rem;
  }

  .guest-site-footer__brand-column {
    grid-column: auto;
    padding-bottom: .6rem;
  }

  .guest-site-footer__column {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .guest-site-footer__column h2 {
    margin-bottom: .7rem;
  }

  .guest-site-footer__column a {
    margin: .58rem 0;
  }

  .guest-site-footer__bottom {
    min-height: 82px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  html body .lp-sticky-cta {
    right: .65rem !important;
    bottom: .65rem !important;
    left: .65rem !important;
    width: calc(100% - 1.3rem) !important;
    border-radius: 16px;
  }

  html body .lp-top-btn,
  html body .lp-wa-btn {
    right: .85rem !important;
  }
}
