/* =========================
   HEADER / NAV (ART1)
========================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(100deg, #041126 0%, #081530 52%, #061126 100%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* =========================
   LOGO
========================= */

.logo img {
  height: 60px;
  width: auto;
}

/* =========================
   NAV DESKTOP
========================= */

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a,
.nav__trigger {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  transition:
    opacity 0.25s ease,
    color 0.25s ease;
}

.nav a:hover,
.nav__trigger:hover {
  color: #fff;
  opacity: 0.86;
}

/* =========================
   DROPDOWN
========================= */

.nav__item {
  position: relative;
}

.nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav__trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.72;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 260px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(5, 16, 36, 0.96);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s ease;
}

.nav__dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  height: 20px;
}

.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav__dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav__dropdown a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.nav__dropdown a::after {
  content: "→";
  color: var(--primary-3);
  opacity: 0.78;
}

/* =========================
   CTA
========================= */

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(27, 98, 255, 0.22);
}

/* =========================
   MOBILE TOGGLE
========================= */

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

/* =========================
   MOBILE NAV
========================= */

.mobile-nav {
  display: none;
  padding: 0 0 20px;
}

.mobile-nav__panel {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-nav__panel a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.mobile-nav__label {
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--primary-3);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mobile-nav__sub {
  padding-left: 14px;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.94rem;
  font-weight: 550 !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 860px) {
  .nav,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }
}

/* =========================
   FOOTER
========================= */
.footer {
  color: rgba(255, 255, 255, 0.74);
  border-top: 2px solid rgba(10, 215, 255, 0.5);
  background: linear-gradient(100deg, #041126 0%, #081530 52%, #061126 100%);
}

.footer__main {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 72px;
  padding: 66px 0 34px;
}

.footer__brand p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.footer h4 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.footer ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li a {
  font-size: 1.02rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 32px 0 38px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.85s ease,
    transform 0.85s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer__raven {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.85;
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

.footer__raven:hover {
  opacity: 1;
  color: var(--color-primary, #134f84);
}

/* =========================
   WHATSAPP FLOAT BUTTON
========================= */

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 9998;

  display: inline-flex;
  align-items: center;
  gap: 12px;

  min-height: 56px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;

  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(4, 17, 38, 0.96), rgba(8, 21, 48, 0.96)),
    linear-gradient(135deg, #1b62ff, #12c7de);

  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 45px rgba(4, 17, 38, 0.28),
    0 0 0 1px rgba(18, 199, 222, 0.08);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;

  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(27, 98, 255, 0.55), rgba(18, 199, 222, 0.55));
  opacity: 0;
  transition: opacity 0.24s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  border-color: rgba(18, 199, 222, 0.36);
  box-shadow:
    0 24px 56px rgba(4, 17, 38, 0.34),
    0 0 32px rgba(18, 199, 222, 0.18);
}

.whatsapp-float:hover::before {
  opacity: 1;
}

.whatsapp-float__icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.25);
}

.whatsapp-float__icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.whatsapp-float__text {
  white-space: nowrap;
}

/* Mobile */
@media (max-width: 560px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    min-height: 54px;
    padding: 10px;
  }

  .whatsapp-float__text {
    display: none;
  }

  .whatsapp-float__icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .whatsapp-float__icon svg {
    width: 24px;
    height: 24px;
  }
}