/* Entrada — persistent page chrome: nav, the docked CTA, footer. */

/* --- Nav ----------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: 64px;
  display: flex;
  align-items: center;
  /* Transparent over the hero, solid once you have left it. */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur-base) var(--ease-camera),
    border-color var(--dur-base) var(--ease-camera),
    backdrop-filter var(--dur-base) var(--ease-camera);
}

.nav.is-solid {
  background: rgba(10, 12, 15, 0.82);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

.nav__in {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  margin-right: -0.26em;   /* optical: kill the trailing tracked space */
}
.logo b { font-weight: 300; color: var(--gold); }

.nav__right { display: flex; align-items: center; gap: clamp(10px, 2vw, 20px); }

.nav__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease-camera);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--gold);
  scale: 0 1;
  transform-origin: 0 50%;
  transition: scale var(--dur-base) var(--ease-camera);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { scale: 1 1; }

.lang-btn {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 7px 13px;
  min-height: 36px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    border-color var(--dur-fast) var(--ease-camera),
    color var(--dur-fast) var(--ease-camera);
}
.lang-btn:hover { border-color: var(--gold); color: var(--gold); }

.nav .btn { padding: 10px 16px; min-height: 40px; font-size: 14px; }

@media (max-width: 600px) {
  .nav__link { display: none; }
  .nav .btn { display: none; }   /* the dock carries the CTA on phones */
}

/* --- The docked CTA -------------------------------------------------------
   Hard constraint: the offer is never more than one scroll from view. The
   primary CTA is painted in the hero at load; from 72% through the flight
   this bar takes over and stays for the rest of the page. */

.cta-dock {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 55;
  background: rgba(10, 12, 15, 0.9);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-top: 1px solid var(--line);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  translate: 0 110%;
  transition: translate var(--dur-slow) var(--ease-camera);
}
.cta-dock.is-docked { translate: 0 0; }

.cta-dock__in {
  max-width: var(--measure);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cta-dock__text {
  font-size: 14px;
  color: var(--ink-dim);
  line-height: 1.3;
}
.cta-dock__text b { color: var(--gold); font-weight: 600; }

.cta-dock .btn { padding: 12px 20px; min-height: 44px; font-size: 14px; flex: none; }

@media (max-width: 560px) {
  .cta-dock__in { gap: 12px; }
  .cta-dock__text { font-size: 12.5px; }
  .cta-dock .btn { padding: 12px 16px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-dock { transition: none; }
}

/* --- Footer -------------------------------------------------------------- */

.footer {
  padding: 56px 0 calc(96px + env(safe-area-inset-bottom));  /* clears the dock */
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer__in {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__links { display: flex; gap: 22px; }

/* The compliance disclosure. Not boilerplate — it is the one claim no
   $29/mo app can make, so it is set to be read, not to be skipped. */
.disclosure {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.65;
  color: #6E7783;
  max-width: 78ch;
}
