/* Primary actions share the finish of the desktop calendar's Continue button. */
:is(#header, main, footer) .renduva-cta {
  font-family: var(--renduva-font);
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
}

:is(#header, main, footer) .renduva-cta:not(:disabled) {
  color: white;
  background:
    linear-gradient(110deg, #00cdea, #0876ad 11%, #0866df 36%, #393ae5 72%, #9842e6) padding-box,
    linear-gradient(110deg, #53dbed, #509cfc 36%, #7777fa 72%, #ba7bf3) border-box;
  border: 1px solid transparent;
  border-radius: .95rem;
  box-shadow: inset 0 1px 4px #ffffff20, 0 0 18px #1868eb40;
  filter: none;
}

:is(#header, main, footer) .renduva-cta:disabled {
  border: 1px solid transparent;
  background:
    linear-gradient(110deg, #125a75, #29417d 56%, #50387b) padding-box,
    linear-gradient(110deg, #38788a, #516393 56%, #766197) border-box;
}

:is(#header, main, footer) .renduva-cta:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

#header .renduva-cta .dot { display: none; }
#header .head-actions .renduva-cta:any-link {
  min-height: 3rem;
  padding: .6875rem 1.65rem;
  font-size: 1rem;
  letter-spacing: normal;
}

.footer-links { align-items: center; }
.footer-links .renduva-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: 1.1rem;
}

/* The booking links put the brightest cyan and magenta at the ends of the capsule. */
@media (forced-colors: none) {
  :is(#header, main, footer) .renduva-cta:not(:disabled) {
    transition: box-shadow 200ms ease, transform 200ms ease, filter 200ms ease;
    --cta-rim: inset 0 1px 2px #f5faff70, inset 0 -1px 3px #9fafef45;
  }

  :is(#header, #inicio, #quienes, #metodo) .renduva-cta:not(:disabled) {
    background:
      radial-gradient(ellipse 85% 95% at 50% 55%, #001f6e50, transparent 75%) padding-box,
      linear-gradient(180deg, #ffffff0e, transparent 22%, #09054519 76%, #ffffff10) padding-box,
      linear-gradient(103deg, #00efed 0%, #0094cb 12%, #0064b9 23%, #0640de 44%,
        #2614bf 64%, #7914e2 82%, #c017f2 93%, #f13aee 100%) padding-box,
      linear-gradient(112deg, #a2ffff, #12eaff 20%, #5899ff 47%, #ca92ff 76%, #ffa6fa) border-box;
    border: 1px solid transparent;
    border-radius: 999px;
    box-shadow: var(--cta-rim), -4px 0 13px -6px #00d9ffb8,
      4px 0 13px -6px #d82df5b8, 0 3px 12px -5px #1816b8b0;
    color: #fff;
    font-weight: 800;
    letter-spacing: -.025em;
    text-shadow: 0 1px 1px #07145285;
  }

  @media (hover: hover) {
    :is(#header, main, footer) .renduva-cta:not(:disabled):hover {
      transform: translateY(-2px);
      filter: saturate(1.3) brightness(1.08);
      box-shadow: var(--cta-rim), -5px 0 17px -6px #00d9ffd6,
        5px 0 17px -6px #d82df5cd, 0 4px 14px -5px #1816b8bf;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    :is(#header, main, footer) .renduva-cta:not(:disabled):is(:any-link, :enabled) {
      transition: none;
      transform: none;
    }
  }
}

@media (max-width: 760px), (max-width: 1100px) and (orientation: landscape) and (max-height: 540px) and (hover: none) and (pointer: coarse) {
  #header .head-actions .renduva-cta:any-link {
    min-height: 2.75rem;
    padding: .55rem clamp(.8rem, 3.5vw, 1.3rem);
    font-size: clamp(.875rem, 3.75vw, 1rem);
  }

  @media (hover: none) and (forced-colors: none) {
    :is(#header, main, footer) .renduva-cta:not(:disabled):hover {
      transform: none;
    }

    :is(#header, main, footer) .renduva-cta:not(:disabled):active {
      box-shadow: var(--cta-rim), -5px 0 17px -6px #00d9ffd6,
        5px 0 17px -6px #d82df5cd, 0 4px 14px -5px #1816b8bf;
    }
  }
}
