/* ─────────────────────────────────────────────
   Shared UI Components
───────────────────────────────────────────── */

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 99px;
  font-family: var(--f-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--ac) 0%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 4px 20px var(--ac-glow);
}
.btn--primary:hover { box-shadow: 0 8px 36px var(--ac-glow); }

.btn--ghost {
  background: transparent;
  color: var(--tx-1);
  border-color: var(--bd-lt);
}
.btn--ghost:hover {
  border-color: var(--ac-lt);
  color: var(--ac-lt);
  background: var(--ac-fill);
}

/* ── Pill / tag ── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ac-fill);
  border: 1px solid var(--ac-border);
  color: var(--ac-lt);
}

/* ── Eyebrow label ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ac-lt);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--ac-lt);
  flex-shrink: 0;
}

/* ── Section headings ── */
.h-xl {
  font-family: var(--f-head);
  font-size: clamp(2.8rem, 6.5vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.h-lg {
  font-family: var(--f-head);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.h-md {
  font-family: var(--f-head);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
}
.h-sm {
  font-family: var(--f-head);
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.grad {
  background: linear-gradient(135deg, #fff 0%, var(--ac-lt) 55%, var(--gd-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bd-lt) 30%, var(--bd-lt) 70%, transparent);
}

/* ── Scroll-reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ── Navigation ── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 26, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--bd);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 10;
}
.nav__logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.nav__logo-name {
  font-family: var(--f-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #fff 0%, var(--ac-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}
.nav__links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--tx-2);
  transition: color 0.2s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--ac-lt);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--tx-1); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }

/* CTA button */
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border-radius: 99px;
  border: 1px solid var(--ac-border);
  background: var(--ac-fill);
  color: var(--ac-lt);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav__cta:hover {
  background: var(--ac);
  border-color: var(--ac);
  color: #fff;
  box-shadow: 0 4px 20px var(--ac-glow);
  transform: translateY(-1px);
}

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  z-index: 10;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--tx-1);
  border-radius: 2px;
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 26, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
    z-index: 5;
  }
  .nav__links.open { opacity: 1; pointer-events: all; }
  .nav__links a { font-size: 1.4rem; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ── Footer ── */
.footer {
  padding-block: var(--sp-7) var(--sp-5);
  border-top: 1px solid var(--bd);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--bd);
  margin-bottom: var(--sp-4);
}
.footer__brand { max-width: 260px; }
.footer__logo-name {
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--ac-lt) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-2);
}
.footer__tagline {
  color: var(--tx-2);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}
.footer__social {
  display: flex;
  gap: 10px;
}
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tx-2);
  transition: all 0.25s var(--ease);
}
.footer__social a:hover {
  border-color: var(--ac-lt);
  color: var(--ac-lt);
  background: var(--ac-fill);
}
.footer__col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--tx-1);
  margin-bottom: var(--sp-3);
}
.footer__col-links { display: flex; flex-direction: column; gap: 12px; }
.footer__col-links a {
  color: var(--tx-2);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer__col-links a:hover { color: var(--ac-lt); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer__copy { color: var(--tx-3); font-size: 0.8rem; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--tx-3); font-size: 0.8rem; transition: color 0.2s; }
.footer__legal a:hover { color: var(--tx-2); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .footer__brand { grid-column: span 2; max-width: none; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
}

/* ── WhatsApp floating button ── */
.wa-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.wa-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}
@media (max-width: 600px) {
  .wa-btn { bottom: 20px; right: 20px; width: 48px; height: 48px; }
}
