.topbar {
  color: rgba(255, 255, 255, 0.82);
  background: #07131f;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 40px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 20px;
  line-height: 1;
  white-space: nowrap;
}

.topbar-item + .topbar-item {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.topbar-item svg {
  flex-shrink: 0;
  vertical-align: middle;
  opacity: 0.7;
}

.topbar a:hover,
.topbar a:focus-visible {
  color: #9ee8e4;
}

.topbar a:hover svg,
.topbar a:focus-visible svg {
  opacity: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 19, 31, 0.97);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition: box-shadow var(--ease), transform var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  object-fit: contain;
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.brand-text small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-nav > a,
.nav-menu > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 15px;
  border-radius: var(--radius);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #9ee8e4;
  background: rgba(158, 232, 228, 0.1);
}

.nav-menu {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 250px;
  padding: 10px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 19, 31, 0.98);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
}

.mega-menu a {
  padding: 12px 16px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background var(--ease), color var(--ease);
}

.mega-menu a:hover,
.mega-menu a:focus-visible {
  color: #9ee8e4;
  background: rgba(158, 232, 228, 0.1);
}

.nav-menu:hover .mega-menu,
.nav-menu:focus-within .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  color: #ffffff;
  background: var(--cyan);
  border-radius: var(--radius);
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 136, 145, 0.25);
  transition: transform var(--ease), background var(--ease);
}

.header-button:hover,
.header-button:focus-visible {
  background: var(--cyan-dark);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
  transition: transform var(--ease), opacity var(--ease);
}

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

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

.site-footer {
  padding: 72px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(7, 19, 31, 0.98), rgba(14, 42, 71, 0.98)),
    #07131f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 0.7fr);
  gap: clamp(28px, 4vw, 58px);
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small {
  color: #ffffff;
}

.site-footer p {
  max-width: 430px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer h3 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 1rem;
}

.site-footer a:not(.brand) {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #9ee8e4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
}

@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(25, 168, 91, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(25, 168, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(25, 168, 91, 0); }
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(25, 168, 91, 0.45);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pulse 2.2s infinite;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #19a85b;
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 16px 40px rgba(25, 168, 91, 0.55);
  animation: none;
}

.floating-whatsapp svg {
  display: block;
}
