:root {
  --public-shell-text: #11203b;
  --public-shell-text-soft: #52627d;
  --public-shell-primary: #1f6fff;
  --public-shell-accent: #11c4a0;
}

.public-shell-container {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

.site-header.public-shell-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
  pointer-events: none;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.floating-nav {
  pointer-events: auto;
  min-height: 65px;
  max-height: 70px;
  margin: 0 auto;
  padding: 8px 10px 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(180, 176, 176, 0.35);
  border-radius: 999px;
  box-shadow: 0 18px 45px rgba(15, 35, 75, 0.10);
  transition: min-height 220ms ease, padding 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled .floating-nav {
  min-height: 54px;
  padding: 7px 9px 7px 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(15, 35, 75, 0.12);
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: inherit;
  text-decoration: none;
}

.nav-brand img {
  width: auto;
  height: 50px;
  margin-top: -5px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-links a {
  color: var(--public-shell-text-soft);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--public-shell-text);
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background-color: #31bb45;
  border-radius: 25px;
  padding: 2px 20px;
  color: #fff !important;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.nav-whatsapp:hover {
  color: #11203b !important;
}

.nav-whatsapp-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  background-image: url("/static/onpage/img/WhatsApp.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.nav-cta {
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f6fff 0%, #2d3433 100%);
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(31, 111, 255, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 28px rgba(31, 111, 255, 0.28);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 111, 255, 0.08);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 4px;
  background: #11203b;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.mobile-floating-menu {
  pointer-events: auto;
  display: none;
  width: min(100%, 430px);
  margin: 10px auto 0;
  padding: 10px;
  border: 1px solid rgba(17, 32, 59, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 18px 45px rgba(15, 35, 75, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mobile-floating-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  color: var(--public-shell-text-soft);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
}

.mobile-floating-menu a:hover {
  background: rgba(31, 111, 255, 0.07);
  color: var(--public-shell-text);
}

.mobile-floating-menu .mobile-cta {
  margin-top: 6px;
  justify-content: center;
  background: linear-gradient(135deg, #1f6fff 0%, #11c4a0 100%);
  color: #ffffff !important;
  font-weight: 600;
}

.minimal-footer {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid rgba(17, 32, 59, 0.08);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.minimal-footer-inner {
  width: min(100% - 40px, 1180px);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.minimal-footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.minimal-footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.minimal-footer-logo img {
  width: auto;
  height: 38px;
  object-fit: contain;
}

.minimal-footer-copy {
  margin: 0;
  color: #6b7890;
  font-size: 0.78rem;
  line-height: 1.4;
  white-space: nowrap;
}

.minimal-footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.minimal-footer-links a {
  color: var(--public-shell-text-soft);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease;
}

.minimal-footer-links a:hover {
  color: var(--public-shell-text);
}

@media (max-width: 860px) {
  .nav-whatsapp {
    font-size: 0.74rem;
  }

  .nav-whatsapp-icon {
    width: 16px;
    height: 16px;
  }

  .floating-nav {
    width: min(100%, 720px);
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a,
  .nav-cta {
    font-size: 0.74rem;
  }

  .nav-cta {
    padding: 0 14px;
  }
}

@media (max-width: 820px) {
  .minimal-footer-inner {
    min-height: auto;
    padding: 20px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .minimal-footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .minimal-footer-copy {
    white-space: normal;
  }

  .minimal-footer-links {
    justify-content: flex-start;
    gap: 14px 20px;
  }
}

@media (max-width: 640px) {
  .site-header.public-shell-header {
    top: 8px;
    padding: 8px 0;
    z-index: 999;
  }

  .floating-nav {
    width: 100%;
    min-height: 56px;
    max-height: 65px;
    padding: 8px 9px 8px 13px;
  }

  .nav-brand img {
    height: 40px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-floating-menu {
    display: none;
    position: relative;
    z-index: 1000;
  }

  .mobile-floating-menu.is-open {
    display: grid;
    gap: 4px;
  }

  .minimal-footer-inner,
  .minimal-footer-left,
  .minimal-footer-links {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .minimal-footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Shared public footer ordering */
.public-shell-footer-inner {
  min-height: auto;
  padding: 22px 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.public-shell-footer .minimal-footer-links {
  justify-content: center;
}

.public-shell-footer-copy {
  white-space: normal;
}
