/* Components — nav, footer, buttons, glass, cards */

/* ========== GLASS ========== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 8px 32px rgba(11, 31, 63, 0.06);
}

.glass--dark {
  background: var(--glass-bg-dark);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* ========== ORBS ========== */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.orb--gold { background: radial-gradient(circle, #E8C77A 0%, transparent 70%); }
.orb--navy { background: radial-gradient(circle, #1A3A6B 0%, transparent 70%); }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-pill);
  letter-spacing: 0.01em;
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), background 300ms, color 300ms, border-color 300ms;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--navy-900);
  box-shadow: 0 8px 24px rgba(201, 162, 74, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 162, 74, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-900);
  border: 1.5px solid var(--navy-900);
}

.btn-ghost:hover {
  background: var(--navy-900);
  color: white;
}

.btn-ghost--white {
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost--white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 300ms var(--ease-out), border-color 300ms, box-shadow 300ms;
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(11, 31, 63, 0.04);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1280px;
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color 200ms;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-gold);
  transition: width 300ms var(--ease-out);
}

.nav__links a:hover { color: var(--gold-700); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { flex-shrink: 0; display: none; }

.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 101;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 300ms var(--ease-out);
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile menu overlay */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease-out);
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav__mobile-links a {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  transition: color 200ms;
}

.nav__mobile-links a:hover { color: var(--gold-700); }

@media (min-width: 1024px) {
  .nav__links { display: flex; }
  .nav__cta { display: flex; }
  .nav__hamburger { display: none; }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-900);
  color: white;
  position: relative;
}

.footer::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--gradient-gold);
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  transition: all 250ms var(--ease-out);
}

.footer__socials a:hover {
  border-color: var(--gold-500);
  color: var(--gold-400);
}

.footer__col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__col ul a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 200ms;
}

.footer__col ul a:hover { color: var(--gold-400); }

.footer__email {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  transition: color 200ms;
}

.footer__email:hover { color: var(--gold-400); }

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ========== CARDS ========== */
.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 300ms;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 31, 63, 0.1);
  border-color: rgba(201, 162, 74, 0.3);
}

.card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tinted);
  border-radius: var(--r-md);
  margin-bottom: 1.25rem;
  color: var(--gold-700);
}

/* ========== PROCESS CARDS ========== */
.process-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-lg);
  position: relative;
}

.process-number {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

/* ========== SERVICE CARD (services page) ========== */
.service-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.service-card__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  color: rgba(11, 31, 63, 0.04);
  pointer-events: none;
}

/* ========== VALUES ========== */
.value-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.value-item:last-child { border-bottom: none; }

.value-num {
  font-family: 'Satoshi', sans-serif;
  font-weight: 900;
  font-size: 0.875rem;
  color: var(--gold-700);
  min-width: 24px;
  padding-top: 0.125rem;
}

.value-text h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-chevron {
  width: 20px;
  height: 20px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ========== CTA BAND ========== */
.cta-band {
  background: var(--gradient-navy);
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
  overflow: hidden;
}

.cta-band h2 { color: white; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255, 255, 255, 0.65); margin-bottom: 2rem; }

/* ========== PAGE HERO ========== */
.page-hero {
  padding-top: 120px;
  padding-bottom: clamp(4rem, 8vw, 6rem);
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero--compact { padding-top: 140px; }
