html {
  height: 100%;
  width: 100%;
}

/* Honeypot — off-screen, never visible to real users, but present in DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }

#sticky-cta {
  display: none;
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 100;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  background: var(--primary);
  color: #11131a;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(214,181,109,.38), 0 2px 8px rgba(0,0,0,.28);
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.2s;
  pointer-events: none;
}

#sticky-cta.cta-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#sticky-cta:hover {
  background: var(--primary-hover);
}

@media (min-width: 901px) {
  #sticky-cta {
    display: none !important;
  }
}

@media (max-width: 900px) {
  #sticky-cta {
    display: block;
  }
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.25rem;
  background: rgba(10, 14, 24, 0.97);
  border-top: 1px solid rgba(214, 181, 109, 0.22);
  backdrop-filter: blur(14px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#cookie-banner.banner-visible {
  transform: translateY(0);
}

#cookie-banner.banner-hide {
  transform: translateY(110%);
  transition: transform 0.35s ease-in;
}

#cookie-banner-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#cookie-text {
  flex: 1;
  margin: 0;
  font-size: .9rem;
  color: #aab3c2;
  line-height: 1.55;
}

#cookie-text a {
  color: #f6d994;
  text-decoration: underline;
}

#cookie-actions {
  display: flex;
  gap: .65rem;
  flex-shrink: 0;
}

.cookie-btn {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: .55rem 1.2rem;
  font-size: .88rem;
  font-weight: 700;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.cookie-btn.primary {
  background: var(--primary);
  color: #11131a;
}

.cookie-btn.primary:hover {
  background: var(--primary-hover);
}

.cookie-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #c8d0dc;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 600px) {
  #cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }

  #cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}

.legal-section {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 3.5rem 0 2.5rem;
}

.legal-section h3 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f6d994;
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 2rem;
}

.legal-block {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.legal-label {
  margin: 0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6b7789;
  line-height: 1.4;
}

.legal-value {
  margin: 0;
  font-size: .93rem;
  color: #c4ccd8;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

.privacy-content h4 {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #c4ccd8;
  margin-top: 1.75rem;
  margin-bottom: .4rem;
}

.privacy-content p {
  margin: 0;
  font-size: .93rem;
  color: #8f9bad;
  line-height: 1.7;
}

.privacy-content p strong {
  color: #b9c3d1;
  font-weight: 600;
}

.privacy-content p a {
  color: #f6d994;
  text-decoration: underline;
}

#back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 99;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 16, 26, 0.88);
  color: #c4ccd8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, color 0.2s;
  pointer-events: none;
}

#back-to-top.btt-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#back-to-top:hover {
  background: rgba(214, 181, 109, 0.15);
  border-color: rgba(214, 181, 109, 0.4);
  color: #f6d994;
}

@media (max-width: 900px) {
  #back-to-top {
    bottom: 5rem;
  }
}

.lang-toggle {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #dce3ef;
  font-size: .78rem;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .07em;
  padding: .28rem .75rem;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s, opacity 0.15s;
  white-space: nowrap;
  margin: 0;
}

.lang-toggle:hover {
  background: rgba(214, 181, 109, 0.14);
  border-color: rgba(214, 181, 109, 0.45);
  color: #f6d994;
}

.lang-toggle.switching {
  opacity: 0.35;
  pointer-events: none;
}

/* ── LinkedIn icon — nav ─────────────────────────────────────────────────── */
.nav-linkedin {
  display: flex;
  align-items: center;
  color: #8a96a8;
  opacity: 0.75;
  transition: color 0.2s, opacity 0.2s;
  line-height: 1;
}

.nav-linkedin:hover {
  color: #0a66c2;
  opacity: 1;
}

/* ── LinkedIn link — footer ──────────────────────────────────────────────── */
.footer-linkedin {
  color: #8a96a8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-linkedin:hover {
  color: #0a66c2;
}
