/* ============================================================
   APPROVE IT — components.css
   Logo, nav, buttons, inputs, badges, shared building blocks
   ============================================================ */

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.logo .dot { color: var(--turquoise-deep); }
.logo.light { color: var(--white); }
.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Nav ---------- */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(244, 241, 234, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(4, 43, 49, 0.07);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.65;
  text-decoration: none;
  transition: opacity 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  inset-inline-start: 0;
  inset-inline-end: 100%;
  height: 1.5px;
  background: var(--turquoise-deep);
  transition: inset-inline-end 0.25s ease;
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { inset-inline-end: 0; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ---------- Language Switcher ---------- */
.lang-switcher {
  background: transparent;
  border: 1px solid rgba(4, 43, 49, 0.1);
  border-radius: 100px;
  padding: 7px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-switcher:hover {
  background: var(--white);
  border-color: var(--ink);
}
.lang-switcher svg {
  width: 14px;
  height: 14px;
  opacity: 0.6;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: var(--ink);
  color: var(--white);
  padding: 11px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--turquoise-deep);
  transform: translateY(-1px);
}
.btn-primary svg { width: 13px; height: 13px; }

.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(4, 43, 49, 0.08);
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.icon-btn:hover { background: var(--white); }
.icon-btn:active { transform: scale(0.95); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Eyebrows & section headers ---------- */
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--turquoise-deep);
  padding: 6px 14px;
  background: var(--turquoise-soft);
  border-radius: 100px;
  margin-bottom: 20px;
}

.h2 {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 24px;
}
.h2 .serif {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-soft);
}
.h2 .accent {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  color: var(--turquoise-deep);
}

.sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 580px;
  margin-bottom: 60px;
}

.section {
  position: relative;
  z-index: 1;
  padding: 110px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

/* ---------- Footer (shared) ---------- */
footer.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.45);
  padding: 38px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  font-weight: 500;
}
footer.site-footer a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
footer.site-footer a:hover { color: var(--turquoise); }
.footer-links { display: flex; gap: 28px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 30px;
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--ink);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 40px rgba(4, 43, 49, 0.2);
  z-index: 200;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error {
  background: var(--coral);
}

/* ---------- Mobile nav adjustments ---------- */
@media (max-width: 968px) {
  nav.site-nav { padding: 14px 18px; }
  .nav-links { display: none; }
  .section { padding: 70px 18px; }
  footer.site-footer {
    flex-direction: column;
    text-align: center;
    padding: 30px 18px;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
  }
}
