/* ── HEADER / NAVBAR ── */
.header-top {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  padding: 0.4rem 0;
  display: none;
}
@media (min-width: 768px) { .header-top { display: block; } }
.header-top-inner { display: flex; align-items: center; gap: 1.5rem; }
.header-top-inner span { display: flex; align-items: center; gap: 0.4rem; }
.header-top-inner svg { flex-shrink: 0; }

.navbar {
  background: var(--purple);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(91,45,142,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-size: 1rem; font-weight: 800; color: #fff; line-height: 1.1; }
.logo-sub { font-size: 0.65rem; color: rgba(255,255,255,0.7); font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.nav-links a.active { color: #fff; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.btn-outline-nav {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.btn-outline-nav:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

/* USER MENU */
.nav-user-menu { position: relative; }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.nav-user-btn:hover { background: rgba(255,255,255,0.25); }
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  min-width: 200px;
  overflow: hidden;
  display: none;
  border: 1px solid var(--gray-200);
  z-index: 2000;
}
.nav-user-dropdown.show { display: block; }
.nav-user-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: background 0.15s;
}
.nav-user-dropdown a:hover { background: var(--gray-50); color: var(--purple); }
.nav-user-dropdown a.text-red { color: var(--red); }
.nav-user-dropdown a.text-red:hover { background: #FEE2E2; color: #B91C1C; }
.dropdown-divider { height: 1px; background: var(--gray-200); margin: 0.25rem 0; }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 0 8px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── FOOTER ── */
.footer-trust-bar {
  background: var(--navy);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
}
.trust-item svg { color: var(--teal); flex-shrink: 0; }

.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); }
.footer-main { padding: 4rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.logo-icon-footer {
  width: 44px;
  height: 44px;
  background: var(--purple);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}
.footer-logo-main { font-size: 0.9rem; font-weight: 800; color: #fff; }
.footer-logo-sub { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.footer-brand p { font-size: 0.83rem; line-height: 1.75; margin-bottom: 1.25rem; }

.footer-newsletter strong { font-size: 0.82rem; color: rgba(255,255,255,0.9); }
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.6rem 0.9rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.82rem;
  font-family: var(--font);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--teal); outline: none; }
.newsletter-form button {
  padding: 0.6rem 1rem;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--teal-dark); }

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.83rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--teal); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.footer-contact > div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}

.footer-social { display: flex; gap: 0.6rem; }
.social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.social-btn.fb { background: #1877F2; }
.social-btn.tw { background: #1DA1F2; }
.social-btn.ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-btn.yt { background: #FF0000; }
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.8); }

/* ── RESPONSIVE NAV ── */
@media (max-width: 1024px) {
  .nav-links a { font-size: 0.78rem; padding: 0.4rem 0.5rem; }
}
@media (max-width: 900px) {
  .nav-hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.9rem; }
  .btn-outline-nav span { display: none; }
  .btn-outline-nav { padding: 0.4rem 0.65rem; }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1/-1; }
  .trust-items { gap: 1rem; justify-content: flex-start; }
  .footer-bottom .container { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-social { flex-wrap: wrap; }
  .trust-items { gap: 0.75rem; }
}
